AZ-202 Premium Bundle

AZ-202 Premium Bundle

Microsoft Azure Developer Certification Transition Certification Exam

4.5 
(47760 ratings)
0 QuestionsPractice Tests
0 PDFPrint version
November 21, 2024Last update

Microsoft AZ-202 Free Practice Questions

Proper study guides for Down to date Microsoft Microsoft Azure Developer Certification Transition certified begins with Microsoft AZ-202 preparation products which designed to deliver the Free AZ-202 questions by making you pass the AZ-202 test at your first time. Try the free AZ-202 demo right now.

NEW QUESTION 1

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?

  • A. Yes

  • B. No

Answer: B

Explanation:
Use a separate Azure Event Grid topics and subscriptions for sign-in and sign-out events.
Scenario: Authentication events are used to monitor users signing in and signing out. All authentication events must be processed by Policy service. Sign outs must be processed as quickly as possible.

NEW QUESTION 2

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 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 to implement a strategy that allows a group of operations that are performed on multiple Azure databases to be rolled back on all database if any of the operations fail.
Solution
• Create stored procedures in each Azure SQL database instance to perform operations for each respective database.
• Invoke a named transaction and use the same name for the transaction in each stored procedure.
• Establish a new transaction scope in a using block. Within the block, establish connections to each Azure SQL Database instance and run the stored procedure.
• If no exception occurs, commit the scoped transaction. Does the solution meet the goal?

  • A. Yes

  • B. No

Answer: B

NEW QUESTION 3

You use Azure Table storage to store customer information for an application. The data contains customer details and is partitioned by last name. You need to create a query that returns all customers with the last name Smith. Which code segment should you use?

  • A. TableQuery.GeneratePilterCondition("LastName", QueryComparisons.Equal, "Smith")

  • B. TableQuery.GeneratefilterCondition("PartitionKey", QueryComparison

  • C. Equal, "Smith")

  • D. TableQue.GenerateFilterCondition("PartitionKey", Equals, "Smith")

  • E. TableQuer

  • F. GenerateFilterCondition("LastName", Equals, "Smith")

Answer: D

NEW QUESTION 4

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 the SecurityPin security requirements are met.
Solution: Enable Always Encrypted for the SecurityPin column using a certificate contained in Azure Key Vault and grant the WebAppIdentity service principal access to the certificate.
Does the solution meet the goal?

  • A. Yes

  • B. No

Answer: A

NEW QUESTION 5

You are creating a bot for a company by using QnA Maker.
You need to ensure that the company can update the bot without third party assistance. What should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
AZ-202 dumps exhibit

  • A. Mastered

  • B. Not Mastered

Answer: A

Explanation:
AZ-202 dumps exhibit

NEW QUESTION 6

You need to update the Inventory API.
Which development tools should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
AZ-202 dumps exhibit

  • A. Mastered

  • B. Not Mastered

Answer: A

Explanation:
Scenario: The Inventory API must be written by using ASP.NET Core and Node.js. Box 1: Entity Framework Core
Box 2: Code first References:
https://docs.microsoft.com/en-us/aspnet/mvc/overview/getting-started/getting-started-with-ef-using-mvc/creatin

NEW QUESTION 7

A company has an app that records and processes videos. New videos are recorded daily. The videos are displayed on the company website the day after they are recorded. The company runs several servers that process data and encode the videos. The processing servers use FFmpeg and proprietary software to encode and convert the videos.
The company plans to migrate the app to Azure. Azure Batch must be used to process videos. Each task must run a command and output the result to a file on a destination storage account.
You create and assign values to the following variables:
AZ-202 dumps exhibit
You are reviewing code to create tasks in Azure Batch. (Line numbers are included for reference only.)
AZ-202 dumps exhibit
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
AZ-202 dumps exhibit

  • A. Mastered

  • B. Not Mastered

Answer: A

Explanation:
AZ-202 dumps exhibit

NEW QUESTION 8

You need to resolve the log capacity issue. What should you do?

  • A. Implement Application Insights Sampling.

  • B. Change the minimum log level in the host.json file for the function.

  • C. Create an Application Insights Telemetry Filter.

  • D. Set a LogCategoryFilter during startup.

Answer: A

NEW QUESTION 9

You need to tool code at line LE03 of Login Event to ensure that all authentication events are processed correctly. How should you complete the code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
AZ-202 dumps exhibit

  • A. Mastered

  • B. Not Mastered

Answer: A

Explanation:
AZ-202 dumps exhibit

NEW QUESTION 10

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?

  • A. Yes

  • B. No

Answer: A

NEW QUESTION 11

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.)
AZ-202 dumps exhibit
For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.
AZ-202 dumps exhibit

  • A. Mastered

  • B. Not Mastered

Answer: A

Explanation:
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:
AZ-202 dumps exhibit
Box 2: No
It would not load the metadata Box 3: Yes

NEW QUESTION 12

You develop a gateway solution for a public facing news API. The news API back end is implemented as a RESTfuI service and uses an OpenAPI specification. You need to ensure that you can access the news API by using an Azure API Management service instance.
Which Azure PowerShell command should you run?
A)
AZ-202 dumps exhibit
B)
AZ-202 dumps exhibit
C)
AZ-202 dumps exhibit
D)
AZ-202 dumps exhibit

  • A. Option A

  • B. Option B

  • C. Option C

  • D. Option D

Answer: D

NEW QUESTION 13

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 have the following resource groups:
AZ-202 dumps exhibit
Developers must conned to DevServer only through DevWorkstation. To maintain security, DevServer must not accept connections (rom the internet.
You need to create a private connection between the DevWorkstation and DevServer.
Solution: Configure a VNet-to-VNet VPN connection between the two private Virtual Networks using VPN gati allow connectivity between the DevServer and the DevWorkstation using their private IP addresses.
Does the solution meet the goal?

  • A. Yes

  • B. No

Answer: B

NEW QUESTION 14

You are developing an ASP.NET web application that you will deploy to Azure. The solution must meet the following requirements:
• Store user session state by using only serializable data types.
• Provide customizable caching of session data.
• Support scaling out the number of web hosts.
• Maximize performance.
Which solution meets these requirements?

  • A. Clustered Azure Redis Cache

  • B. SQL Server session state provider

  • C. in memory session state provider

  • D. ASP .NET Output Cache provider for Azure Redis Cache

Answer: B

NEW QUESTION 15

You develop a web app that uses the tier D1 app service plan by using the Web Apps feature of Microsoft Azure App Service.
Spikes in traffic have caused increases in page load times.
You need to ensure that the web app automatically scales when CPU load is about 85 percent and minimize costs.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
AZ-202 dumps exhibit

  • A. Mastered

  • B. Not Mastered

Answer: A

Explanation:
Step 1: Configure the web app to the Standard App Service Tier
The Standard tier supports auto-scaling, and we should minimize the cost. Step 2: Enable autoscaling on the web app
First enable autoscale Step 3: Add a scale rule
Step 4: Add a Scale condidation References:
https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-autoscale-get-started https://azure.microsoft.com/en-us/pricing/details/app-service/plans/

NEW QUESTION 16

You have a task that includes a WebJob that should run continuously. The WebJob Log exhibit shows the text that is displayed when the WebJob runs. (Click the WebJob Log tab.)
The WebJob is configured as shown in the WebJob Configuration exhibit. (Click the WebJob Configuration tab.)
The WebJob is not functioning as expected. The WebJob Code exhibit has a comment that shows where code should be added. (Click the WebJob Code tab.)
You need to identify any issues with the WebJob.
For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.
AZ-202 dumps exhibit
AZ-202 dumps exhibit
AZ-202 dumps exhibit
AZ-202 dumps exhibit

  • A. Mastered

  • B. Not Mastered

Answer: A

Explanation:
AZ-202 dumps exhibit

NEW QUESTION 17

You need to construct the link to the summary report for the email that is sent to users. What should you do?

  • A. Create a SharedAccessBlobPolicy and add it to the containers SharedAccessPolicie

  • B. Call GetSharedAccessSignature on the blob and use the resulting link.

  • C. Create a SharedAccessBlobPolicy and set the expiry time to two weeks from toda

  • D. Call GetSharedAccessSignature on the blob and use the resulting link.

  • E. Create a SharedAccessAccountPolicy and call GetsharedAccessSignature on storage account and use the resulting link.

  • F. Create a SharedAccessBlobPolicy and set the expiry time to two weeks from toda

  • G. Call GetSharedAccessSignature on the container and use the resulting link.

Answer: B

NEW QUESTION 18

You develop an app that processes data packages that are less than 10 KB.
The solution processes and then deletes the data packages. Data must be processed by only one instance and must persist if the app is reset but not after it is processed.
You need to select a storage technology for the solution while minimizing costs. Which data storage service should you use?

  • A. Azure Table Storage

  • B. Azure Queue Storage

  • C. Azure Blob Storage

  • D. Azure Redis Cache

  • E. Azure SQL Database

Answer: C

NEW QUESTION 19

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 the SecurityPin security requirements are met.
Solution; Using the Azure Portal, add Data Masking to the SecurityPin column, and exclude the dbo user. Add a SQL security policy with a filter predicate based on the user identity.
Does the solution meet the goal?

  • A. Yes

  • B. No

Answer: B

NEW QUESTION 20

You need to ensure disaster recovery requirements are met. What code should you add at line PC16?
To answer, drag the appropriate code fragments to the correct locations. Each code fragment 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.
AZ-202 dumps exhibit

  • A. Mastered

  • B. Not Mastered

Answer: A

Explanation:
AZ-202 dumps exhibit

NEW QUESTION 21

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 the SecurityPin security requirements are met.
Solution: Enable Always Encrypted for the SecurityPin column using a certificate based on a trusted certificate authority. Update the Getting Started document with instruction to ensure that the certificate is installed on user machines.
Does the solution meet the goal?

  • A. Yes

  • B. No

Answer: B

NEW QUESTION 22

You need to configure retries in the LoadUserDetails function in the Database class without impacting user experience.
What code should you insert on line DB07?
To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
AZ-202 dumps exhibit

  • A. Mastered

  • B. Not Mastered

Answer: A

Explanation:
Box 1: Policy
RetryPolicy retry = Policy Handle<HttpRequestException>() Retry(3);
The above example will create a retry policy which will retry up to three times if an action fails with an exception handled by the Policy.
Box 2: WaitAndRetryAsync(3,i => TimeSpan.FromMilliseconds(100* Math.Pow(2,i-1)));
A common retry strategy is exponential backoff: this allows for retries to be made initially quickly, but then at progressively longer intervals, to avoid hitting a subsystem with repeated frequent calls if the subsystem may be struggling.
Example: Policy
Handle<SomeExceptionType>() WaitAndRetry(3, retryAttempt =>
TimeSpan.FromSeconds(Math.Pow(2, retryAttempt))
);
References:
https://github.com/App-vNext/Polly/wiki/Retry

NEW QUESTION 23

You need to retrieve all order line items sorted alphabetically by the city.
How should you complete the code? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
AZ-202 dumps exhibit

  • A. Mastered

  • B. Not Mastered

Answer: A

Explanation:
AZ-202 dumps exhibit

NEW QUESTION 24

You have implemented code that uses elastic transactions spanning across three different Azure SQL Database logical servers. Database administrators report that some transactions take longer to complete than expected.
You need to use the correct tool to monitor all the transactions originating from the elastic transaction implementation. Which tool should you use?

  • A. Run the sys.dm_tran_active_transactions dynamic management view.

  • B. Run the sys.dm_tran_current_snapshot dynamic management view.

  • C. Run the sys.dm_tran_active_snapshot_database_transactions dynamic management

  • D. Use the dependencies section of Azure Applications Insights.

Answer: A

Explanation:
Use Dynamic Management Views (DMVs) in SQL DB to monitor status and progress of your ongoing elastic database transactions.
These DMVs are particularly useful:
sys.dm_tran_active_transactions: Lists currently active transactions and their status. The UOW (Unit Of Work) column can identify the different child transactions that belong to the same distributed transaction. All transactions within the same distributed transaction carry the same UOW value.
sys.dm_tran_database_transactions: Provides additional information about transactions, such as placement of the transaction in the log.
sys.dm_tran_locks: Provides information about the locks that are currently held by ongoing transactions References:
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-elastic-transactions-overview

NEW QUESTION 25

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:
• Deploy a SQL database instance in an Azure Virtual Machine (VM).
• Establish linked servers to each Azure SQL Database instance from the SQL Server instance in the VM.
• Create a stored procedure in the VM that performs the update operations using a distributed transaction and commits them if successful.
• Run the SQL stored procedure on the SQL Server instance in the VM. Does the solution meet the goal?

  • A. Yes

  • B. No

Answer: B

NEW QUESTION 26
......

Recommend!! Get the Full AZ-202 dumps in VCE and PDF From 2passeasy, Welcome to Download: http://www.dumpscollection.net/dumps/{productsort}/ (New 150 Q&As Version)


START AZ-202 EXAM