It is more faster and easier to pass the AZ-202 Exam Dumps by using AZ-202 Study Guides. Immediate access to the AZ-202 Study Guides and find the same core area AZ-202 Dumps Questions with professionally verified answers, then PASS your exam with a high score now.
Online AZ-202 free questions and answers of New Version:
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 that might 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.
Margie’s Travel is an international travel and bookings management service. The company is expanding into restaurant bookings. You are tasked with implementing Azure Search for the restaurants listed in their solution.
You create the index in Azure Search.
You need to import the restaurant data into the Azure Search service by using the Azure Search .NET SDK. Solution:
1. Create a SearchServiceClient object to connect to the search index.
2. Create an IndexBatch that contains the documents which must be added.
3. Create a DataSource instance and set its Container property to the DataContainer.
4. Call the Documentsindex method of the SearchlndexClient to send the IndexBatch to the search index. Does the solution meet the goal?
Answer: A
NEW QUESTION 2
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 3
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: Ensure that signout events have a subject prefix. Create an Azure Event Grid subscription that uses the subject Begins With filter.
Does the solution meet the goal?
Answer: A
NEW QUESTION 4
You need to resolve the delivery API error. What should you do?
Answer: A
Explanation: Scenario: The Delivery API intermittently throws the following exception:
A useful method to get rid of this error is to use RETRY LOGIC of Entity Framework 1.1.0 services.AddDbContext<DbContext>(options => options.UseSqlServer('yourconnectionstring',
…sqlServerOptionsAction: sqlOptions =>
…{
……sqlOptions.EnableRetryOnFailure(
………maxRetryCount: 5,
………maxRetryDelay: TimeSpan.FromSeconds(30),
………errorNumbersToAdd: new List<int>() { 19 });
…}));
In Retry logic, error 19 is not included. So you have to pass the error code 19 to set retry logic for error code 19.
References:
https://stackoverflow.com/questions/47558062/error-19-physical-connection-error/47559967
NEW QUESTION 5
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.
Answer:
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 6
An application that you manage has several web front-end instances- Each web front end communicates with a set of back-end worker processes by using an Azure queue.
You are developing code for the worker processes.
You have a function named DoWork() that handles data processing tasks.
You need to develop code for the worker processes that meets the following requirements:
• Properly access an item from the queue and be resistant to failure.
• Run on multiple background processes.
•Ensure that items are available to other workers two minutes after a worker process fails.
• Ensure that messages regarding failed processes are logged to the console.
How should you complete the code? To answer, select the appropriate options in the answer area. NOTE: Each connect selection its worth one point
Answer:
Explanation:
NEW QUESTION 7
You are a developer tot a SaaS company that otters many web services. All web services tot the company must meet the following requirements:
• Use API Management to access the services
• Use OpenID Connect for authentication.
• Prevent anonymous usage
A recent security audit found that several web services can be called without any authentication. Which API Management policy should you implement?
Answer: B
NEW QUESTION 8
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?
Answer: B
NEW QUESTION 9
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 10
You are developing a NET Core on premises application that updates multiple Azure SQL Database instances. The application must log all update commands attempted to a separate Azure SQL Database instance named AuditDb.
You define an outer TransactionScope with a loop to enumerate and run the SQL commands on each customer database connection and an inner TransactionScope to record transactions attempted within the outer TransactionScope to the AuditDb database.
You need to develop a method to perform the updates to the databases. The solution must meet the following requirements:
• All rows written to the AuditDb database must be committed even if the outer transaction fails.
• If an error occurs writing to the AuditDb database, the outer transaction must be rolled back.
• If an error occurs writing to the Customer databases, only the outer transaction must be rolled back.
• Values for TransactionScopeOption must be specified for the customer databases.
• Values for TransactionScopeOption must be specified for the AuditDb database. Which TransactionScopeOption values should you use?
Answer: A
NEW QUESTION 11
Your company's Internet Information Services (IIS) web server for Windows Server hosts legacy hosts legacy ASP.NET web apps. The applications do not use the Application freights SDK or APIs.
You install Application Insights on the Windows server running IE. You must use the Application Insights SDK to monitor the legacy web apps. You need to collect information about the legacy web apps. Which data class can you monitor?
Answer: A
NEW QUESTION 12
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.
Answer:
Explanation:
NEW QUESTION 13
A company sells products worldwide and provides customer service in many languages. The company has a customer service email address for customer requests. The language the email is written in needs to be recognized and routed to the appropriate local language department. You need to use the appropriate cognitive service to detect the language of the email. How should you initiate language detection?
Answer: B
Explanation: The DetectLanguageAsync(String) method detects the language of a text. References:
https://docs.microsoft.com/en-us/dotnet/api/microsoft.toolkit.services.microsofttranslator.translatorservice.detec
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. 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?
Answer: A
NEW QUESTION 15
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:
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?
Answer: B
NEW QUESTION 16
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?
Answer: B
NEW QUESTION 17
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:
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)