Practice Free AZ-204 Exam Online Questions
You have an Azure Queue Storage named queuel You plan to develop code that will process messages in queuel.
You need to implement a queue operation to set the visibility timeout value of individual messages in queuel.
Which two operations can you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
- A . Peek at a message in the queue.
- B . Update a message in the queue.
- C . Delete a message in the queue.
- D . Receive a message from the queue.
- E . Add a message to the queuer t
You have an Azure Queue Storage named queuel You plan to develop code that will process messages in queuel.
You need to implement a queue operation to set the visibility timeout value of individual messages in queuel.
Which two operations can you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
- A . Peek at a message in the queue.
- B . Update a message in the queue.
- C . Delete a message in the queue.
- D . Receive a message from the queue.
- E . Add a message to the queuer t
HOTSPOT
You need to save customized items to Azure Cosmos DB.
Which Azure Cosmos DB configuration should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
HOTSPOT
YOU need to reliably identify the delivery driver profile information.
How should you configure the system? To answer, select the appropriate options in the answer area. NOTE Each correct selection is worth one point.
HOTSPOT
You are developing a C+ + application that compiles to a native application named process.exe. The application accepts images as input and returns images in one of the following image formats: GIF, PNG, or JPEG.
You must deploy the application as an Azure Function.
You need to configure the function and host json files.
How should you complete the json files? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
HOTSPOT
You are developing a web application that makes calls to the Microsoft Graph API. You register the application in the Azure portal and upload a valid X509 certificate.
You create an appsettings.json file containing the certificate name, client identifier for the application, and the tenant identifier of the Azure active Directory (Azure AD). You create a method named ReadCertificate to return the X509 certificate by name.
You need to implement code that acquires a token by using the certificate.
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.
DRAG DROP
You are developing an ASP.NET Core Web API web service that uses Azure Application Insights to monitor performance and track events.
You need to enable logging and ensure that log messages can be correlated to events tracked by Application Insights.
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.
You have an Azure API Management (APIM) Standard tier instance named APIM1 that uses a managed gateway.
You plan to use APIM1 to publish an API named API1 that uses a backend database that supports only a limited volume of requests per minute. You also need a policy for AP11 that will minimize the possibility that the number of requests to the backend database from an individual IP address you specify exceeds the supported limit.
You need to identify a policy for API1 that will meet the requirements.
Which policy should you use?
- A . quota-by-key
- B . rate-limit
- C . ip-fitter
- D . rate-limit-by-key
HOTSPOT
You plan to develop an Azure Functions app with an Azure Blob Storage trigger. The app will be used infrequently, with a limited duration of individual executions.
The app must meet the following requirements:
• Event-driven scaling
• Support for deployment slots
• Minimize costs
You need to identify the hosting plan and the maximum duration when executing the app.
Which configuration setting values should you use? To answer, select the appropriate values in the answer area. NOTE: Each correct selection is worth one point.
HOTSPOT
You plan to develop an Azure Functions app with an Azure Blob Storage trigger. The app will be used infrequently, with a limited duration of individual executions.
The app must meet the following requirements:
• Event-driven scaling
• Support for deployment slots
• Minimize costs
You need to identify the hosting plan and the maximum duration when executing the app.
Which configuration setting values should you use? To answer, select the appropriate values in the answer area. NOTE: Each correct selection is worth one point.