Microsoft AZ-204 Practice Test - Questions Answers, Page 41

List of questions
Question 401

HOTSPOT
You have an Azure subscription that hosts an Application Insights workspace named Workspace1.
You plan to aulhoi .Net-based code and deploy it to an App Service Web App named App1. Telemetry generated by Appl will be ingested into Workspace1. You intend to use Microsoft Entra ID authentication and Azure role-based access control (RBAC) to prevent unauthorized telemetry from being ingested into Workspacel.
You need to configure the Entra ID credential class and the RBAC role for App1.
What should you configure? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection Is worth one point.
Question 402

You are developing a microservices-based application that uses Azure Container Apps. The application consists of several containerized services that handle tasks, such as processing orders, managing inventory, and generating reports. You deploy a new revision of the processing orders app.
Processing orders must be triggered by a web request and must always be available based on incoming web requests.
You need to validate that the replica is ready to handle incoming requests.
What should you implement?
Question 403

Vou have an on-premises, public-facing website named www.contoso.com.
You plan to test availability of www.contoso.com by using Application Insights availability tests.
You need to configure a test that will generate HTTP POST requests that include custom headers. Your solution must minimize development effort.
Which type of test should you configure?
Question 404

You manage an Azure Cosmos DB for a NoSQL API account named account1. The account contains a database named db1, which contains a container named container1. You configure account! with a session consistency level.
You plan to develop an application named Appl that will access container1. Individual instances of Appl must perform reads and writes. Appl must allow multiple nodes to participate in the same session.
You need to configure an object to share the session token between the nodes.
Which object should you use?
Question