Free Microsoft AZ-202 Practice Test & Real Exam Questions
DRAG DROP
You develop a live streaming solution using Azure Media Services.
You need to configure live Streaming tor single bitrate encoding. All recorded content must be retained for 20 hours.
Which three actions should you perform in sequence? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.

You develop a live streaming solution using Azure Media Services.
You need to configure live Streaming tor single bitrate encoding. All recorded content must be retained for 20 hours.
Which three actions should you perform in sequence? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.

Correct Answer:

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 use ASP.NET Core MVC with ADO.NET to develop an application. You implement database sharding for the application by using Azure SQL Database. You establish communication links between the shard databases.
You need to implement a strategy that allows a group of operations that are performed on multiple Azure databases to be rolled back on all databases if any of the operations fail.
Solution:
* In the .NET method, define a new transaction in a using block.
* Within the using block, establish connections to each Azure SQL Database instance.
* Run the SQL operations on each connection. If no exception occurs, commit the transaction.
Does the solution meet the goal?
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 use ASP.NET Core MVC with ADO.NET to develop an application. You implement database sharding for the application by using Azure SQL Database. You establish communication links between the shard databases.
You need to implement a strategy that allows a group of operations that are performed on multiple Azure databases to be rolled back on all databases if any of the operations fail.
Solution:
* In the .NET method, define a new transaction in a using block.
* Within the using block, establish connections to each Azure SQL Database instance.
* Run the SQL operations on each connection. If no exception occurs, commit the transaction.
Does the solution meet the goal?
Correct Answer: B
Vote an answer
HOTSPOT
You are creating an app that uses Event Grid to connect with other services. Your app's event data will be sent to a servefless function that checks compliance. This function is maintained by your company.
You write a new event subscription at the scope of your resource. The event must be invalidated after 3 specific period of time. You need to configure Event Grid to ensure security.
What should you implement? To answer, select the appropriate options in [he answer area.
NOTE: Each correct selection is worth one point

You are creating an app that uses Event Grid to connect with other services. Your app's event data will be sent to a servefless function that checks compliance. This function is maintained by your company.
You write a new event subscription at the scope of your resource. The event must be invalidated after 3 specific period of time. You need to configure Event Grid to ensure security.
What should you implement? To answer, select the appropriate options in [he answer area.
NOTE: Each correct selection is worth one point

Correct Answer:

Explanation:

Box 1: SAS tokens
Custom topics use either Shared Access Signature (SAS) or key authentication. Microsoft recommends SAS, but key authentication provides simple programming, and is compatible with many existing webhook publishers.
In this case we need the expiration time provided by SAS tokens.
Box 2: ValidationCode handshake
Event Grid supports two ways of validating the subscription: ValidationCode handshake (programmatic) and ValidationURL handshake (manual).
If you control the source code for your endpoint, this method is recommended.
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution. Determine whether the solution meets the stated goals.
You connect to Azure by using a workstation that has a slow internet connection. You have two Azure file shares. You plan to transfer a series of large files from one container to another container. The workstation does not have sufficient disk space to store the files.
You define the following variables in Azure PowerShell.

You need to simultaneously transfer the large files as efficiently as possible.
Solution: Write a C# application that uses the Azure .NET API method
CloudFile.StartCopyAsync to transfer files to the destination container.
Does the solution meet the goal?
You connect to Azure by using a workstation that has a slow internet connection. You have two Azure file shares. You plan to transfer a series of large files from one container to another container. The workstation does not have sufficient disk space to store the files.
You define the following variables in Azure PowerShell.

You need to simultaneously transfer the large files as efficiently as possible.
Solution: Write a C# application that uses the Azure .NET API method
CloudFile.StartCopyAsync to transfer files to the destination container.
Does the solution meet the goal?
Correct Answer: A
Vote an answer
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution. Determine whether the solution meets the stated goals.
You need to ensure that authentication events are triggered and processed according to the policy.
Solution: Create a new Azure Event Grid topic and add a subscription for the events.
Does the solution meet the goal?
You need to ensure that authentication events are triggered and processed according to the policy.
Solution: Create a new Azure Event Grid topic and add a subscription for the events.
Does the solution meet the goal?
Correct Answer: A
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
HOTSPOT
You develop a news and blog content delivery app for Windows devices.
A notification must arrive on a user's device when there is a new article available for them to view.
You need to implement push notifications.
How should you complete the code segment? To answer, select the appropriate options in the answer area.
NOTE: Each connect selection is worth one point.

You develop a news and blog content delivery app for Windows devices.
A notification must arrive on a user's device when there is a new article available for them to view.
You need to implement push notifications.
How should you complete the code segment? To answer, select the appropriate options in the answer area.
NOTE: Each connect selection is worth one point.

Correct Answer:

