Application Development using Microservices and Serverless Quiz Answers

Application Development using Microservices and Serverless Week 01 Quiz Answers

Graded Quiz: Introduction to MicroServices

Q1. Modern software development often uses which of the following along with the twelve-factor application methodology?

  • Databases deployed on VMs
  • Microservices
  • Monoliths
  • SaaS

Q2. In Factor 5: Build, release, run, which stage launches the application’s processes?

  • Run
  • Test
  • Build
  • Release

Q3. In the “What are Microservices?” video example, what happens when a service in the microservices system fails?

  • Developers build a new version of system
  • That service is scaled up
  • The rest of the application should still be functional
  • The application completely fails and stop running

Q4. Which of the following are features of microservices?

  • Each service in container
  • C​ode is updated more slowly
  • Different technology stacks per service
  • Services communicate via APIs

Q5. In SOA, the graphical user interfaces are an orchestration layer that does what?

  • C​onnects microservices together
  • Connect sequences of services to create complete business processes
  • Enable reuse of services across business processes
  • Create units of work

Q6. The main goal of both microservices and service-oriented architecture is to reuse services across an organization.

  • False
  • True

Q7. In Factor 8: Concurrency, why do applications run concurrent processes?

  • To handle logs
  • To more easily work with backing services
  • To handle increased load
  • All of the above

Q8. Which of the patterns for microservices loads one interface that never reloads?

  • Backend for Frontend (BFF)
  • Strangler pattern
  • Single page application (SPA)
  • Adapter microservices pattern

Q9. Which of the patterns for microservices enables customized user experiences for different channels like mobile and web?

  • Single page application (SPA)
  • Aggregate pattern
  • Backend for Frontend (BFF)
  • Strangler pattern

Q10. Which microservices pattern includes three steps: transform, coexist, eliminate?

  • Single page application (SPA)
  • Service discovery pattern
  • Strangler pattern
  • Backend for Frontend (BFF)

Application Development using Microservices and Serverless Week 02 Quiz Answers

Graded Quiz: Introduction to Serverless

Q1. What is one of the benefits that serverless computing provides?

  • Quick access to APIs
  • All-in-one app development platform
  • Tools to help manage server operations
  • Code runs on-demand as needed

Q2. How does FaaS package application code?

  • API Gateways
  • M​icroservices
  • Requests
  • Containers

Q3. In the What is Function as a Service video, a real-world example is shown where a user uploads a photo to a web site and creates a thumbnail image. Which action is performed by a function?

  • User uploads image
  • Message is generated to user
  • User uploads thumbnail
  • Thumbnail is created

Q4. FaaS is considered the originating technology in the serverless category. Which part of the serverless stack does FaaS represent?

  • Storage
  • Communication layer (e.g., messaging)
  • Data layer
  • Core compute and processing engine

Q5. In the serverless stack, which is considered part of the databases and storage layer?

  • Microservices
  • Object storage
  • Functions
  • Containers

Q6. IoT sensor data is often used with serverless computing.

  • F​alse
  • True

Q7. In the compute models comparison, which requires no administration?

  • VMs
  • FaaS
  • PaaS
  • Containers

Q8. Of the four compared compute models, which require the most maintenance?

  • PaaS and VMs
  • FaaS and Containers
  • PaaS and Containers
  • Containers and VMs

Q9. Which of the compared compute models has high availability built in?

  • Containers
  • VMs
  • FaaS
  • PaaS

Q10. A sequence is a chain of actions that are invoked in order. Why are actions invoked in order?

  • REST APIs require orderly sequence of actions
  • Functions can only perform multiple actions
  • The order is determined by who called the function
  • Output of one action is passed as input to the next action

Application Development using Microservices and Serverless Week 03 Quiz Answers

Graded Quiz: ORM: MicroServices w/ Serverless

Q1. After creating an action, you must invoke the action so it can do its task. What are two modes for invoking actions?

  • Activation and activation ID
  • Activation and Activation record
  • Request and response
  • Blocking and non-blocking

Q2. What can you use to pass parameters to actions?

  • A JSON file and the param-file flag.
  • A JSON file and the param-required flag.
  • A JSON file and the object flag.
  • A JSON file and the place flag.

Q3. What do you use to create sequence actions

  • JavaScript
  • S​equence builders
  • Existing actions
  • Proxy actions

Q4. IBM Cloud Functions provides pre-installed libraries to call actions from other actions.

  • True
  • False, this can only be done using HTTP

Q5. What is provided by public packages for IBM Cloud Functions?

  • C​loudant instances
  • Namespaces
  • Actions
  • Triggers feeds

Q6. What command can you use to avoid passing the same parameters to an action every time?

  • ibmcloud fn default parameter
  • ibmcloud fn package bind
  • ibmcloud fn parameter bind
  • ibmcloud fn package join

Q7. How can you set default parameters for all entities in a package?

  • List parameters
  • Sequence actions
  • Set package level parameters that are inherited by all actions
  • Join actions

Q8. What can you use to configure an external event source to fire multiple trigger events?

  • Feed
  • Parameter
  • Sequence action
  • Get command

Q9. If you have already created an action and want to create a trigger to invoke this action, what three options must you include in the rule create command?

  • Rule ID, trigger ID, and action ID
  • Name of rule, trigger, and action
  • Location of rule, name of trigger, and action
  • Name of rule, location of trigger and action

Q10. Why would you expose actions as APIs rather than manually via command line or web console?

  • Actions exposed as APIs have better performance
  • A​ctions are invalid unless they are exposed as APIs
  • Actions called manually don’t integrate well with microservices
  • There is less chance of error

Q11. What is one of the reasons to use the API Gateway service?

  • It’s the only way to create web actions
  • Perform user authentication
  • Perform rate limiting
  • Perform request routing

Q12. According to the Cloud native user survey, what is highest rated challenge Kubernetes users face?

  • Developer user experience improvements
  • Improved serverless support
  • Admin/Operator user experience improvements
  • Multitenancy improvements

Application Development using Microservices and Serverless Week 04 Quiz Answers

Graded Quiz: OpenShift Essentials/Working with OpenShift and Istio

Q1. OpenShift is a platform for running microservices. Which of the following are some of its features?

  • Deploy cloud-native applications
  • Integrate with serverless architectures
  • Sell third-party software
  • Orchestrate containerized workloads

Q2. In the analogy given in the Red Hat OpenShift Recap video, which of the following is analagous to Kubernetes?

  • Ubuntu
  • Fedora
  • Linux kernel
  • Debian

Q3. On which operating system do the nodes in the OpenShift master run?

  • Debian
  • Red Hat Enterprise Linux CoreOS
  • Red Hat Enterprise Linux
  • Ubuntu

Q4. Istio doesn’t encrypt traffic between services, because OpenShift does this already.

  • True
  • False

Q5. What does a service mesh enable?

  • Secure service-to-service communication
  • Troubleshooting
  • Traffic management
  • Third-party software procurement

Q6. After OpenShift builds code into a container image, what does it do?

  • Adds them to a log
  • Classifies them according to projects
  • Deploys them to the cluster
  • Pushes them to the internal registry

Q7. What is the open-source project that powers OpenShift?

  • Origin Kubernetes Distribution OKD
  • Container Optimization Distribution COD
  • Microservices Kubernetes Distribution MKD
  • OpenShift Kubernetes Distribution OSKD

Q8. Red Hat Marketplace solves many concerns when choosing third-party software to use with OpenShift. What is one of these concerns according to the video?

  • How can I secure the software?
  • How can I learn OpenShift?
  • How can I deploy software?
  • How can I get a refund if the software doesn’t work?

Q9. The Red Hat Marketplace provides a one-stop-shop for software certified for OpenShift. Which capabilities are provided by software products in the Marketplace?

  • OpenShift subscriptions
  • Operations managers
  • Installation
  • Seamless upgrades

Q10. A service mesh is a dedicated layer that provides logging capabilities in an OpenShift cluster.

  • False
  • True
Get all IBM Full Stack Cloud Developer Professional Certificate Quiz Answers

Introduction to Cloud Computing Coursera Quiz Answers

Introduction to Web Development with HTML, CSS, JavaScript Quiz Answers

Developing Cloud Native Applications Coursera Quiz Answers

Developing Cloud Apps with Node.js and React Coursera Quiz Answers

Introduction to Containers w/ Docker, Kubernetes & OpenShift Quiz Answers

Python for Data Science, AI & Development Coursera Quiz Answers

Python Project for AI & Application Development Coursera Quiz Answers

Developing Applications with SQL, Databases, and Django Quiz Answers

Application Development using Microservices and Serverless Quiz Answers

Full Stack Cloud Development Capstone Project Coursera Quiz Answers

Share your love

Newsletter Updates

Enter your email address below and subscribe to our newsletter

Leave a Reply

Your email address will not be published. Required fields are marked *