Pass the Microsoft Microsoft Certified: Azure Developer Associate AZ-204 Questions and answers with CertsForce

Viewing page 6 out of 8 pages
Viewing questions 51-60 out of questions
Questions # 51:

QUESTION 1

You need to correct the RequestUserApproval Function app error.

What should you do?

Options:

A.

Update line RA13 to use the async keyword and return an HttpRequest object value.


B.

Configure the Function app to use an App Service hosting plan. Enable the Always On setting of the hosting plan.


C.

Update the function to be stateful by using Durable Functions to process the request payload.


D.

Update the functionTimeout property of the host.json project file to 15 minutes.


Expert Solution
Questions # 52:

You need to configure the Account Kind, Replication, and Storage tier options for the corporate website’s Azure Storage account.

How should you complete the configuration? To answer, select the appropriate options in the dialog box in the answer area.

NOTE: Each correct selection is worth one point.

Question # 52


Expert Solution
Questions # 53:

You need to correct the Azure Logic app error message.

Which configuration values should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question # 53


Expert Solution
Questions # 54:

You need to investigate the Azure Function app error message in the development environment.

What should you do?

Options:

A.

Connect Live Metrics Stream from Application Insights to the Azure Function app and filter the metrics.


B.

Create a new Azure Log Analytics workspace and instrument the Azure Function app with Application Insights.


C.

Update the Azure Function app with extension methods from Microsoft.Extensions.Logging to log events by using the log instance.


D.

Add a new diagnostic setting to the Azure Function app to send logs to Log Analytics.


Expert Solution
Questions # 55:

You need to add code at line EG15 in EventGridController.cs to ensure that the Log policy applies to all services.

How should you complete the code? To answer, drag the appropriate code segments to the correct locations. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Question # 55


Expert Solution
Questions # 56:

You need to ensure that PolicyLib requirements are met.

How should you complete the code segment? To answer, drag the appropriate code segments to the correct locations. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Question # 56


Expert Solution
Questions # 57:

You need to add code at line AM10 of the application manifest to ensure that the requirement for manually reviewing content can be met.

How should you complete the code? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question # 57


Expert Solution
Questions # 58:

You need to investigate the http server log output to resolve the issue with the ContentUploadService.

Which command should you use first?

Options:

A.

az webapp log


B.

az ams live-output


C.

az monitor activity-log


D.

az container attach


Expert Solution
Questions # 59:

You need to implement the bindings for the CheckUserContent function.

How should you complete the code segment? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question # 59


Expert Solution
Questions # 60:

You need to ensure that validation testing is triggered per the requirements.

How should you complete the code segment? To answer, select the appropriate values in the answer area.

NOTE: Each correct selection is worth one point.

Question # 60


Expert Solution
Viewing page 6 out of 8 pages
Viewing questions 51-60 out of questions