Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

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

Viewing page 1 out of 7 pages
Viewing questions 1-10 out of questions
Questions # 1:

You need to serve static content from the corporate website.

What are two possible ways to achieve this goal? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Options:

A.

Store all static content in Azure Blob Storage. Enable Azure Content Delivery Network for the storage account.


B.

Configure App Service networking to create a Content Delivery Network profile and endpoint.


C.

Configure the Azure App Service Local Cache feature and set the app setting WEBSITE_LOCAL_CACHE_SIZEINMB value.


D.

Update the Azure Traffic Manager routing method to priority.


E.

Create a nested Azure Traffic Manager profile. Configure the parent profile to the performance traffic routing method and the chtld profile to the priority traffic routing method.


Expert Solution
Questions # 2:

You need to securely access inventory items when developing the Inventory Items API.

What are three possible ways to achieve this goal? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Options:

A.

Create a custom Microsoft Entra roleAssign the custom role to the Azure Cosmos DB account Update the function app to use certificate-based authentication.


B.

Create a SQL role definition under the Azure Cosmos DB account.Create a user-assigned managed identity and assign the identity to the function app.Assign the user-assigned managed identity the SQL role definition.Update the function app code to implement the DefaultAzurecredential class and reference the user-assigned managed identity.


C.

Create a system-assigned managed identity for the function app with read access to secrets in Azure Key Vault. Store the Azure Cosmos DB primary key and URI in Azure Key Vault as secrets.Use function app settings to reference the secret values.


D.

Create a custom Microsoft Entra role. Assign the custom role to Azure Key Vault. Assign the custom role to the function app.Reference the custom role in the function app code when accessing Azure Key Vault values.


E.

Create a SQL role definition under the Azure Cosmos DB account. Assign the role to the function app ' s system-assigned managed identity. Programmatically access the Azure Cosmos OB keys from the function app.


Expert Solution
Questions # 3:

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 # 3


Expert Solution
Questions # 4:

You need to ensure that all messages from Azure Event Grid are processed.

What should you use?

Options:

A.

Azure Event Grid topic


B.

Azure Service Bus topic


C.

Azure Service Bus queue


D.

Azure Storage queue


E.

Azure Logic App custom connector


Expert Solution
Questions # 5:

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 # 6:

You need to ensure disaster recovery requirements are met.

What code should you add at line PC16?

To answer, drag the appropriate code fragments to the correct locations. Each code fragment 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 # 6


Expert Solution
Questions # 7:

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 # 7


Expert Solution
Questions # 8:

You need to secure the corporate website for users.

Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order

NOTE: More than one order of answer choices is correct You will receive credit for any of the correct orders you select.

Question # 8


Expert Solution
Questions # 9:

You need to access data from the user claim object in the e-commerce web app.

What should you do first?

Options:

A.

Write custom code to make a Microsoft Graph API call from the e-commerce web app.


B.

Assign the Contributor RBAC role to the e-commerce web app by using the Resource Manager create role assignment API.


C.

Update the e-commerce web app to read the HTTP request header values.


D.

Using the Azure CLI, enable Cross-origin resource sharing (CORS) from the e-commerce checkout API to the e-commerce web app.


Expert Solution
Questions # 10:

You need to store inventory item images.

Which Azure Blob Storage feature should you use? To answer, move the appropriate Azure Blob Storage features to the correct requirements. You may use each Azure Blob Storage feature once, more than once, or not at all. You may need to move the split bar between panes or scroll to view content

NOTE: Each correct selection is worth one point.

Question # 10


Expert Solution
Viewing page 1 out of 7 pages
Viewing questions 1-10 out of questions