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

Viewing page 2 out of 8 pages
Viewing questions 11-20 out of questions
Questions # 11:

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You develop and deploy an Azure App Service API app to a Windows-hosted deployment slot named Development. You create additional deployment slots named Testing and Production. You enable auto swap on the Production deployment slot.

You need to ensure that scripts run and resources are available before a swap operation occurs.

Solution: Update the app with a method named statuscheck to run the scripts. Update the app settings for the app. Set the WEBSITE_SWAP_WARMUP_PING_PATH and WEBSITE_SWAP_WARMUP_PING_STATUSES with a path to the new method and appropriate response codes.

Does the solution meet the goal?

Options:

A.

Yes


B.

No


Expert Solution
Questions # 12:

You develop Azure solutions.

A .NET application needs to receive a message each time an Azure virtual machine finishes processing data. The messages must NOT persist after being processed by the receiving application.

You need to implement the .NET object that will receive the messages.

Which object should you use?

Options:

A.

QueueClient


B.

SubscriptionClient


C.

TopicClient


D.

CloudQueueClient


Expert Solution
Questions # 13:

You are preparing to deploy an ASP.NET Core website to an Azure Web App from a GitHub repository. The website includes static content generated by a script.

You plan to use the Azure Web App continuous deployment feature.

You need to run the static generation script before the website starts serving traffic.

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.

Create a file named .deployment in the root of the repository that calls a script which generates the static content and deploys the website.


B.

Add a PreBuild target in the websites csproj project file that runs the static content generation script.


C.

Create a file named run.cmd in the folder /run that calls a script which generates the static content and deploys the website.


D.

Add the path to the static content generation tool to WEBSITE_RUN_FROM_PACKAGE setting in the host.json file.


Expert Solution
Questions # 14:

You develop and deploy a Java application to Azure. The application has been instrumented by using the Application Insights SDK.

The telemetry data must be enriched and processed before it is sent to the Application Insights service.

You need to modify the telemetry data.

Which Application Insights SDK features should you use? To answer, drag the appropriate features to the correct requirements. Each feature 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 # 14


Expert Solution
Questions # 15:

You need to configure App Service to support the corporate website migration.

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

NOTE: Each correct selection is worth one point.

Question # 15


Expert Solution
Questions # 16:

You need to provide internal staff access to the production site after a validation.

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


Expert Solution
Questions # 17:

You need to secure the corporate website to meet the security requirements.

What should you do?

Options:

A.

Create an App Service instance with a standard plan. Configure the custom domain with a TLS/SSL certificate.


B.

Create an Azure Application Gateway with a Web Application Firewall (WAF). Configure end-to-end TLS encryption and the WAF.


C.

Create an Azure Cache for Radis instance. Update the code to support the cache.


D.

Create an Azure Content Delivery Network profile and endpoint. Configure the endpoint.


Expert Solution
Questions # 18:

You need to correct the errors for farmers and distributors.

Which solution should you use? To answer, select the appropriate options in the answer area

NOTE: Each correct selection is worth one point.

Question # 18


Expert Solution
Questions # 19:

You need to implement farmer authentication.

Which three actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Options:

A.

Add the shared access signature (SAS) token to the app


B.

Create a shared access signature (SAS) token.


C.

Register the app in Microsoft Entra ID.


D.

Create a user flow.


E.

Add the app to the user flow.


Expert Solution
Questions # 20:

You need to configure all site configuration settings for the corporate website.

Which three actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Options:

A.

Create a managed identity.


B.

Update the role assignments for the Azure App Configuration store


C.

Create an Azure Key Vault.


D.

Create an Azure App Configuration store.


E.

Update the role assignments for the Azure Key Vault.


Expert Solution
Viewing page 2 out of 8 pages
Viewing questions 11-20 out of questions