Act now and download your AZ-202 Exam Questions and Answers today! Do not waste time for the worthless AZ-202 Braindumps tutorials. Download AZ-202 Exam Questions and Answers with real questions and answers and begin to learn AZ-202 Braindumps with a classic professional.
Free AZ-202 Demo Online For Microsoft Certifitcation:
NEW QUESTION 1
Your company is migrating applications to Azure. The U department must allow internal developers to communicate with Microsoft support.
The service agents of the IT department must only have view resources and create support ticket permissions to all subscriptions. A new custom role must be created by reusing a default role definition and changing the permissions.
You need to create the custom role.
To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Answer:
Explanation:
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. 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: Deploy a Windows container to Azure Service Fabric for each component. Does the solution meet the goal?
- A. YES
- B. NO
Answer: B
Explanation: We should use stateful services when we want data to persist, and stateless service when data must not persist. https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-reliable-services-introduction References:
https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-reliable-services-introduction
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 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 stateful Reliable Service for Routing Service. Deploy a Guest Executable to Service Fabric for each component.
Does the solution meet the goal?
- A. YES
- B. NO
Answer: B
Explanation: We should use stateful services when we want data to persist, and stateless service when data must not persist. References:
https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-reliable-services-introduction
NEW QUESTION 4
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.
Answer:
Explanation:
NEW QUESTION 5
You develop a serverless application using several Azure Functions. These functions connect to data from within the code.
You want to configure tracing for an Azure Function App project. You need to change configuration settings in the hostjson file. Which tool should you use?
- A. Azure portal
- B. Azure PowerShell
- C. Azure Functions Core Tools (Azure CLI)
- D. Visual Studio
Answer: C
NEW QUESTION 6
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 7
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.
Answer:
Explanation:
NEW QUESTION 8
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.
- A. SearchService
- B. SearchlndexCIient
- C. SearchServiceClient
- D. SearchCredentials
Answer: CD
NEW QUESTION 9
Note: This question is part of a series of questions that present the same solution. Each question in the series contains a unique solution. Determine whether the 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: Run the following Azure PowerShell command:
Does the solution meet the goal?
- A. Yes
- B. No
Answer: B
NEW QUESTION 10
You are developing a solution that requires serverless code execution in Azure.
The solution has two functions that must run in a specific order.
You need to ensure that the second function can use the output from the first function,
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 11
You host an on-premises ASP.NET Web API at the company headquarters. The Web API is consumed by applications running at the company's branch offices using the Azure Relay service. All the users of the applications are on the same Azure Active Directory (Azure AD).
You need to ensure that the applications can consume the Web API. What should you do?
- A. Create separate Azure AD groups named Senders and Receiver
- B. In Access Control (IAM) for the Relay namespace, assign Senders the Reader role and assign Receivers the Reader role.
- C. Create dedicated Azure AD identities named Sender and Receive
- D. Assign Sender the Azure AD Identity Reader rol
- E. Assign Receiver the Azure AD Identity Reader rol
- F. Configure applications to use the respective identities.
- G. Create a Shared Access policy for the namespac
- H. Use a connection string in Web API and use a different connection string in consumer applications.
- I. Create a Shared Access policy for Send permissions and another for Receive permissions.
Answer: C
Explanation: To begin using Service Bus messaging entities in Azure, you must first create a namespace with a name that is unique across Azure. A namespace provides a scoping container for addressing Service Bus resources within your application.
When you publish an application through Azure Active Directory Application Proxy, you create an external URL for your users to go to when they're working remotely. This URL gets the default domain yourtenant.msappproxy.net.
References:
https://docs.microsoft.com/en-us/azure/active-directory/manage-apps/application-proxy-configure-custom-doma
NEW QUESTION 12
You have an Azure App Service API that allows users to upload documents to the cloud with a mobile device. A mobile app connects to the service by using REST API calls. When new document is uploaded to the service, the service extracts the document metadata. Usage statistics for the app show significant increases in app usage.
The extraction process is CPU-intensive. You plan to modify the API to use a queue.
You need to ensure that the solution scales, handles request spikes, and reduces costs between request spikes. What should you do?
- A. Configure a CPU Optimized virtual machine (VM) and install the Web App service
- B. Move the extraction logic into an Azure Functio
- C. Create a queue triggered
- D. Move the extraction logic into WebJob
- E. Configure WebJobs to run in a loop and process a queue.
- F. Move the extraction logic into Azure Batc
- G. Configure Azure Batch to process from a queue across a pool of virtual machine (VM) nodes.
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 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?
- A. Yes
- B. No
Answer: A
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 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 15
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 16
You plan to create a Docker image that runs an ASP.NET Core application named ContosoApp. You have a setup script named setupScript.psl and a series of application files including ConlosoApp.dll.
You need to create a Dockertile document that meets the following requirements:
• Call setupScript.psl when the container is built.
• Run ContosoApp.dll when the container starts.
The Dockerfile document must be created in the same folder where ContosoApp.dll and setupScript.psl are stored.
Which four commands should you use to develop the solution? To answer, move the appropriate commands from the list of commands to the answer area and arrange them in the correct order.
Answer:
Explanation:
NEW QUESTION 17
You need to implement the Log policy.
How should you complete the Azure Event Grid subscription? To answer, drag the appropriate JSON segments to the correct locations. Each (SON 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: Box 1:WebHook
Scenario: If an anomaly is detected, an Azure Function that emails administrators is called by using an HTTP
WebHook.
endpointType: The type of endpoint for the subscription (webhook/HTTP, Event Hub, or queue). Box 2: SubjectBeginsWith
Box 3: Microsoft.Storage.BlobCreated Scenario: Log Policy
All Azure App Service Web Apps must write logs to Azure Blob storage. All log files should be saved to a container named logdrop. Logs must remain in the container for 15 days.
Example subscription schema
{
"properties": { "destination": {
"endpointType": "webhook", "properties": {
"endpointUrl": "https://example.azurewebsites.net/api/HttpTriggerCSharp1?code=VXbGWce53l48Mt8wuotr0GPmyJ/nDT4hgd
}
},
"filter": {
"includedEventTypes": [ "Microsoft.Storage.BlobCreated", "Microsoft.Storage.BlobDeleted" ], "subjectBeginsWith": "blobServices/default/containers/mycontainer/log",
"subjectEndsWith": ".jpg", "isSubjectCaseSensitive ": "true"
}
}
}
References:
https://docs.microsoft.com/en-us/azure/event-grid/subscription-creation-schema
NEW QUESTION 18
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 19
You are creating a collaborative image hosting platform as an ASP.NET MVC web application. Users add, update, and modify images on the platform. Images are stored in Azure Blob storage.
More than one user at a time must be able to modify the same image. You need to implement optimistic concurrency for uploading images.
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.
NOTE: Each correct solution is worth one point.
Answer:
Explanation: Optimistic concurrency means allowing concurrency conflicts to happen, and then reacting appropriately if they do.
For the PUT method, If-Match can be used to prevent the lost update problem. It can check if the modification of a resource that the user wants to upload will not override another change that has been done since the original resource was fetched. If the request cannot be fulfilled, the 412 (Precondition Failed) response is returned.
References:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Match
NEW QUESTION 20
You are developing an Azure Batch solution to perform CPU intensive calculations. The calculates occur at a specific time each week and last for approximately one hour. Before any changes are made, a t.mer must be created to measure the MM duration. The timer must start before the first calculation .s queued to run on the compute node. You need to implement the timer. Before which tine should the timer be created?
- A. CloudJob = batchClient.JobOperations.CreateJob();
- B. batchClient.JobOperations.AddTask(JobId, tasks);
- C. batchClient.Utilities.CreateTaskStateMonitor().WaitAll(addedTasks, TaskState.Completed, timeout);
- D. using (BatchClient batchClient = BatchClient.Open(cred))
Answer: B
Explanation: References:
https://docs.microsoft.com/en-us/azure/batch/quick-run-dotnet
Recommend!! Get the Full AZ-202 dumps in VCE and PDF From Surepassexam, Welcome to Download: https://www.surepassexam.com/AZ-202-exam-dumps.html (New 150 Q&As Version)