
Az204 prep2

Quiz
•
Specialty
•
Professional Development
•
Hard

Faith Muwishi
Used 12+ times
FREE Resource
28 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
You are developing a back-end Azure App Service that scales based on the number of messages contained in a Service Bus queue.A rule already exists to scale up the App Service when the average queue length of unprocessed and valid queue messages is greater than 1000.You need to add a new rule that will continuously scale down the App Service as long as the scale up condition is not met.How should you configure the Scale rule? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point.
Box 1: Service bus queue
Box 2: ActiveMessage Count
Box 3: Count
Box 4: Less than or equal to
Box 5: Decrease count by
Box1:Storage
Box2:Message Count
Box3:Average
Box 4: Less than or equal to
Box 5: Decrease count by
Answer explanation
Box 1: Service bus queue -You are developing a back-end Azure App Service that scales based on the number of messages contained in a Service Bus queue.Box 2: ActiveMessage Count -ActiveMessageCount: Messages in the queue or subscription that are in the active state and ready for delivery.Box 3: Count -Box 4: Less than or equal to -You need to add a new rule that will continuously scale down the App Service as long as the scale up condition is not met.Box 5: Decrease count by
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
You have an application that uses Azure Blob storage.You need to update the metadata of the blobs.Which three methods should you use to develop the solution? To answer, move the appropriate methods from the list of methods to the answer area and arrange them in the correct order.
Box1:Metadata.Add
Box2:SetMetadataAsync
Box3:SetPropertiesAsync
Box1:Metadata.Add
Box2:FetchAttributesAsync
Box3:UploadFileStream
Answer explanation
Metadata.Add example:// Add metadata to the dictionary by calling the Add methodmetadata.Add("docType", "textDocuments");SetMetadataAsync example:// Set the blob's metadata.await blob.SetMetadataAsync(metadata);// Set the blob's properties.await blob.SetPropertiesAsync();Reference:https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-properties-metadata
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
You are developing an Azure solution to collect point-of-sale (POS) device data from 2,000 stores located throughout the world. A single device can produce2 megabytes (MB) of data every 24 hours. Each store location has one to five devices that send data.You must store the device data in Azure Blob storage. Device data must be correlated based on a device identifier. Additional stores are expected to open in the future.You need to implement a solution to receive the device data.Solution: Provision an Azure Event Grid. Configure the machine identifier as the partition key and enable capture.Does the solution meet the goal?
Yes
No
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
You develop Azure solutions.A .NET application needs to receive a message each time an Azure virtual machine finishes processing data. The messages must NOT persist after being processed by the receiving application.You need to implement the .NET object that will receive the messages.Which object should you use?
QueueClient
SubscriptionClient
TopicClient
CloudQueueClient
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
You are maintaining an existing application that uses an Azure Blob GPv1 Premium storage account. Data older than three months is rarely used.Data newer than three months must be available immediately. Data older than a year must be saved but does not need to be available immediately.You need to configure the account to support a lifecycle management rule that moves blob data to archive storage for data not modified in the last year.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.Select and Place:
BOX1:Copy the data to be archived to a Standard GPv2 storage account and then delete the data from the original storage account
BOX2:Change the storage account access tier from hot to cool
BOX3:Copy the data to be archived to a Standard GPv2 storage account and then delete the data from the original storage account
BOX1:Create a new GPv2 Standard account and set its default access tier level to cool
BOX2:Copy the data to be archived to a Standard GPv2 storage account and then delete the data from the original storage account
BOX3:Change the storage account access tier from hot to cool
BOX1:Upgrade the storage account to GPv2
BOX2:Copy the data to be archived to a Standard GPv2 storage account and then delete the data from the original storage account
BOX3:Change the storage account access tier from hot to cool
Answer explanation
Step 1: Upgrade the storage account to GPv2Object storage data tiering between hot, cool, and archive is supported in Blob Storage and General Purpose v2 (GPv2) accounts. General Purpose v1 (GPv1) accounts don't support tiering.You can easily convert your existing GPv1 or Blob Storage accounts to GPv2 accounts through the Azure portal.Step 2: Copy the data to be archived to a Standard GPv2 storage account and then delete the data from the original storage accountStep 3: Change the storage account access tier from hot to coolNote: Hot - Optimized for storing data that is accessed frequently.Cool - Optimized for storing data that is infrequently accessed and stored for at least 30 days.Archive - Optimized for storing data that is rarely accessed and stored for at least 180 days with flexible latency requirements, on the order of hours.Only the hot and cool access tiers can be set at the account level. The archive access tier can only be set at the blob level.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
You develop Azure solutions.You must connect to a No-SQL globally-distributed database by using the .NET API.You need to create an object to configure and execute requests in the database.Which code segment should you use?
new Container(EndpointUri, PrimaryKey);
new Database(EndpointUri, PrimaryKey);
new CosmosClient(EndpointUri, PrimaryKey);
Answer explanation
Correct Answer: C Example:// Create a new instance of the Cosmos Clientthis.cosmosClient = new CosmosClient(EndpointUri, PrimaryKey)//ADD THIS PART TO YOUR CODEawait this.CreateDatabaseAsync();Reference:https://docs.microsoft.com/en-us/azure/cosmos-db/sql-api-get-started
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
You have an existing Azure storage account that stores large volumes of data across multiple containers.You need to copy all data from the existing storage account to a new storage account. The copy process must meet the following requirements:✑ Automate data movement.✑ Minimize user input required to perform the operation.✑ Ensure that the data movement process is recoverable.What should you use?
AzCopy
Azure Storage Explorer
Azure portal
.NET Storage Client Library
Answer explanation
You can copy blobs, directories, and containers between storage accounts by using the AzCopy v10 command-line utility.The copy operation is synchronous so when the command returns, that indicates that all files have been copied.Reference:https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-blobs-copy
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
142 CBT Review

Quiz
•
Professional Development
30 questions
45 minutes Test T22TKDH2

Quiz
•
Professional Development
23 questions
Topic 6 Other types of Vehicles

Quiz
•
Professional Development
23 questions
Starbies Trvia

Quiz
•
Professional Development
25 questions
AZ204 quiz1 bootcamp

Quiz
•
Professional Development
25 questions
Post-test PBM

Quiz
•
Professional Development
30 questions
1.1: Understand Health and Safety Roles and Responsibilities

Quiz
•
12th Grade - Professi...
25 questions
Soal B3 dan Limbah B3 CGL 2 (Eng. Ver)

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade