AZ-200 practice questions
You are developing a reliable stateless service by using Azure Service Fabric. The service will run in a five-node cluster in Azure. You configure auto-scale rules to scale out the cluster during peak periods. The service must run on every valid node within the Azure Service Fabric cluster. You need to update the service. What should you do?
A. Set the value of the InstanceCount property to -1.
B. Create and implement a reliable collection.
C. Set the value of the UseImplicitHost property to true.
D. Set the value of the InstanceCount property to 5.
Discussion forum
Question
You are developing an Azure Batch solution to perform CPU intensive calculations. The calculations occur at a specific time each week and last for approximately one hour. Before any changes are made, a timer must be created to measure the initial duration. The timer must start before the first calculation is queued to run on the compute node. You need to implement the timer. Before which line should the timer be created?
A. CloudJob job = batchClient.JobOperations.CreateJob();
B. using (BatchClient batchClient = BatchClient.Open(cred))
C. batchClient.JobOperations.AddTask(JobId, tasks);
D. batchClient.Utilities.CreateTaskStateMonitor().WaitAll(addedTasks, TaskState.Completed, timeout);
Discussion forum
Question
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. Minimize layers by grouping actions in as few RUN instructions as possible.
B. Use multiple RUN instructions for cached operation
. C. Minimize layers by concatenating all RUN instructions on one line.
D. Configure the CLI with a .dockerignore file.
Discussion forum
Question
You develop an app that allows users to upload photos and videos to Azure storage. The app uses a storage REST API call to upload the media to a blob storage account named Account1. You have blob storage containers named Container1 and Container2. Uploading of videos occurs on an irregular basis. You need to copy specific blobs from Container1 to Container2 in real time when specific requirements are met, excluding backup blob copies. What should you do?
A. Run the Azure PowerShell command Start-AzureStorageBlobCopy.
B. Use AzCopy with the Snapshot switch to copy blobs to Container2.
C. Copy Blobs to Container2 by using the Put Blob operation of the Blob Service REST API.
D. Download the blob to a virtual machine and then upload the blob to Container2.
Discussion forum
Question
https://firewallgeeks.com/question/you-must-implement-application-insights-instrumentation-capabilities-utilizing-the-azure-mobile-apps-sdk-to-provide-meaningful-analysis-of-user-interactions-with-a-mobile-app-you-need-to-capture-the-2/
Question
You must implement Application Insights instrumentation capabilities utilizing the Azure Mobile Apps SDK to provide meaningful analysis of user interactions with a mobile app. You need to capture the data required to implement the Usage Analytics feature of Application Insights. What data should you capture? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
A. Events
B. Trace
C. Exception
D. Session Id
E. User Id
Discussion forum
Question
You develop an application named App1 that needs to communicate with an existing app named MainApp. App1 is disconnected from other systems and uses different communication protocols than MainApp. You must ensure that App1 is available in every Azure region and can be scaled out. App1 must be able to connect to MainApp across private and public cloud environments and process requests in the order they are received. Which integration solution should you implement?
A. Azure Storage Queue
B. Event Grid
C. Azure Relay
D. Azure Service Bus
Discussion forum
Question
Each year, a company consolidates manufacturing data for a year and stores the data in a single blob within a Blob container. Data from previous years is stored in the same storage account in the same container. The company has a General Purpose v2 (GPv2) Azure Storage account with a Blob container named Compliance-data. Data from previous years is retained for compliance reasons but it is infrequently accesses. The current solution is becoming costly. You observe that users accidentally modify compliance data. You need to reduce costs and preserve the compliance data. What should you do?
A. In the Azure Portal, go to configuration settings of each blob in the Compliance-data container and set Access tier to Archive.
B. Set up another GPv2 storage account and copy data to the new storage account.
C. In the Azure Portal, go to configuration settings for each blob in the Compliance-data container and set the Access tier to Cool.
D. Configure another GPv2 cold storage account and copy data to the new storage account.
Discussion forumhttps://firewallgeeks.com/question/each-year-a-company-consolidates-manufacturing-data-for-a-year-and-stores-the-data-in-a-single-blob-within-a-blob-container-data-from-previous-years-is-stored-in-the-same-storage-account-in-the-same-2/
Question
You develop a solution for an entertainment company. The company has built an app that uses an Azure SQL database. You need to implement caching to improve the performance of all database queries by caching frequently accessed data while minimizing cost. The cache must be highly available and replicated for failover. What should you create?
A. Azure Redis Cache Database using a Premium Tier configuration. Use Redis Clusters to shard data across multiple nodes.
B. Azure Redis Cache Database using a Basic Tier configuration.
C. Azure Redis Cache Database using a Standard Tier configuration.
D. Azure Redis Cache Database using a Premium Tier configuration. Use Redis Clusters to back up data.
Discussion forum
Question
You are developing a solution for a company that hosts a large collection of videos in Azure. Videos with celebrity speakers must be prioritized and featured on an Azure website. The videos must support closed captioning. You need to select the Azure service that fits the requirements. Which service should you use?
A. Speaker Identification
B. Text Analytics
C. Content Moderator
D. Video Indexer
Discussion forum
Question
You develop a solution that uses an Azure SQL Database to store user information for a mobile app. The app stores sensitive information about users. You need to hide sensitive information from developers that query the data for the mobile app. Which three items must you identify when configuring dynamic data masking? Each correct answer presents a part of the solution.
NOTE: Each correct selection is worth one point. A. Schema
B. Table
C. Index
D. Column
E. Trigger
Discussion forum
Question
Members of the finance department for a company review and make changes to a Microsoft Excel workbook that is hosted on OneDrive. The workbook contains projected costs and revenue for a project. You need to develop an Azure Function that ingests data from the modified workbook and places it into a Microsoft Word document. Which two objects should you implement? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point. A. A group conversation subscription
B. An Excel table input binding
C. A group subscription
D. An Excel table output binding
E. An auth token input binding
Discussion forum
Question
You are developing a reliable stateless service by using Azure Service Fabric. The service will run in a five-node cluster in Azure. You configure auto-scale rules to scale out the cluster during peak periods. The service must run on every valid node within the Azure Service Fabric cluster. You need to update the service. What should you do?
A. Set the value of the InstanceCount property to -1.
B. Create and implement a reliable collection.
C. Set the value of the UseImplicitHost property to true.
D. Set the value of the InstanceCount property to 5.
Discussion forum
Question
You are developing an Azure Batch solution to perform CPU intensive calculations. The calculations occur at a specific time each week and last for approximately one hour. Before any changes are made, a timer must be created to measure the initial duration. The timer must start before the first calculation is queued to run on the compute node. You need to implement the timer. Before which line should the timer be created?
A. CloudJob job = batchClient.JobOperations.CreateJob();
B. using (BatchClient batchClient = BatchClient.Open(cred))
C. batchClient.JobOperations.AddTask(JobId, tasks);
D. batchClient.Utilities.CreateTaskStateMonitor().WaitAll(addedTasks, TaskState.Completed, timeout);.
Discussion forum
Question
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. Minimize layers by grouping actions in as few RUN instructions as possible.
B. Use multiple RUN instructions for cached operation.
C. Minimize layers by concatenating all RUN instructions on one line.
D. Configure the CLI with a .dockerignore file.
Discussion forum
Question