It is more faster and easier to pass the AZ-202 Dumps Questions by using AZ-202 Dumps. Immediate access to the AZ-202 Exam Dumps and find the same core area AZ-202 Exam Dumps with professionally verified answers, then PASS your exam with a high score now.
Also have AZ-202 free dumps questions for you:
NEW QUESTION 1
You are developing an IoT solution. The solution requires bidirectional communication between a .NET application and Azure IoT Hub.
You need to obtain connection information for a single test device.
Which three 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.
NOTE: Each correct selection is worth one point.
Answer:
Explanation: Run the following command in the command-line environment where you are using the Azure CLI to install the IoT extension:
Step 1: az extension add
--name <iot-extension-name>
Run the following command in the command-line environment where you are using the Azure CLI to install the IoT extension:
az extension add --name azure-cli-iot-ext Step 2: az iot hub device-identity create
--hub-name <iot-hub-name>
--device-id <device-id>
Create a new device in the IoT Hub “DemoHub”
Command: az iot hub device-identity create --hub-name DemoHub --device-id testDevice Step 3: az iot hub device-identity show-connection-string
--hub-name { iot-hub-name }
--device-id <device-id> References:
https://github.com/MicrosoftDocs/azure-docs/blob/master/includes/iot-hub-get-started-create-device-identity.md
NEW QUESTION 2
You need to add code at line EG15 in EventGridController.cs to ensure that the Log policy applies to all services.
How should you complete the code? 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: Box 1: Status
Box 2: Succeded
Box 3: operationName Scenario: Policy service
You develop and deploy a stateful ASP.NET Core 2.1 web application named Policy service to an Azure App Service Web App. The application reacts to events from Azure Event Grid and performs policy actions based on those events.
The application must include the Event Grid Event ID field in all Application Insights telemetry.
NEW QUESTION 3
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 4
You are developing a workflow solution using Azure technologies.
What should you Implement to meet each requirement? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Answer:
Explanation: Box 1: Logic Apps only
You can manually trigger a logic app deployed in Azure from Visual Studio. On the Logic App Designer toolbar, choose Run Trigger.
To check the status and diagnose problems with logic app runs, you can review the details, such as inputs and outputs, for those runs in Visual Studio.
Box 2: Durable functions only
Box 3: Durable functions and Logic Apps References:
https://docs.microsoft.com/en-us/azure/logic-apps/manage-logic-apps-with-visual-studio https://docs.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-create-portal
NEW QUESTION 5
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?
- A. Use the Spark natural language processing functionality on Azure HDInsight.
- B. Implement the DetectLanguageAsync method of the TextAnalyticsClient object.
- C. Use the RecognizeAsync method of the SpeechRecognizer object.
- D. Use the Action Set API of the Custom Decision Service.
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 6
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 7
You need to resolve the delivery API error. What should you do?
- A. Implement simple retry by using the EnableRetryOnFailure feature of Entity Framework.
- B. Implement exponential backoff by using the EnableRetryOnFailure feature of Entity Framework.
- C. Implement the Circuit Breaker pattern by using the EnableRetryOnFailure feature of Entity Framework.
- D. Invoke accustom execution strategy in Entity Framework.
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 8
Note: This question is part of a series of questions that present the same scenario solution meets the stated goals.
You have the following resource groups:
Developers must connect to DevServer only through DevWorkstation. To maintain security, DevServer must not accept connections from the internet
You need to create a private connection between the DevWorkstation and DevServer.
Solution: Configure a public IP address on DevServer_WestCentral. Configure the Network Security Group to allow all incoming ports.
Does the solution meet the goal?
- A. Yes
- B. No
Answer: B
NEW QUESTION 9
You develop an IoT solution by using Node.js. The solution is ready to deploy to the production environment.
You must implement the device twin capabilities of Azure IoT Hub. You must register a sensor named Sensor00. The IoT Hub name is Hub01.
You need to register the endpoint with ContosoHub01 so that you can configure them from your solution. 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: Step 1: az extension add --name azure-cli-iot-ext
Run the following command in the command-line environment where you are using the Azure CLI to install the IoT extension:
az extension add --name azure-cli-iot-ext Step 2: az iot hub device-identity create
--hub-name {Hub01}
--device-id Sensor00
Create a new device identity called myDeviceId and retrieve the device connection string with these commands:
az iot hub device-identity create --device-id myDeviceId --hub-name {Your IoT Hub name}
az iot hub device-identity show-connection-string --device-id myDeviceId --hub-name {Your IoT Hub name}
-o table
Step 3: az iot hub device-identity show-connection-string
--hub-name {Hub01}
--device-id Sensor00
--output table Step 4:
Create the service app
In this section, you create a Node.js console app that adds location metadata to the device twin. npm install azure-iothub --save
References:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-node-node-twin-getstarted
NEW QUESTION 10
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?
- A. validate-jwt
- B. authentication-certificate
- C. check-header
- D. jsonp
Answer: B
NEW QUESTION 11
You maintain an Azure Web App that runs in a container. The container is using a Dockerfile that is copied to numerous places and consumes a large amount of storage. You need to optimize the Dockerfile.
What should you do?
- A. Use multiple RUN instructions for cached operation.
- B. Configure the CU with a .dockerignore file.
- C. Minimize layers by concatenating all RUN instructions on one line.
- D. Minimize layers by grouping actions in as few RUN instructions as possible
Answer: D
Explanation: Minimize the number of layers.
Prior to Docker 17.05, and even more, prior to Docker 1.10, it was important to minimize the number of layers in your image.C
In Docker 1.10 and higher, only RUN, COPY, and ADD instructions create layers. References:
https://docs.docker.com/v17.09/engine/userguide/eng-image/dockerfile_best-practices
NEW QUESTION 12
You need to ensure that the solution can meet the scaling requirements for Policy Service. Which Azure Application Insights data model should you use?
- A. an Application Insights metric
- B. an Application Insights dependency
- C. an Application Insights trace
- D. an Application Insights event
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: Create a new Azure Event Grid subscription for all authentication that delivers messages to an Azure Event Hub. Use the subscription to process signout 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 14
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.
Answer:
Explanation: 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/
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 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 16
You need to ensure the security policies are met. What code do you add at line CS07?
A)
B)
C)
D)
- A. Option A
- B. Option B
- C. Option C
- D. Option D
Answer: D
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)