Proper study guides for AZ-202 Microsoft Azure Developer Certification Transition certified begins with preparation products which designed to deliver the by making you pass the AZ-202 test at your first time. Try the free right now.
Microsoft AZ-202 Free Dumps Questions Online, Read and Test Now.
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 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:
• In the .NET method, define a new transaction in a using block.
• Within the using block, establish connections to each Azure SQL Database instance.
• Run the SQL operations on each connection. If no exception occurs, commit the transaction. Does the solution meet the goal?
Answer: A
NEW QUESTION 2
Contoso, Ltd. hosts the following ASP.NET workloads in Azure:
Users of the Sales software report mismatches between shown inventory at the time of sale and actual availability. Transactions across the two systems result in inconsistent reads and writes. You encapsulate Sales order creation and Inventory status updates in elastic transactions.
You need to recommend changes to code and the databases to support transactions.
Which actions should you recommend? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Answer:
Explanation:
NEW QUESTION 3
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.
Answer:
Explanation:
NEW QUESTION 4
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?
Answer: B
Explanation: References:
https://docs.microsoft.com/en-us/azure/batch/quick-run-dotnet
NEW QUESTION 5
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?
Answer: D
NEW QUESTION 6
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 7
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?
Answer: A
NEW QUESTION 8
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 9
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?
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 10
You implement Azure Redis Cache to allow .NET applications to store customer session data for cache clients. You have the following .NET Core class library. The class library defines lazyConnection as a static private variable as shown in the following code. (Line numbers are included for reference only.)
The method must update the database and invalidate the cache using the correct methods and parameters. Operations mus'&e performed asynchronously wherever possible. You must ensure that the operation in the client application does not result in another client retrieving stale cache data.
You need to implement the code.
Answer:
Explanation:
NEW QUESTION 11
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
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 12
You need to add the Supporting Operating Systems section to the Getting Started document.
How should you complete the section? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Answer:
Explanation: Scenario: Employees are provided with a getting started document when they first use the solution. The documentation includes details on supported operating systems for Azure File upload, and instructions on how to configure the mounted folder.
You can use Azure file shares on a Windows installation that is running either in an Azure VM or
on-premises. The following table illustrates which OS versions support accessing file shares in which environment:
References:
https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows
NEW QUESTION 13
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?
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 14
You are configuring Azure Redis Cache for a production web application.
The web application and Azure Redis Cache must be able to withstand a catastrophic t configuration changes. You create a storage account to persist cache data if needed
You need to implement a solution. What should you do?
Answer: C
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 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 16
You have an Azure subscription.
You must create a file share with a quota of 2,048 GB. You create the following variables:
In which order should you arrange the Azure CLI commands to develop the solution? To answer, move all the commands from the list of commands to the answer area and arrange them in the correct order.
Answer:
Explanation: Step 1:
Create a resource group
A resource group is a logical container in which Azure resources are deployed and managed. If you don't already have an Azure resource group, you can use the az group create command to create one.
The following example creates a resource group named myResourceGroup in the East US location: az group create --name myResourceGroup --location eastus
Step 2:
Create a storage account
The following example creates a storage account named mystorageaccount<random number> by using the az storage account create command, and then puts the name of that storage account in the $STORAGEACCT variable.
STORAGEACCT=$(az storage account create
--resource-group "myResourceGroup"
--name "mystorageacct$RANDOM"
--location eastus
--sku Standard_LRS
--query "name" | tr -d '"') Step 3:
Get the storage account key
Storage account keys control access to resources in a storage account. The keys are automatically created when you create a storage account. You can get the storage account keys for your storage account by using the az storage account keys list command:
STORAGEKEY=$(az storage account keys list
--resource-group "myResourceGroup"
--account-name $STORAGEACCT
--query "[0].value" | tr -d '"') Step 4:
Now, you can create your Azure file share. Create file shares by using the az storage share create command. This example creates an Azure file share named myshare:
az storage share create
--account-name $STORAGEACCT
--account-key $STORAGEKEY
--name "myshare" References:
https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-cli
P.S. Passcertsure now are offering 100% pass ensure AZ-202 dumps! All AZ-202 exam questions have been updated with correct answers: https://www.passcertsure.com/AZ-202-test/ (150 New Questions)