AZ - 204 : Azure Developer Associate

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

You have an application named Application1 in an Azure App Service named AppService1. Your application users are currently accessing Application1 using http://employeerewards.com. You need to enforce Application1 users to use https://employeerewards.com. What changes should you implement?

Explanation - Upload a certificate to AppService1 - Set HTTPS only to On By default, you can access your app using HTTP. You can redirect all HTTP requests to the HTTPS port. In your app page, in the left navigation, select SSL settings. Then, in HTTPS Only, select On. https://docs.microsoft.com/en-us/azure/app-service/configure-ssl-bindings#enforce-https

You are a developer for a company that publishes APIs using Azure API Management. You need to strip AspNet-Version from the response of the APIs. What should you implement?

Explanation A new policy. You need to transform your API so it does not reveal info about the private backend. To delete the following headers in the HTTP response, you need to set a transformation policy. X-Powered-By X-AspNet-Version https://docs.microsoft.com/en-us/azure/api-management/transform-api#transform-an-api-to-strip-response-headers

Which Azure RBAC roles allows you to upload images to an Azure Container Registry?

Explanation AcrPush Contributor The Azure Container Registry service supports a set of built-in Azure roles that provide different levels of permissions to an Azure container registry. Use Azure role-based access control (Azure RBAC) to assign specific permissions to users, service principals, or other identities that need to interact with a registry.

You have uploaded a certificate to an Azure Web App named Application1. You need to access the certificate from the app code of Application1. What should you configure?

Explanation Add an app setting (WEBSITE_LOAD_CERTIFICATES) to the Application1 configuration In your application code, you can access the public or private certificates you add to App Service. Your app code may act as a client and access an external service that requires certificate authentication, or it may need to perform cryptographic tasks. The WEBSITE_LOAD_CERTIFICATES app setting makes the specified certificates accessible to your Windows hosted app in the Windows certificate store, https://docs.microsoft.com/en-us/azure/app-service/configure-ssl-certificate-in-code

You are developing an application that executes short lived processes on a schedule. You need to recommend a service that keeps costs and admin activities minimal. What should you recommend?

Explanation Azure Functions. Azure Functions allows you to run small pieces of code (called "functions") without worrying about application infrastructure. A function is "triggered" by a specific type of event. Supported triggers include responding to changes in data, responding to messages, running on a schedule, or as the result of an HTTP request. https://docs.microsoft.com/en-us/azure/azure-functions/functions-overview

You have an Azure Storage account named StorageAccount1. You plan to store data that is rarely accessed in StorageAccount1 for several years. You must ensure that the data in Blob storage is always available for immediate access. The solution must minimize storage costs. Which storage tier should you use?

Explanation Cool. The cool access tier has lower storage costs and higher access costs compared to hot storage. This tier is intended for data that will remain in the cool tier for at least 30 days. Example usage scenarios for the cool access tier include: Short-term backup and disaster recovery datasets. Older media content not viewed frequently anymore but is expected to be available immediately when accessed. Large data sets that need to be stored cost effectively while more data is being gathered for future processing. (For example, long-term storage of scientific data, raw telemetry data from a manufacturing facility) https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers?tabs=azure-portal

You are developing a web service that should prevent anonymous usage and use OpenID connect for authentication. You need to implement an API Management policy for the web service. Which policy should you use?

Explanation Correct Answers: Validate-jwt - The requirement from the question to validate requests using API management policy. You can use the Validate JWT policy to pre-authorize requests in API Management, by validating the access tokens of each incoming request. If a request does not have a valid token, API Management blocks it. https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-protect-backend-with-aad#configure-a-jwt-validation-policy-to-pre-authorize-requests

You have a mobile app that connects to the Azure App Service API to upload and extract metadata from the documents. The process of extracting metadata is CPU-intensive operation. Usage of the mobile app has increased drastically. You need to modify the App Service API to use a queue. The revised solution must scale and handle spikes in the number of requests. You need to recommend a solution keeping costs minimal between request spikes. What should you recommend?

Explanation Create a queue triggered Azure function to process the queue and move extraction logic to the Azure function.

You developing an application named Application1 that uses Azure Blob storage named Storage1. For audit purposes, Application1 must read the transaction logs of all changes that occur to the blobs and blob metadata in Storage1. The changes must be in the order in which they occurred. You need to process the logs asynchronously and should include only create, update, delete and copy operations. What should you do to implement audit requirement?

Explanation Enable Change feed on the storage account and process all changes for available events. Change feed provides transaction logs of all the changes that occur to the blobs and the blob metadata in your storage account. The change feed provides ordered, guaranteed, durable, immutable, read-only log of these changes. Client applications can read these logs at any time, either in streaming or in batch mode. https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-change-feed?tabs=azure-portal

A software as a service (SaaS) company is developing a web service for several customers. The web service connects to a SQL database in an on-premise environment. You plan to deploy the web service to an Azure Web App. The web service also includes a WebJob that processes data and each instance of WebJob must process data for a single customer. You need to configure Azure resources in an isolated network. Which pricing tier should you consider for the App Service plan keeping costs minimal?

Explanation Isolated

You have deployed several web applications into Azure App Service. You need to collect detailed resource logs for monitoring health and availability of Azure App Service. Select the following options should you consider as destination?

Explanation Log Analytics, Storage Account, Event Hub

You are creating a CLI script that creates an Azure web app and related services in Azure App Service. You need to automatically deploy code from Git-Hub to the newly created web app. The web app uses the following variables: $gitrepo=https://github.com/samples/app1 $webappname=mywebapp Select the correct script from below

Explanation The correct script is $gitrepo=https://github.com/samples/app1 $webappname=mywebapp # Create a resource group. az group create --location westeurope --name myResourceGroup # Create an App Service plan in `FREE` tier. az appservice plan create --name $webappname --resource-group myResourceGroup --sku FREE # Create a web app. az webapp create --name $webappname --resource-group myResourceGroup --plan $webappname # Deploy code from a public GitHub repository. az webapp deployment source config --name $webappname --resource-group myResourceGroup \ --repo-url $gitrepo --branch master --manual-integration https://docs.microsoft.com/en-us/azure/app-service/scripts/cli-deploy-github?toc=/cli/azure/toc.json

You are developer for a company named Company1. Company1 has an application that uses Azure Cosmos DB configured with Azure Cosmos DB SQL API. The database contains millions of documents without distinct values for partitioning. You need to implement a scaling strategy for the database to scale individual containers. The database must meet the performance requirements of the application by spreading the workload evenly across all partitions over time. You need to select a partition key. Which two partition keys can you use?

Explanation The goal is to distribute your data and workload evenly across the items associated with these partition key values. If such a property doesn't exist in your data, you can construct a synthetic partition key. You can form a partition key by concatenating multiple property values into a single artificial partition Key property. These keys are referred to as synthetic keys. Another possible strategy to distribute the workload more evenly is to append a random number at the end of the partition key value. When you distribute items in this way, you can perform parallel write operations across partitions. https://docs.microsoft.com/en-us/azure/cosmos-db/synthetic-partition-keys

You have a service principal named ServicePrincipal1. You need to provide read access to ServicePrincipal1 to read the resources in a resource group named ResourceGroup1. Select the actions that should you perform in the correct sequence?

Explanation To access resources in your subscription, you must assign a role to the application. Permissions are inherited to lower levels of scope. For example, adding an application to the Reader role for a resource group means it can read the resource group and any resources it contains. To assign a role at the resource group scope, search for and select "Resource Groups", select the particular resource group, select Access Control (IAM), Select Add -> Add role assignment, Select the role you wish to add. https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal#assign-a-role-to-the-application

You are developing a web application that will be hosted in an Azure Web App. The users for web application will be authenticated by using their Azure Active Directory (Azure AD). Users will be assigned with one of the following permission levels: admin, normal, and reader. A user's Azure AD group membership must be used to determine the permission level. To achieve the above requirement, you have created a new Azure AD application and configured the value of the groupMembershipClaims option to All in the application's manifest. In the web application, you use the value of the groups claim from the JWT for the user to determine permissions. Did you achieve the requirement?

Explanation Yes To configure group's optional claims through the application manifest, use groupMembershipClaims. The valid values for groupMembershipClaims are: "All" (this option includes SecurityGroup, DirectoryRole, and DistributionList) "SecurityGroup" "DirectoryRole" "ApplicationGroup" (this option includes only groups that are assigned to the application) https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-optional-claims

You define an API Policy object by using the below XML markup: <set-variable name="bodySize" value="@(context.Request.Headers["Content-Length"][0])" /> <choose> <when condition="@(int.Parse(context.Variables.GetValueOrDefault<string>("bodySize"))<400000)"> </when> <otherwise> <rewrite-uri template="/put"/> <set-backend-service base-url="http://preparationlabs.com/api/8.1/"/> </otherwise> </choose> Select Yes if the below statement is true. Otherwise, select No 1. The XML Segment is part of the <inbound> section of the API policy. 2. An error will be thrown if the body size is >265K 3. The policy will retain the higher version if the request is http://preparationlabs.com/api/8.2/

Explanation Yes, No, No 1. The set-backend-service policy is used to redirect incoming requests. Therefore, this policy definition is part of inbound section https://docs.microsoft.com/en-us/azure/api-management/api-management-advanced-policies#choose 2. The condition on body size 400K. So, you will not get an error. 3. There are conditions defined in the policy based on the body size. So, it will not retain the higher version always. The default/otherwise is version 8.1

You have a new Azure subscription. You are developing an internal website for employees to view sensitive data. The website uses Azure Active Directory (Azure AD) for authentication. You need to implement multifactor authentication for the website. Which two actions should you perform?

Explanation - In Azure AD, create a new conditional access policy - Upgrade to Azure AD Premium Correct Answer(s): Multi-factor authentication (MFA) is a process in which a user is prompted for additional forms of identification during a sign-in event. For example, the prompt could be to enter a code on their cellphone or to provide a fingerprint scan. When you require a second form of identification, security is increased because this additional factor isn't easy for an attacker to obtain or duplicate. Azure AD Multi-Factor Authentication and Conditional Access policies give you the flexibility to require MFA from users for specific sign-in events. Prerequisite to configure conditional access policy is at least an Azure AD Premium P1 license. https://docs.microsoft.com/en-us/azure/active-directory/authentication/tutorial-enable-azure-mfa

A user named User1 has access to multiple subscriptions. User1 must be able to store and retrieve a storage account key and secret from Azure Key Vault. Select the order in which should you arrange the below PowerShell commands to achieve the goal? 1.Get-AzStorageAccountKey -ResourceGroupName $resGroup -Name $storAcct 2.Get-AzKeyVaultSecret -VaultName $vaultName 3.Get-AzSubscription 4.$secretvalue = ConvertTo-SecureString $storAcctKey -AsPlainText -Force Set-AzKeyVaultSecret -VaultName $vaultName -Name $secretName -SecretValue $secretvalue 5.Set-AzContext -SubscriptionId $subscriptionID

Explanation 3,5,1,4,2 The correct script is 1.Get-AzSubscription 2.Set-AzContext -SubscriptionId $subscriptionID 3.Get-AzStorageAccountKey -ResourceGroupName $resGroup -Name $storAcct 4.$secretvalue = ConvertTo-SecureString $storAcctKey -AsPlainText -Force Set-AzKeyVaultSecret -VaultName $vaultName -Name $secretName -SecretValue $secretvalue 5.Get-AzKeyVaultSecret -VaultName $vaultName

You have a storage account named Storage1. You need to create a copy of Storage1 in another region and copy data to newly created storage account. Select the order in which should you perform the below actions? 1. Use AZCopy to copy the data. 2. Deploy the template to create a new storage account in the target region. 3. Export a Resource Manager template. 4. Create a new template deployment. 5. Modify the template by changing the storage account name and region.

Explanation 3,5,4,2,1 To move a storage account, create a copy of your storage account in another region. Then, move your data to that account by using AzCopy, or another tool of your choice. Export a template. Modify the template by adding the target region and storage account name. Deploy the template to create the new storage account. Configure the new storage account. Move data to the new storage account. https://docs.microsoft.com/en-us/azure/storage/common/storage-account-move

You have a web application that is deployed to an Azure App Service. You need to implement an Azure monitoring service that can visualize the relationships between application components. Which service should you use?

Explanation Azure Application Insights Application Map helps you spot performance bottlenecks or failure hotspots across all components of your distributed application. You can see the full application topology across multiple levels of related application components. Components could be different Application Insights resources, or different roles in a single resource. The app map finds components by following HTTP dependency calls made between servers with the Application Insights SDK installed. https://docs.microsoft.com/en-us/azure/azure-monitor/app/app-map?tabs=net

You have a web application that is deployed to an Azure App Service. You need to implement an Azure monitoring service that can log requests and exceptions to a specific line of code within the application. Which service should you use?

Explanation Azure Application Insights Application Insights is an extensible Application Performance Management (APM) service for developers and DevOps professionals. Use it to monitor your live applications. It will automatically detect performance anomalies, and includes powerful analytics tools to help you diagnose issues and to understand what users actually do with your app. It's designed to help you continuously improve performance and usability. It works for apps on a wide variety of platforms including .NET, Node.js, Java, and Python hosted on-premises, hybrid, or any public cloud. It integrates with your DevOps process, and has connection points to a variety of development tools. It can monitor and analyze telemetry from mobile apps by integrating with Visual Studio App Center. https://docs.microsoft.com/en-us/azure/azure-monitor/app/app-insights-overview

You have a web application that is deployed to an Azure App Service. You need to implement an Azure monitoring service that can analyze how many users return to the application and how often they select a particular dropdown value. Which service should you use?

Explanation Azure Application Insights Custom events and metrics in App insights allow you write yourself in the client or server code, to track business events such as items sold or games won. https://docs.microsoft.com/en-us/azure/azure-monitor/app/app-insights-overview

You are developing an application that uses a micro service architecture. You need to design a communication service for communicating transactional messages between various parts of the solution. Messages must be communicated in first-in-first-out (FIFO) order. What service should you consider? Azure Storage Queue Azure Service Bus (Correct) Azure Event Grid Azure Event Hub

Explanation Azure Service Bus Azure Service Bus queue provides a guaranteed first-in-first-out (FIFO) ordered delivery. https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-azure-and-service-bus-queues-compared-contrasted

You have an application that use Azure API Management to publish APIs for external partners. You must change the behavior of the API to provide additional context to back-end services Which type of policy should you implement to forward the user ID that is associated with the subscription key for the original request to the back-end service?

Explanation Inbound Below is the sample snippet of the policy to send user context to backend service. <policies> <inbound> <base /> <!-- Forward the name of the product associated with the subscription key in the request to the backend service. --> <set-query-parameter name="x-product-name" exists-action="override"> <value>@(context.Product.Name)</value> </set-query-parameter> <!-- Forward the user id associated with the subscription key in the request as well as the region where the proxy processing the request is hosted. --> <set-header name="x-request-context-data" exists-action="override"> <value>@(context.User.Id)</value> <value>@(context.Deployment.Region)</value> </set-header> </inbound> The configuration is part of inbound section.

You have an application that use Azure API Management to publish APIs for external partners. You must change the behavior of the API to support alternative input parameters Which type of policy should you implement to rewrite the request URL to match to the format expected by the web service?

Explanation Inbound The rewrite-uri policy converts a request URL from its public form to the form expected by the web service. Rewrite URI is part of Inbound section.https://docs.microsoft.com/en-us/azure/api-management/api-management-transformation-policies#RewriteURL

You are implementing authentication for an Azure API. All calls to the API must be secure and callers should not send credentials to the API. All callers to the API are hosted in Azure services. Which authentication mechanism should you implement?

Explanation Managed Identity The managed identity policy essentially uses the managed identity to obtain an access token from Azure Active Directory for accessing the specified resource. After successfully obtaining the token, the policy will set the value of the token in the Authorization header using the Bearer scheme. For managed identity, we no need to send any credentials. https://docs.microsoft.com/bs-cyrl-ba/azure/api-management/api-management-authentication-policies#ManagedIdentity

You are developing multiple ASP.NET applications that will be deployed to several Azure App Services. You need to save session state that can be shared across all ASP.NET applications. Session data can be accessed by multiple concurrent readers at a time, but will have a single writer. To achieve the above requirement, you have enabled application request routing to save session state. Did you achieve the requirement?

Explanation No Explanation ARR directs request to same instance of the application. Instead, you can use a caching solution like Azure Redis Cache.

You are developing multiple ASP.NET applications that will be deployed to several Azure App Services. You need to save session state that can be shared across all ASP.NET applications. Session data can be accessed by multiple concurrent readers at a time, but will have a single writer. To achieve the above requirement, you have deployed Azure PostgreSQL to save session state. Did you achieve the requirement?

Explanation No Explanation Instead, you can use a caching solution like Azure Redis Cache. https://docs.microsoft.com/en-us/azure/azure-cache-for-redis/cache-overview

You are developing a web application that will be hosted in an Azure Web App. The users for web application will be authenticated by using their Azure Active Directory (Azure AD). Users will be assigned with one of the following permission levels: admin, normal, and reader. A user's Azure AD group membership must be used to determine the permission level. To achieve the requirement, you configure and use Integrated Windows Authentication in the website. In the website, query Microsoft Graph API to load the group to which the user is a member. Did you achieve the requirement?

Explanation No It is not possible to configure windows authentication in Azure web app. You can use Azure AD.

You are developing a web application that will be hosted in an Azure Web App. The users for web application will be authenticated by using their Azure Active Directory (Azure AD). Users will be assigned with one of the following permission levels: admin, normal, and reader. A user's Azure AD group membership must be used to determine the permission level. To achieve the above requirement, you have configured the Azure Web App for the website to allow only authenticated requests and require Azure AD log on Did you achieve the requirement?

Explanation No You also need to configure app manifest file to get the user's groups.

You have an application that use Azure API Management to publish APIs for external partners. You must change the behavior of the API to remove formatting text from responses Which type of policy should you implement?

Explanation Outbound As we need to remove the text from the response, it should be in outbound section.https://docs.microsoft.com/en-us/azure/api-management/policies/filter-response-content

You have an Azure Active Directory (Azure AD) tenant. You need to register an application with your Azure AD tenant. Which three actions should you perform in sequence?

Explanation Select the Azure AD Instance In App Registrations, select New registration Create a new application and provide the name, account type and redirect URL Explanation Registering your application establishes a trust relationship between your app and the Microsoft identity platform. Follow these steps to create the app registration: Sign in to the Azure portal. If you have access to multiple tenants, use the Directories + subscriptions filter in the top menu to switch to the tenant in which you want to register the application. Search for and select Azure Active Directory. Under Manage, select App registrations > New registration. Enter a display Name for your application. Users of your application might see the display name when they use the app, for example during sign-in. You can change the display name at any time and multiple app registrations can share the same name. The app registration's automatically generated Application (client) ID, not its display name, uniquely identifies your app within the identity platform. Specify who can use the application, sometimes called its sign-in audience. Don't enter anything for Redirect URI (optional). You'll configure a redirect URI in the next section. Select Register to complete the initial app registration. https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app

You are developing a solution that uses publish-subscribe model and eliminates the need for constant polling. Select the two possible Azure messaging services to achieve the requirement.

Explanation Service Bus Event Grid Event Grid - Event Grid is an eventing backplane that enables event-driven, reactive programming. It uses a publish-subscribe model. Publishers emit events, but have no expectation about which events are handled. Subscribers decide which events they want to handle. Service Bus Topics and subscriptions enable relationships between publishers and subscribers. https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-overview https://docs.microsoft.com/en-us/azure/event-grid/compare-messaging-services#event-vs-message-services

You have an Azure API Management service. You have deployed the API back end in an Azure App Service. What should you configure as target and gateway credential type for back-end authentication?

Explanation Target - Http(s) endpoint Gateway credential Type - Client cert API Management allows you to secure access to the back-end service of an API using client certificates. The target endpoint should be HTTP(s) as shown below.

You are developing an ASP.NET Core Web API web service. The web service uses Azure Application Insights for all telemetry and dependency tracking. The web service reads and writes data to a third-party database other than Microsoft SQL Server. You need to ensure that dependency tracking works for requests to the third-party database. Which of the following dependency telemetry properties should you use? Choose 2 answers.

Explanation Telemetry.Id Telemetry.Context.Operation.Id Explanation The correlation identifiers are Telemetry.Id & Telemetry.Context.Operation.Id https://docs.microsoft.com/en-us/azure/azure-monitor/app/custom-operations-tracking

You are developing a web application using ASP.NET Core that is planned to deploy to Azure Web App for Containers. The application needs to store runtime diagnostic data that must be persisted across application restarts. You have the following code: public void SaveDiagData(string data){ var path = Environment.GetEnvironmentVariable("DIAGDATA") File.WriteAllText(Path.Combine(path, "data"), data); } You need to configure the application settings so that diagnostic data is stored as required. How should you configure the web app's settings?

Explanation WEBSITES_ENABLE_APP_SERVICE_STORAGE = true DIAGDATA = /home Explanation If WEBSITES_ENABLE_APP_SERVICE_STORAGE setting is unspecified or set to true, the /home/ directory will be shared across scale instances, and files written will persist across restarts. Explicitly setting WEBSITES_ENABLE_APP_SERVICE_STORAGE to false will disable the mount. https://docs.microsoft.com/en-us/azure/app-service/faq-app-service-linux

You are developing multiple ASP.NET applications that will be deployed to several Azure App Services. You need to save session state that can be shared across all ASP.NET applications. Session data can be accessed by multiple concurrent readers at a time, but will have a single writer. To achieve the above requirement, you have deployed Azure Cache for Redis to save session state. Did you achieve the requirement?

Explanation Yes Explanation Azure Cache for Redis provides an in-memory data store based on the open-source software Redis. Redis improves the performance and scalability of an application that uses on backend data stores heavily. Azure Cache for Redis can be used as a distributed data or content cache, a session store, a message broker. https://docs.microsoft.com/en-us/azure/azure-cache-for-redis/cache-overview

You are developing a web application that will be hosted in an Azure Web App. The users for web application will be authenticated by using their Azure Active Directory (Azure AD). Users will be assigned with one of the following permission levels: admin, normal, and reader. A user's Azure AD group membership must be used to determine the permission level. To achieve the above requirement, you have assigned the appropriate Azure AD groups to each role. You have created a new Azure AD application and defined application roles that match the required permission levels for the application in the applications manifest. In the web application, you use the value of the groups claim from the JWT for the user to determine permissions. Did you achieve the requirement?

Explanation Yes You define app roles by using the Azure portal. App roles are usually defined on an application registration representing a service, app or API. When a user signs in to the application, Azure AD emits a roles claim for each role that the user or service principal has been granted individually to the user and from their group membership. https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-add-app-roles-in-azure-ad-apps#app-manifest-editor

You are developing an Azure Function which process the messages in a queue. The outcome of the process must be stored in an Azure Cosmos DB. Select the following code snippet that will suffice the requirement.

Explanation [FunctionName("QueueToDocDB")] public static void Run([QueueTrigger("myqueue-items", Connection = "AzureWebJobsStorage")] string myQueueItem, [CosmosDB("ToDoList", "Items", Id = "id", ConnectionStringSetting = "myCosmosDB")] out dynamic document) { ... } The QueueTrigger lets you trigger the Function when a message arrives in the queue. The Azure Cosmos DB output binding lets you write a new document to an Azure Cosmos DB database using the SQL API. The direction must be set to out. https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-cosmosdb-v2-output?tabs=csharp#attributes-and-annotations

You are developing an ASP.NET web app that will be deployed to an Azure App Service. You use Application Insights telemetry to monitor the app. You need to configure a test for the web app. You must test the app to ensure that the app is available and responsive from various points around the world and at regular intervals. If the app is not responding, you must send an alert to support staff. Which two test types should you use?

Explanation multi-step web URL ping After you've deployed your web app/website, you can set up recurring tests to monitor availability and responsiveness. Azure Application Insights sends web requests to your application at regular intervals from points around the world. It can alert you if your application isn't responding, or if it responds too slowly. Types of availability tests: There are three types of availability tests: URL ping test: a simple test that you can create in the Azure portal. Multi-step web test: A recording of a sequence of web requests, which can be played back to test more complex scenarios. Multi-step web tests are created in Visual Studio Enterprise and uploaded to the portal for execution. Custom Track Availability Tests: If you decide to create a custom application to run availability tests, the TrackAvailability() method can be used to send the results to Application Insights.

You need to consume messages from a messaging component that is developed using Azure Service Bus publish-subscribe model. You have initialized a subscription client object using correct details to process messages. However, the subscription application is still not consuming the messages. Which of the below code segment should you use?

subscriptionClient.RegisterMessageHandler(ProcessMessageAsync, messageHandlerOptions) Explanation RegisterMessageHandler handles messages one by one and completes them in the end. https://docs.azure.cn/en-us/dotnet/api/microsoft.azure.servicebus.queueclient.registermessagehandler?view=azure-dotnet


संबंधित स्टडी सेट्स

j driving 5.9, j driving 5.11, jdriving mod 5, j driving 5.12, j driving 5.8, j driving 5.3, j driving 5.4, j driving 5.5, j driving 5.6, j driving 5.2, j driving 5.10, j driving 5.7

View Set

Chapter 1: Theories, Patterns, and Typologies

View Set

Psych Ch.2 Neurobiologic theories

View Set

chapter 13 mastering bio practice

View Set

E2020 Climate and Climate Change

View Set