All Coursera Quiz Answers

Create Serverless Applications Week 7 Course Practice Exam Answers

In this article i am gone to share Coursera Course: Create Serverless Applications by Microsoft | Create Serverless Applications Week 7 Course Practice Exam Answers with you..

Enrol Link:  Create Serverless Applications

Create Serverless Applications Week 7 Course Practice Exam Answers

 

Question 1)
You are planning on developing an application that needs a couple of modules to get executed. Keeping in mind that you want to keep the operating costs to a minimal value and the admin activities also minimal, which Azure service should you use?

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

Question 2)
You are building an application that plans to connect to Azure Event Grid. You want to ensure that resources are allocated dynamically. You identify that you must use Azure Functions. If billing must be based on the executions of the app, what should you configure when you create the function app?

  • The Windows operating system and the App Service plan hosting plan
  • The Windows operating system and the Consumption plan hosting plan
  • 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

Question 3)
You need to build a solution that will process some images programmatically. The images are periodically uploaded to an Azure Blob container. You decide to use Azure Functions. You create code to process images when the Function App is triggered.
You need to configure the Function App.
What should you do?

  • Use a Consumption plan. Configure the Function App to use a Timer trigger.
  • Use a Consumption plan. Configure the Function App to use an Azure Blob Storage trigger.
  • Use an App Service plan. Configure the Function App to use an Azure Blob Storage trigger.
  • Use an App Service plan. Configure the Function App to use an Azure Blob Storage input trigger.

Question 4)
You are developing a software as a service (SaaS) offering to edit photos. Users upload photos to a web service which then stores the photos in Azure Storage Blob storage. The storage account type is General-purpose V2. When photos are uploaded, they must be processed to produce a black-and-white version of the image. The process to produce the edited version of the image should start in less than one minute.
You need to design the process that starts the photo processing.
Solution: Move photo processing to an Azure Function triggered from the blob upload.
Does the solution meet the goal?

  • Yes
  • No

Question 5)
What needs to be configured on an Azure function so that it can get data from a data source?

  • You configure an input binding
  • You write code for all the tasks involved
  • You configure an output binding

Question 6)
You are developing a ticket processing application with the help of Azure Functions. The entire process consists of different tasks that you plan on developing separately.
Which Azure function type should you create?

  • Client
  • Activity
  • Entity
  • Orchestrator

Question 7)
You are developing a solution that needs to respect a specific chaining pattern and execute activities in a specific order.
Which three actions should you perform in sequence?

  • Create an Azure Function with App Service Plan. Install durable functions npm package. Create a durable function
  • Create an Azure Function with Durable Plan. Install durable functions npm package. Create a durable function
  • Create an Azure Function with Consumption Plan. Install durable functions npm package. Create a durable function

Question 8)
You plan on listening for events through a webhook that you configure for GitHub. In this scenario, what does the payload URL represents?

  • The URL of the client that will receive the webhook POST requests.
  • The URL of the server that will receive the webhook GET requests.
  • The URL of the server that will receive the webhook POST requests.
  • The URL of the client that will receive the webhook GET requests.

Question 9)
You are creating an Azure API Management service for your production API. The application that is using the API usually gets around 500k executions per month. The usage pattern of the API varies every day.
Keeping in mind that cost-effectiveness should be a priority, which tier should you choose for your API Management service?

  • Consumption
  • Basic
  • Standard
  • Production

Question 10)
SignalR supports only new clients who make use of methods of communication like WebSockets.

  • False
  • True

 

Question 11)
You plan on creating a solution based on Azure Functions that will be event-driven and will use input and output bindings. What is the direction that the binding code follows when connecting services to data?

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

Question 12)
You’re building a solution that processes files stored into Azure Storage as blob data. The solution that you are building needs to execute each time a new blob is added or modified. The app continues to time out after four minutes. You need to ensure the app does not time out and processes the blob data.
Solution: Use the Durable Function async pattern to process the blob data.
Does the solution meet the goal?

  • No
  • Yes

Question 13)
You provide an Azure API Management managed web service to clients. The back-end web service implements HTTP Strict Transport Security (HSTS). Every request to the backend service must include a valid HTTP authorization header. You need to configure the Azure API Management instance with an authentication policy.
Which two policies can you use?

  • OAuth Client Credential Grant
  • Digest Authentication
  • Basic Authentication
  • Certificate Authentication

Question 14)
You are developing a solution that needs to respect a specific chaining pattern and execute some activities in a specific order. Also, for cost reasons, you decide that your solution will be hosted in a serverless compute environment.
Which of the below services should you create to deploy your application?

  • Azure App Service
  • Durable Functions
  • Azure Functions

 

Question 15)
Which of the following is the correct CLI command for creating a function app on a consumption plan that will deploy code from the master branch of a GitHub repository?

az functionapp create –name $functionAppName \
–storage-account $storageName \
–consumption-plan-location $region \
–resource-group myResourceGroup \
–deployment-source-url $gitrepo \
–deployment-source-branch master \
–functions-version 2

 

Question 16)
The solution that you are developing contains a service for users to chat in real-time with customer support agents via a webpage. To ensure two-way communication between client and server, you decide to use SignalR. Throughout the clients, not all of them support HTML 5. What action needs to be taken to ensure all clients can use the service?

  • Set SignalR to use WebSockets, Ajax long polling, or Forever Frame
  • Notify the clients to upgrade to HTML5 to properly use the solution
  • No action. SignalR will manage this automatically