We offers AZ-202 Study Guides. "Microsoft Azure Developer Certification Transition", also known as AZ-202 exam, is a Microsoft Certification. This set of posts, Passing the AZ-202 exam with AZ-202 Study Guides, will help you answer those questions. The AZ-202 Exam Dumps covers all the knowledge points of the real exam. 100% real AZ-202 Free Practice Questions and revised by experts!
Online AZ-202 free questions and answers of New Version:
NEW QUESTION 1
You are developing a .NET Core MVC application for customers to research hotels. The application will use Azure Search. The application will search the index using various criteria to local domains to hotels. The index will include search fields for rate, a list of amenities, and distance to the nearest airport.
The application must support the following scenarios for specifying search criteria and organizing results:
• Search the index by using regular expressions.
• Organize results by counts for name-value pairs.
• List hotels within a specified distance to an airport and that fall within a specific price range. You need to configure the Search Para meters class.
Which properties should you configure? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Answer:
Explanation:
NEW QUESTION 2
A company has a series of mobile games on Azure with an online community. The moderators need to filter offens.ve text, and additional .terns such as
The company wants to implement a solution using Azure Content Moderation. You need to select API or Azure service options for the solution.
Which two APIs or Azure service should you use? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
Answer: CD
NEW QUESTION 3
A company develops a series of mobile games. All games use a single leaderboard service. You have the following requirements:
• Code should be scalable and allow for growth.
• Each record must consist of a playerld, gameld, score, and time played.
• When users reach a new high score, the system will save the new score using the SaveScore function below
• Each game is assigned an Id based on the series title.
You have the following code. (Line numbers are included for reference only.)
You store customer information in an Azure Cosmos database. The following data already exists in the database:
You develop the following code. (Line numbers are included for reference only.)
For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.
Answer:
Explanation:
NEW QUESTION 4
You need to ensure that the upload format issue is resolved. What code should you add at line RU14?
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.
Answer:
Explanation: Box 1: HttpStatusCode.InternalServerError
HttpStatusCode.InternalServerError is equivalent to HTTP status 500. InternalServerError indicates that a generic error has occurred on the server.
Box 2: CannotDeleteFileOrDirectory
HttpResponseMessage.ReasonPhrase Property gets or sets the reason phrase which typically is sent by servers together with the status code.
Scenario: Upload format issue
Employees occasionally report an issue with uploading a receipt using the web application. They report that when they upload a receipt using the Azure File Share, the receipt does not appear in their profile. When this occurs, they delete the file in the file share and use the web application, which returns a 500 Internal Server error page.
References:
https://docs.microsoft.com/en-us/dotnet/api/system.net.httpstatuscode?redirectedfrom=MSDN&view=netframew
NEW QUESTION 5
You need to ensure that PolicyLib requirements are met.
How should you complete the code segment? 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.
Answer:
Explanation:
NEW QUESTION 6
You are developing a multi-tenant ASP.NET Core application that will be hosted on Azure. The application will support multiple database platforms, including Azure SQL and on-premises SQL Server instances.
You need to ensure that the application supports distributed transactions.
Which technologies should you use? To answer, drag the appropriate technologies to the correct scenarios. Each technology 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.
Answer:
Explanation: Box 1: Elastic Database Client Library
Sharded database applications in Azure: With this scenario, the data tier uses the Elastic Database client library or self-sharding to horizontally partition the data across many databases in SQL DB.
Box 2: MSDTC
Eelastic database transactions cannot stretch across on premises SQL Server and Azure SQL Database. For distributed transactions on premises, continue to use MSDTC.
References:
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-elastic-transactions-overview
NEW QUESTION 7
You are developing an online order website that uses Azure Durable Functions- You develop the following processes for the website:
You need to identity what types of functions to use for each step of the process.
Which function types should you use? To answer, drag the appropriate function types to the correct operations. Each function type 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 need to identify what types of functions to use for each step of the process.
Which function types should you use? To answer, drag the appropriate function types to the correct operations. Each function type 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.
Answer:
Explanation:
NEW QUESTION 8
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:
You are reviewing code to create tasks in Azure Batch. (Line numbers are included for reference only.)
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
NEW QUESTION 9
You need to ensure the security policies are met. What code do you add at line CS07?
A)
B)
C)
D)
Answer: D
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. Determine whether the solution meets the stated goals.
You develop an entertainment application where users can buy and trade virtual real estate. The application must scale to support thousands of users.
The current architecture includes five Azure Virtual Machines (VM) that connect to an Azure SQL Database for account information and Azure Table Storage for backend services. A user interacts with these components in the cloud at any given time
- Routing Service – Routes a request to the appropriate service and must not persist data across sessions
- Account Service – Stores and manages all account information and authentication and requires data to persist across sessions.
- User Service – Stores and manages all user information and requires data to persist across sessions.
- Housing Network Service – Stores and manages the current real-estate economy and requires data to persist across sessions.
- Trade Service – Stores and manages virtual trade between accounts and requires data to persist across sessions.
Due to volatile user traffic, a microservices solution is selected for scale agility.
You need to migrate to a distributed microservices solution on Azure Service Fabric.
Solution: Create a Service Fabric Cluster with a stateless Reliable Service for Routing Service. Create stateful Reliable Services for all other components.
Does the solution meet the goal?
Answer: A
Explanation: We should use stateful services when we want data to persist, and stateless service when data must not persist. Note:
For stateful services, the Reliable Services programming model allows you to consistently and reliably store your state right inside your service by using Reliable Collections.
A stateless service is one where there is no state maintained within the service across calls. Any state that is present is entirely disposable and doesn't require synchronization, replication, persistence, or high availability.
References:
https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-reliable-services-introduction
NEW QUESTION 11
You have an app that stores player scores for an online game. The app stores data in Azure tables using a class named PlayerScore as the table entity. The table is populated with 100,000 records.
You are reviewing the following section of code that is intended to retrieve 20 records where the player score exceeds 15,000. (Line numbers are included for reference only.
For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point
Answer:
Explanation:
NEW QUESTION 12
Contoso. Ltd. provides an API to customers by using Azure API Management (ARM). The API authorizes users with a JWT token
You must implement response caching for the APIM gateway. The caching mechanism must detect the user ID of the client that accesses data for a given location and cache the response for that user ID.
You need to add the following policies to the policies file:
• a set-variable policy to store the detected user identity
• a cache-lookup-value policy
• a cache-store-value policy
• a find-and-replace policy to update the response body with the user profile information
To which policy section should you add the policies? To answer, drag the appropriate sections to the correct policies. Each section 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.
Answer:
Explanation:
NEW QUESTION 13
You need to deploy a new version of the LabelMaker application.
Which three 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. NOTE: Each correct selection is worth one point.
Answer:
Explanation: Step 1: Build a new application image by using dockerfile
Step 2: Create an alias if the image with the fully qualified path to the registry
Before you can push the image to a private registry, you’ve to ensure a proper image name. This can be achieved using the docker tag command. For demonstration purpose, we’ll use Docker’s hello world image, rename it and push it to ACR.
# pulls hello-world from the public docker hub
$ docker pull hello-world
# tag the image in order to be able to push it to a private registry
$ docker tag hello-word <REGISTRY_NAME>/hello-world
# push the image
$ docker push <REGISTRY_NAME>/hello-world Step 3: Log in to the registry and push image
In order to push images to the newly created ACR instance, you need to login to ACR form the Docker CLI. Once logged in, you can push any existing docker image to your ACR instance.
Scenario:
Coho Winery plans to move the application to Azure and continue to support label creation. LabelMaker app
Azure Monitor Container Health must be used to monitor the performance of workloads that are deployed to Kubernetes environments and hosted on Azure Kubernetes Service (AKS).
You must use Azure Container Registry to publish images that support the AKS deployment.
References:
https://thorsten-hans.com/how-to-use-a-private-azure-container-registry-with-kubernetes-9b86e67b93b6 https://docs.microsoft.com/en-us/azure/container-registry/container-registry-tutorial-quick-task
NEW QUESTION 14
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?
Answer: B
NEW QUESTION 15
A company is implementing a publish- subscribe (Pub/Sub) messaging component by using Azure Service Bus. You are developing the first subscription application.
In the Azure portal you are see that messages are being sent to the subscription for each topic. You create a subscription client object by supplying the correct details, but the subscription application is still not consuming the messages.
You need to complete the source code of the subscription client. What should you do?
A)
B)
C)
D)
Answer: A
NEW QUESTION 16
You are developing a project management service by using ASP.NET. The service hosts conversations, files, to-do lists, and a calendar that users can interact with at any time.
The application uses Azure Search for allowing users to search for keywords in the project data.
You need to implement code that creates the object which is used to create indexes in the Azure Search service.
Which two objects should you use? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
Answer: CD
100% Valid and Newest Version AZ-202 Questions & Answers shared by 2passeasy, Get Full Dumps HERE: https://www.2passeasy.com/dumps/AZ-202/ (New 150 Q&As)