DRAG DROP (Drag and Drop is not supported) You develop an Azure solution that uses Cosmos DB.The current Cosmos DB container must be replicated and must use a partition key that is optimized for queries.You need to implement a change feed processor solution.Which change feed processor components should you use? To answer, drag the appropriate components to the correct requirements. Each component 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 the content.NOTE: Each correct selection is worth one point.Select and Place:
Answer(s): A
Box 1: The monitored container The monitored container has the data from which the change feed is generated. Any inserts and updates to the monitored container are reflected in the change feed of the container.Box 2: The lease container The lease container acts as a state storage and coordinates processing the change feed across multiple workers. The lease container can be stored in the same account as the monitored container or in a separate account.Box 3: The host: A host is an application instance that uses the change feed processor to listen for changes. Multiple instances with the same lease configuration can run in parallel, but each instance should have a different instance name.Box 4: The delegate The delegate is the code that defines what you, the developer, want to do with each batch of changes that the change feed processor reads.
https://docs.microsoft.com/en-us/azure/cosmos-db/change-feed-processor
HOTSPOT (Drag and Drop is not supported) You are developing a web application that will use Azure Storage. Older data will be less frequently used than more recent data.You need to configure data storage for the application. You have the following requirements:-Retain copies of data for five years.-Minimize costs associated with storing data that is over one year old.-Implement Zone Redundant Storage for application data.What should you do? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point.Hot Area:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy?toc=/azure/storage/blobs/toc.json
HOTSPOT (Drag and Drop is not supported) A company develops a series of mobile games. All games use a single leaderboard service.You have the following requirements:-Code must be scalable and allow for growth.-Each record must consist of a playerId, gameId, score, and time played.-When users reach a new high score, the system will save the new score using the SaveScore function below.Each game is assigned an Id based on the series title.You plan to store customer information in Azure Cosmos DB. The following data already exists in the database:You develop the following code to save scores in the data store. (Line numbers are included for reference only.)You develop the following code to query the database. (Line numbers are included for reference only.)For each of the following statements, select Yes if the statement is true. Otherwise, select No.NOTE: Each correct selection is worth one point.Hot Area:
Box 1: Yes Create a table.A CloudTableClient object lets you get reference objects for tables and entities. The following code creates a CloudTableClient object and uses it to create a newCloudTable object, which represents a table// Retrieve storage account from connection-string.CloudStorageAccount storageAccount =CloudStorageAccount.parse(storageConnectionString);// Create the table client.CloudTableClient tableClient = storageAccount.createCloudTableClient();// Create the table if it doesn't exist.String tableName = "people";CloudTable cloudTable = tableClient.getTableReference(tableName); cloudTable.createIfNotExists();Box 2: No New records are inserted with TableOperation.insert. Old records are not updated.To update old records TableOperation.insertOrReplace should be used instead.Box 3: No Box 4: Yes
https://docs.microsoft.com/en-us/azure/cosmos-db/table-storage-how-to-use-java
You develop and deploy a web application to Azure App Service. The application accesses data stored in an Azure Storage account. The account contains several containers with several blobs with large amounts of data. You deploy all Azure resources to a single region.You need to move the Azure Storage account to the new region. You must copy all data to the new region.What should you do first?
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 and finally, delete the resources in the source region.To get started, export, and then modify a Resource Manager template.
https://docs.microsoft.com/en-us/azure/storage/common/storage-account-move?tabs=azure-portal
HOTSPOT (Drag and Drop is not supported) You are developing an application to collect the following telemetry data for delivery drivers: first name, last name, package count, item id, and current location coordinates. The app will store the data in Azure Cosmos DB.You need to configure Azure Cosmos DB to query the data.Which values should you use? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point.Hot Area:
Box 1: Core (SQL)Core(SQL) API stores data in document format. It offers the best end-to-end experience as we have full control over the interface, service, and the SDK client libraries. SQL API supports analytics and offers performance isolation between operational and analytical workloads.Box 2: item id item id is a unique identifier and is suitable for the partition key.
https://docs.microsoft.com/en-us/azure/cosmos-db/choose-apihttps://docs.microsoft.com/en-us/azure/cosmos-db/partitioning-overview
Post your Comments and Discuss Microsoft AZ-204 exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the AZ-204 content, but please register or login to continue.