AZ-200 Test 1 — Questions and Answers
Question 1: You create a solution for a corporation in the entertainment industry. The firm has created an app that makes use of an Azure SQL database. Caching should be used to improve the performance of all database queries by caching frequently requested data while reducing costs. The cache must be highly available and failover-proof. <br> What should you come up with?
- Using a Standard Tier configuration for Azure Redis Cache Database (Correct answer)
- Using a Premium Tier configuration for Azure Redis Cache Database. Redis Clusters can be used to back up data
- Using a Premium Tier configuration for Azure Redis Cache Database. To shard data over numerous nodes, use Redis Clusters.
- Using a Basic Tier setup for Azure Redis Cache Database
Correct answer: Using a Standard Tier configuration for Azure Redis Cache Database
Explanation: <br> In a two-node primary/secondary configuration, the Standard Tier provides a mirrored cache. Microsoft takes care of automatic replication between the two nodes and provides a high-availability service level agreement (SLA).
Question 2: You're working on an app called App1 that needs to communicate with another app called MainApp. App1 is not connected to other systems and communicates using a different protocol than MainApp. <br> You must make sure App1 is available in all Azure regions and that it can be scaled out. App1 must be able to connect to MainApp from both private and public clouds, and process requests in the order they are received. <br> What kind of integration solution should you use?
- Event Grid
- Azure Storage Queue (Correct answer)
- Azure Service Bus
- Azure Relay
Correct answer: Azure Storage Queue
Explanation: <br> Azure Queue Storage is a service that allows you to store massive amounts of data. Authenticated HTTP or HTTPS calls allow you to access messages from anywhere in the world. A queue message can have a maximum size of 64 KB. A queue can hold millions of messages, up to the storage account's overall capacity limit. Queues are widely used to build a backlog of work for asynchronous processing.
Question 3: You're working on a solution for a company that uses Azure to host a vast collection of films. Videos featuring celebrity speakers should be prioritized and prominently displayed on an Azure website. Closed captioning must be supported in the videos. You must choose the Azure service that best meets your needs. <br> What service should you go with?
- Content Moderator
- Speaker Identification
- Video Indexer (Correct answer)
- Text Analytics
Correct answer: Video Indexer
Explanation: <br> Azure Video Indexer is a cloud application based on Azure Media Analytics, Azure Search, and Cognitive Services (including the Face API, Microsoft Translator, and the Microsoft Translator API). Custom Speech Service and Computer Vision API). Using the Video Indexer models mentioned below, you can extract insights from your videos: Closed captioning: Creates closed captioning in VTT, TTML, and SRT formats. Video Indexer automatically recognizes approximately 1 million celebrities throughout the world, including world leaders, actors and actresses, athletes, scholars, business and IT leaders. The information about these celebrities can also be found on a number of well-known websites, such as IMDB and Wikipedia.
Question 4: A corporation consolidates a year's worth of manufacturing data and stores it in a single blob within a Blob container each year. Previous year's data is stored in the same storage account and container. <br> Compliance-data is a Blob container in the company's General Purpose v2 (GPv2) Azure Storage account. Data from past years is kept for compliance purposes, but it is only accessed occasionally. <br> The existing solution is becoming prohibitively expensive. You see that people make inadvertent changes to compliance data. You must cut expenditures while maintaining compliance data. <br> What are your options?
- Create a new GPv2 cold storage account and transfer data to it
- Go to the configuration settings of each blob in the Compliance-data container in the Azure Portal and change the Access tier to Archive
- Create a new GPv2 storage account and copy all of your data to it
- Set the Access tier to Cool in the Azure Portal for each blob in the Compliance-data container's setup parameters (Correct answer)
Correct answer: Set the Access tier to Cool in the Azure Portal for each blob in the Compliance-data container's setup parameters
Explanation: <br> Cool storage is best for storing data that is accessed infrequently and kept for at least 30 days.
Question 5: To enable meaningful analysis of user interactions with a mobile app, you must utilize the Azure Mobile Apps SDK to implement Application Insights instrumentation features. To use Application Insights' Usage Analytics feature, you must first collect the necessary data. <br> What information should you collect? Each accurate response reveals a piece of the solution.
- Exception
- Events (Correct answer)
- Session Id
- Trace
Correct answer: Events
Explanation: <br> After your app has been onboarded to App Center, it must be changed to transmit custom event telemetry using the App Center SDK. <br>Custom events are the only sort of telemetry that can be sent using the App Center SDK. <br> Telemetry from the App Center that is sent to Application Insights.
Question 6: You create an application that lets users upload photographs and movies to Azure storage. The media is uploaded to a blob storage account named Account1 via a storage REST API call. Container1 and Container2 are two blob storage containers that you have. <br> Video uploading is done on a sporadic basis. <br> When particular requirements are met, you must copy specific blobs from Container1 to Container2 in real time, omitting backup blob copies. <br> What are your options?
- The blob should be downloaded to a virtual computer and then uploaded to Container2
- Run the Azure PowerShell command Start-AzureStorageBlobCopy (Correct answer)
- To copy blobs to Container2, use AzCopy with the Snapshot switch
- Using the Blob Service REST API's Put Blob operation, copy blobs to Container2
Correct answer: Run the Azure PowerShell command Start-AzureStorageBlobCopy
Explanation: <br> The Start-AzureStorageBlobCopy cmdlet begins copying a blob in Azure Storage.
Question 7: You're responsible for an Azure Web App that runs within a container. The container uses a Dockerfile that is copied all over the place and takes up a lot of space. The Dockerfile must be optimized. <br> What are your options?
- Concatenate all RUN instructions on one line to reduce layers
- Reduce the number of levels by condensing actions into as few RUN commands as possible (Correct answer)
- Use a.dockerignore file to configure the CLI
- For a cached operation, use multiple RUN commands
Correct answer: Reduce the number of levels by condensing actions into as few RUN commands as possible
Explanation: <br> Reduce the amount of layers as much as possible. <br> Prior to Docker 17.05, and even before Docker 1.10, it was necessary to keep the number of layers in your image to a minimum. <br> Only the RUN, COPY, and ADD instructions build layers with Docker 1.10 and higher.
Question 8: You're working on an Azure Batch solution to do computations that require a lot of processing power. The calculations take place at a set time each week and last around an hour. <br> A timer must be created before any adjustments are made to determine the initial duration. Before the first calculation is scheduled to run on the compute node, the timer must start. <br> The timer must be implemented. <br> Should the timer be started before or after which line?
- using (BatchClient batchClient = BatchClient.Open(cred))
- batchClient.Utilities.CreateTaskStateMonitor().WaitAll(addedTasks, TaskState.Completed, timeout);
- CloudJob job = batchClient.JobOperations.CreateJob();
- batchClient.JobOperations.AddTask(JobId, tasks); (Correct answer)
Correct answer: batchClient.JobOperations.AddTask(JobId, tasks);
The Correct Answers: <br> batchClient.JobOperations.AddTask(JobId, tasks);
Question 9: Using Azure Service Fabric, you're creating a dependable stateless service. In Azure, the service will run in a five-node cluster. During peak periods, you configure auto-scale rules to scale out the cluster. <br> Every legitimate node in the Azure Service Fabric cluster must run the service. <br> The service must be updated. <br> What are your options?
- Set the value of the InstanceCount property to 5
- Set the value of the InstanceCount property to -1 (Correct answer)
- Create and implement a reliable collection
- Set the value of the UseImplicitHost property to true
Correct answer: Set the value of the InstanceCount property to -1
Explanation: <br> The upper limit for scaling is defined by the Maximum Instance Count. The service will not be scaled out if the number of instances of the partition surpasses this limit, regardless of the load. By supplying a value of -1, this limit can be ignored, and the service can be scaled out as much as possible (the limit is the number of nodes that are available in the cluster).
You create a solution for a corporation in the entertainment industry.
The firm has created an app that makes use of an Azure SQL database.
Caching should be used to improve the performance of all database queries by caching frequently requested data while reducing costs.
The cache must be highly available and failover-proof.
What should you come up with?