Microsoft Azure Developer Certification Transition

Here you have the best Microsoft AZ-202 practice exam questions

  • You have 61 total questions to study from
  • Each page has 5 questions, making a total of 13 pages
  • You can navigate through the pages using the buttons at the bottom
  • This questions were last updated on October 31, 2025
  • This site is not affiliated with or endorsed by Microsoft.
Question 1 of 61
HOTSPOT -
A company is developing a software as a service (SaaS) solution in Azure for other business to manage customers. The solution includes the following Azure SQL
Database instances. Customer data exists in all databases.
Exam AZ-202: Question 1 - Image 1
Customers may request that the company remove data that relates to the customer. If a customer makes a deletion request, all details from the customer must be removed from the solution. All deletions for a customer must occur in one distributed transaction that includes the CRM, ERP, and Marketing databases.
You need to activate support for transactions over multiple databases on the same logical server and activate support for transactions over multiple servers.
Which actions and Azure PowerShell command should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Exam AZ-202: Question 1 - Image 2
    Correct Answer:
    Box 1: Use a transaction scope -
    The TransactionScope class establishes an ambient transaction in .NET. (An "ambient transaction" is one that lives in the current thread.) All connections opened within the TransactionScope participate in the transaction. If different databases participate, the transaction is automatically elevated to a distributed transaction.
    Box 2: New-AzureRmSqlServerCommunicationLink
    New-AzureRmSqlServerCommunicationLink: Use this cmdlet to create a new communication relationship between two logical servers in Azure SQL DB. The relationship is symmetric which means both servers can initiate transactions with the other server.
    References:
    https://docs.microsoft.com/en-us/azure/sql-database/sql-database-elastic-transactions-overview Exam AZ-202: Question 1 - Image 3
Question 2 of 61
HOTSPOT -
A construction company creates three-dimensional models from photographs and design diagrams of buildings. The company plans to store high-resolution photographs and blueprint files in Azure Blob Storage. The files are currently stored in the construction company's office.
You are developing a tool to connect to Azure Storage, create container, and then upload the files. The tool must remain responsive to the end user while it is running and performing remote I/O operations. It must also wait for methods to complete before continuing.
You need to complete the configuration.
How should you complete the code? To answer, select the appropriate options in the answer area.
NOTE: Each correct solution is worth one point.
Hot Area:
Exam AZ-202: Question 2 - Image 1
    Correct Answer:
    Box 1: ProcessAsync();
    Box 2: await cloudBlobContainer.CreatAsync();
    If you specify that a method is an async method by using the async modifier, you enable the following two capabilities.
    The marked async method can use await to designate suspension points. The await operator tells the compiler that the async method can't continue past that point until the awaited asynchronous process is complete. In the meantime, control returns to the caller of the async method.
    The suspension of an async method at an await expression doesn't constitute an exit from the method, and finally blocks don't run.
    The marked async method can itself be awaited by methods that call it.
    References:
    https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/async/ Exam AZ-202: Question 2 - Image 2
Question 3 of 61
DRAG DROP -
You have an Azure subscription.
You must create a file share with a quota of 2,048 GB. You create the following variables:
Exam AZ-202: Question 3 - Image 1
In which order should you arrange the Azure CLI commands to develop the solution? To answer, move all the commands from the list of commands to the answer area and arrange them in the correct order.
Select and Place:
    Correct Answer:

Question 4 of 61
A company uses Azure SQL Database to store data for an app. The data includes sensitive information.
You need to implement measures that allow only members of the managers group to see sensitive information.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
    Correct Answer: B, D

Question 5 of 61
HOTSPOT -
You are reviewing the following code for an Azure Function. The code is called each time an item is added to a queue. The queue item is a JSON string that deserializes into a class named WorkItem. (Line numbers are included for reference only.)
Exam AZ-202: Question 5 - Image 1
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
    Correct Answer:
    Box 1: Yes -
    The following code example sets metadata on a container. One value is set using the collection's Add method. public static async Task AddContainerMetadataAsync(CloudBlobContainer container)
    {
    // Add some metadata to the container.
    container.Metadata.Add("docType", "textDocuments");
    container.Metadata["category"] = "guidance";
    Scenario:
    Exam AZ-202: Question 5 - Image 2

    Box 2: No -

    It would not load the metadata -
    Box 3: Yes Explanation