Act now and download your Microsoft AZ-202 test today! Do not waste time for the worthless Microsoft AZ-202 tutorials. Download Updated Microsoft Microsoft Azure Developer Certification Transition exam with real questions and answers and begin to learn Microsoft AZ-202 with a classic professional.
NEW QUESTION 1
You need to implement the purchase requirement. What should you do?
- A. Use the Bot FrameworkREST API attachment operations to send the user's voice and the Speech Service API to recognize intents.
- B. Use the Direct line REST API to send the user's voice and the Speech Service API to recognize intents.
- C. Use the Speech Service API to send the user's voice and the Bot Framework REST API conversation operations to recognize intents.
- D. Use the Bot Framework REST API conversation operations to send the user's voice and the Speech Service API to recognize intents.
Answer: D
Explanation:
Scenario: Enable users to place an order for delivery or pickup by using their voice.
You must develop a chatbot by using the Bot Builder SDK and Language Understanding Intelligence Service (LUIS). The chatbot must allow users to order food for pickup or delivery.
The Bot Framework REST APIs enable you to build bots that exchange messages with channels configured in the Bot Framework Portal, store and retrieve state data, and connect your own client applications to your bots. All Bot Framework services use industry-standard REST and JSON over HTTPS.
The Speech Service API is used to recognize intents. References:
https://docs.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-connector-concepts?view=azure- https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/how-to-recognize-intents-from-speech
NEW QUESTION 2
You are developing an IoT solution.
The solution requires bidirectional communication between a client .NET application and Azure IoT hub. A
.N ET back-end application will connect to the IoT Hub to process information.
You need to collect the values required for the back-end application to connect with the newly created IoT Hub.
How should you complete the commands? To answer, select the appropriate options in the answer area.
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
Box 1: show
Event Hub-compatible endpoint
az iot hub show --query properties.eventHubEndpoints.events.endpoint --name {your IoT Hub name} Box 2: show
Event Hub-compatible name
az iot hub show --query properties.eventHubEndpoints.events.path --name {your IoT Hub name}
Box 3: show
az iot hub policy show --name iothubowner --query primaryKey --hub-name {your IoT Hub name} Box 4: primaryKey
References:
https://github.com/Azure-Samples/azure-iot-samples-csharp/blob/master/iot-hub/Quickstarts/read-d2c-messages
NEW QUESTION 3
You develop a bot by using Language Understanding Intelligence Service (LUIS) and the .NET Bot framework. You use LUIS in the Azure portal to optimize the bot.
You review the utterances and determine that users are requesting time and venue information for events. You need to improve the prediction efficiency of the bot.
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.
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
Step 1: Create an intent for each event type Identify your intents
Step 2: Add example utterances
Create example utterances for each intent Step 3: Create a List Entity
Identify your entities
A list entity is an explicitly specified list of values. Each value consists of one or more synonyms. In a travel app, you might choose to create a list entity to represent airport names.
References:
https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-how-plan-your-app
NEW QUESTION 4
You are creating an app that uses Event Grid to connect with other services. Your app's event data will be sent to a servefless function that checks compliance. This function is maintained by your company.
You write a new event subscription at the scope of your resource. The event must be invalidated after 3 specific period of time. You need to configure Event Grid to ensure security.
What should you implement? To answer, select the appropriate options in [he answer area. NOTE: Each correct selection is worth one point
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
Box 1: SAS tokens
Custom topics use either Shared Access Signature (SAS) or key authentication. Microsoft recommends SAS, but key authentication provides simple programming, and is compatible with many existing webhook publishers.
In this case we need the expiration time provided by SAS tokens. Box 2: ValidationCode handshake
Event Grid supports two ways of validating the subscription: ValidationCode handshake (programmatic) and ValidationURL handshake (manual).
If you control the source code for your endpoint, this method is recommended.
NEW QUESTION 5
You have a web application that runs on a single Azure virtual machine (VM) instance. The application performs time-consuming and CPU-intensive workloads. During peak hours, the application runs more slowly and the user experience is degraded.
You need to improve the performance of the application while minimizing costs.
Which two actions should you perform? Each correct answer presents a complete solution.
NOTE Each correct selection is worth one point.
- A. Create and set up additional VM instances as additional web servers to host the application.
- B. Change the VM type to the Compute Optimized F-Series size.
- C. Set up and configure a central Redis Cache server and implement caching on web servers.
- D. Set up and configure an Azure Queue in a storage accoun
- E. Configure the web application to add tasks to the queue.
- F. Set up and configure an Azure Service Bus Queu
- G. Configure the web application to add tasks to the queue.
Answer: B
NEW QUESTION 6
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.
- A. Mastered
- B. Not Mastered
Answer: A
Explanation: 
NEW QUESTION 7
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)
- A. Option A
- B. Option B
- C. Option C
- D. Option D
Answer: A
NEW QUESTION 8
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 9
You are developing an Azure Durable Function instance. You need to add a delay by using a durable timer. What type of function should you use?
- A. Webhook
- B. Orchestrator
- C. Client
- D. Activity
Answer: B
Explanation:
Durable Functions provides durable timers for use in orchestrator functions to implement delays or to set up timeouts on async actions.
References:
https://docs.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-overview
NEW QUESTION 10
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.
- 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 11
You are developing a .NET Core Web Job that is triggered by an Azure Storage Queue.
The project uses dependency injection from the NuGet package Microosft.Extensions.DependencyInjection. The Webjob logic is contained in the Worker class. The program.cs file contains the following code:
You need to ensure that the Worker class can run when an Azure Storage Queue message arrives.
Which code segments should you use to 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.
- A. Mastered
- B. Not Mastered
Answer: A
Explanation: 
NEW QUESTION 12
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 13
You maintain an existing Azure SQL Database instance. Management of the database is performed by an external party. All cryptographic keys are stored in an Azure Key Vault.
You must ensure that the external party cannot access the data in the SSN column of the Person table.
Will each protection method meet the requirement? To answer, drag the appropriate responses to the correct protection methods. Each response 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.
- A. Mastered
- B. Not Mastered
Answer: A
Explanation: 
NEW QUESTION 14
You need to update the chatbot to greet the user when they sign in.
Which two rich card formats can you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point
- A. Thumbnail
- B. Adaptive
- C. Sign-in
- D. Hero
- E. Animation
Answer: AC
Explanation:
Scenario: The chatbot greeting interface must match the formatting of the following example:
A message exchange between user and bot can contain one or more rich cards rendered as a list or carousel. The Attachments property of the Activity object contains an array of Attachment objects that represent the rich cards and media attachments within the message.
The Bot Framework currently supports eight types of rich cards:
Thumbnail Card. A card that typically contains a single thumbnail image, one or more buttons, and text.
SignIn Card. A card that enables a bot to request that a user sign-in. It typically contains text and one or more buttons that the user can click to initiate the sign-in process.
NEW QUESTION 15
You need to resolve the Policy Loss issue.
What are two possible ways to achieve the goal? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
- A. Add an Azure Event Hu
- B. Send the policy to the event hu
- C. Configure the Policy service to read actions from the event hub.
- D. Add an Azure Service Bus queu
- E. Send the policy to the queu
- F. Configure the Policy service to read actions from the queue.
- G. Add an Azure Queue storage queu
- H. Send the policy to the queu
- I. Configure the Policy service to read actions from the queue.
- J. Add an Azure Service Bus topi
- K. Send the policy to the topi
- L. Configure the Policy service to read actions from the topic.
Answer: BD
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 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 17
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 group:
Developers must connect to Dev$erver onry through DevWorkstatioan. To maintain security, DevServer must not accept connections from the internet.
You need to create a private connection between the DevWortcstation and DevServer. Solution: Configure an IP address on each subnet within the same address space. Does the solution meet the goal?
- A. Yes
- B. No
Answer: A
NEW QUESTION 18
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.
- A. Mastered
- B. Not Mastered
Answer: A
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 19
A company is creating an loT solution for connecting to smart refrigerators. You plan to use the Azure IoT Hub Device Provisioning Service for this process.
You need to provision the devices automatically. Which feature of Device Provisioning Service should you use?
- A. Error policy
- B. Device registration and configuration
- C. Template registration
- D. Remote monitoring
Answer: B
Explanation:
Azure IoT auto-provisioning can be broken into three phases:
- Service configuration - a one-time configuration of the Azure IoT Hub and IoT Hub Device Provisioning Service instances, establishing them and creating linkage between them.
- Device enrollment - the process of making the Device Provisioning Service instance aware of the devices that will attempt to register in the future.Note: The Device Provisioning Service is a helper service that enables just-in-time provisioning of devices to an IoT hub, without requiring human intervention. After successful provisioning, devices connect directly with their designated IoT Hub. This process is referred to as auto-provisioning, and provides an out-of-the-box registration and initial configuration experience for devices.
- Device registration and configuration - initiated upon boot up by registration software, which is built using a Device Provisioning Service client SDK appropriate for the device and attestation mechanism. The software establishes a connection to the provisioning service for authentication of the device, and subsequent registration in the IoT Hub. Upon successful registration, the device is provided with its IoT Hub unique device ID and connection information, allowing it to pull its initial configuration and begin the telemetry process. In production environments, this phase can occur weeks or months after the previous two phases.
References:
https://docs.microsoft.com/en-us/azure/iot-dps/concepts-auto-provisioning
NEW QUESTION 20
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 implements the Azure Storage Does the solution meet the goal?
- A. Yes
- B. No
Answer: A
NEW QUESTION 21
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.)
For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.
- 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:
Box 2: No
It would not load the metadata Box 3: Yes
NEW QUESTION 22
......
Recommend!! Get the Full AZ-202 dumps in VCE and PDF From Exambible, Welcome to Download: https://www.exambible.com/AZ-202-exam/ (New 150 Q&As Version)