All Coursera Quiz Answers

Create Serverless Applications Week 1 Test prep Quiz Answers

In this article i am gone to share Coursera Course: Create Serverless Applications by Microsoft | Create Serverless Applications Week 1 Test prep Quiz Answers with you..

Enrol Link:ย  Create Serverless Applications

Create Serverless Applications Week 1 Test prep Quiz Answers

 

Test prep Quiz Answers

Question 1)
Your company is developing an application which has the following requirements:

  1. – A couple of modules which gets executed on schedule with short-lived processes;
  2. – The application owner wants to keep operating costs minimal;
  3. – The administrator wants to keep admin activities minimal;

Which deployment environment/compute service should you recommend for the modules?

  • Azure Web App
  • Azure Virtual Machine
  • Azure Functions
  • Azure Logic Apps

Question 2)
You are developing a custom Azure function app to connect to Azure Event Grid. You want to ensure that resources are allocated dynamically to the function app. Billing must be based on the executions of the app.
What should you configure when you create the function app?

  • The Docker container and an App Service plan that uses the S1 pricing tier
  • The Docker container and an App Service plan that uses the B1 pricing tier
  • The Windows operating system and the Consumption plan hosting plan
  • The Windows operating system and the App Service plan hosting plan

Question 3)
You have an Azure App Service API that enables users to upload documents to the cloud with a mobile device. A mobile app connects to the service by using REST API calls. When a new document is uploaded to the service, the service extracts the document metadata. Usage statistics for the app show significant increases in app usage.
The extraction process is CPU-intensive. You have to modify the API to use a queue. You need to ensure that the solution scales, handles request spikes, and reduces costs between request spikes.
What should you do?

  • Move the extraction logic into an Azure Function. Create a queue-triggered function to process the queue.
  • Configure a CPU-optimized virtual machine and install the web app service on the new instance.
  • Configure a series of CPU-optimized virtual machine instances and install extraction logic to process a queue.
  • Configure an Azure Container Service to retrieve items from a queue and run across a pool of virtual machine nodes using the extraction logic.

Question 4)
You plan on creating an event-driven solution and you decide to use Azure Functions. What is the direction that the binding code follows when connecting services to data?

  • Reads from input, writes to output
  • Reads from the output, writes to the input
  • Reads from input, writes to output and input

Question 5)
One of the ways you can monitor your function in the Azure portal is by using Application Insights.

  • True
  • False

Question 6)
What is the name of the container that groups functions into a logical unit for easier management, deployment, and sharing of resources?

  • Resource group
  • Function collection
  • Function app

Question 7)
Which of the following best describes serverless logic?

  • The code you write is running on servers that you manage
  • The code you write that runs on servers a cloud provider manages
  • The code you write is not running on servers