Microsoft AZ-204 Developing Solutions for Microsoft Azure Exam Practice Test

Page: 1 / 14
Total 461 questions
Question 1

You are building a loyalty program for a major snack producer. When customers buy a snack at any of 100 participating retailers the event is recorded in Azure Event Hub. Each retailer is given a unique identifier that is used as the primary identifier for the loyalty program.

Retailers must be able to be added or removed at any time. Retailers must only be able to record sales for themselves.

You need to ensure that retailers can record sales.

What should you do?



Answer : A


Question 2

You have an Azure App Service plan named APSPIanl set to the Basic Bl pricing tier. APSPIanl contains an App Service web app named WebAppl. You plan lo enable schedule-based autoscaling for APSPIanl. You need to minimize the cost of running WebAppl. Solution: Scale up APSPIanl to the Premium V2 pricing tier.

Does the solution meet the goal?



Answer : A


Question 3

You need to grant access to the retail store location data for the inventory service development effort. What should you use?



Answer : C


Question 4

You create an Azure Cosmos DB for NoSQL database.

You plan to use the Azure Cosmos DB .NET SDK v3 API for NoSQL to upload the following files:

You receive the following error message when uploading the files: "413 Entity too large". You need to determine which files you can upload to the Azure Cosmos DB for NoSQL database. Which files can you upload?



Answer : B


Question 5

You need to audit the retail store sales transactions.

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

NOTE: Each correct selection is worth one point.



Answer : D, E

Scenario: Audit store sale transaction information nightly to validate data, process sales financials, and reconcile inventory.

'Process the change feed logs of the Azure Blob storage account by using an Azure Function. Specify a time range for the change feed data': Change feed support is well-suited for scenarios that process data based on objects that have changed. For example, applications can:

Store, audit, and analyze changes to your objects, over any period of time, for security, compliance or intelligence for enterprise data management.

'Subscribe to blob storage events by using an Azure Function and Azure Event Grid. Filter the events by store location': Azure Storage events allow applications to react to events, such as the creation and deletion of blobs. It does so without the need for complicated code or expensive and inefficient polling services. The best part is you only pay for what you use.

Blob storage events are pushed using Azure Event Grid to subscribers such as Azure Functions, Azure Logic Apps, or even to your own http listener. Event Grid provides reliable event delivery to your applications through rich retry policies and dead-lettering.


https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-change-feed

https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-event-overview

Question 6

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?



Answer : A

A queue allows processing of a message by a single consumer. Need a CloudQueueClient to access the Azure VM.


https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-queues-topics-subscriptions

Question 7

You ate developing a web application that uses the Microsoft identity platform to authenticate users and resources. The web application calls several REST APIs.

The APIs require an access token from the Microsoft identity platform.

You need to request a token.

Which three properties should you use? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.



Answer : A, B, E


Page:    1 / 14   
Total 461 questions