Topic 4, Misc. Questions

You need to resolve the capacity issue.
What should you do?

A.

Convert the trigger on the Azure Function to an Azure Blob storage trigger

B.

Ensure that the consumption plan is configured correctly to allow scaling

C.

Move the Azure Function to a dedicated App Service Plan

D.

Update the loop starting on line PC09 to process items in parallel

D.   

Update the loop starting on line PC09 to process items in parallel



Explanation:
If you want to read the files in parallel, you cannot use forEach. Each of the async callback
function calls does return a promise. You can await the array of promises that you'll get
with Promise.all.
Scenario: Capacity issue: During busy periods, employees report long delays between the
time they upload the receipt and when it appears in the web application

You need to ensure receipt processing occurs correctly.
What should you do?

A.

Use blob properties to prevent concurrency problems

B.

Use blob SnapshotTime to prevent concurrency problems

C.

Use blob metadata to prevent concurrency problems

D.

Use blob leases to prevent concurrency problems

D.   

Use blob leases to prevent concurrency problems



Explanation:
You can create a snapshot of a blob. A snapshot is a read-only version of a blob that's
taken at a point in time. Once a snapshot has been created, it can be read, copied, or
deleted, but not modified. Snapshots provide a way to back up a blob as it appears at a
moment in time.
Scenario: Processing is performed by an Azure Function that uses version 2 of the Azure
Function runtime. Once processing is completed, results are stored in Azure Blob Storage
and an Azure SQL database. Then, an email summary is sent to the user with a link to the
processing report. The link to the report must remain valid if the email is forwarded to
another user.
Reference:
https://docs.microsoft.com/en-us/rest/api/storageservices/creating-a-snapshot-of-a-blob

You need to ensure that the solution can meet the scaling requirements for Policy Service. Which Azure Application Insights data model should you use?

A.

an Application Insights dependency

B.

an Application Insights event

C.

an Application Insights trace

D.

an Application Insights metric

D.   

an Application Insights metric



Explanation:
Application Insights provides three additional data types for custom telemetry:
Trace - used either directly, or through an adapter to implement diagnostics logging using
an instrumentation
framework that is familiar to you, such as Log4Net or System.Diagnostics.
Event - typically used to capture user interaction with your service, to analyze usage
patterns.
Metric - used to report periodic scalar measurements.
Scenario:
Policy service must use Application Insights to automatically scale with the number of
policy actions that it is
performing.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/data-model

You need to implement the Log policy.
How should you complete the EnsureLogging method in EventGridController.cs? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.


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.


You need to implement telemetry for non-user actions.
How should you complete the Filter class? 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.


You need to implement the Log policy.
How should you complete the Azure Event Grid subscription? To answer, drag the
appropriate JSON segments to the correct locations. Each JSON segment may be used once, more than once, or not at all. You may need to drag the split bar between panes to view content.
NOTE: Each correct selection is worth one point.


You need to insert code at line LE03 of LoginEvent.cs to ensure that all authentication events are processed correctly. How should you complete the code? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.


You need to configure security and compliance for the corporate website files.
Which Azure Blob storage settings should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.


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.


Page 9 out of 28 Pages