crackyourinterview.com




Microsoft Azure Certification AZ-204 Page 14 (Dumps)


Question No:-131

HOTSPOT
-

You implement an Azure solution to include Azure Cosmos DB, the latest Azure Cosmos DB SDK, and the Core (SQL) API. You also implement a change feed processor on a new container instance by using the Azure Functions trigger for Azure Cosmos DB.

A large batch of documents continues to fail when reading one of the documents in the batch. The same batch of documents is continuously retried by the triggered function and a new batch of documents must be read.

You need to implement the change feed processor to read the documents.

Which feature should you implement? To answer, select the appropriate features in the answer area.

NOTE: Each correct selection is worth one point.


 




Question No:-132

You are developing an application to store business-critical data in Azure Blob storage.

The application must meet the following requirements:

  • Data must not be modified or deleted for a user-specified interval.
  • Data must be protected from overwrites and deletes.
  • Data must be written once and allowed to be read many times.


You need to protect the data in the Azure Blob storage account.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

  1. Configure a time-based retention policy for the storage account.
  2. Create an account shared-access signature (SAS).
  3. Enable the blob change feed for the storage account.
  4. Enable version-level immutability support for the storage account.
  5. Enable point-in-time restore for containers in the storage account.
  6. Create a service shared-access signature (SAS).

 




Question No:-133

You are updating an application that stores data on Azure and uses Azure Cosmos DB for storage. The application stores data in multiple documents associated with a single username.

The application requires the ability to update multiple documents for a username in a single ACID operation.

You need to configure Azure Cosmos DB.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.


  1. Create a collection sharded on username to store documents.
  2. Configure Azure Cosmos DB to use the Gremlin API.
  3. Create an unsharded collection to store documents.
  4. Configure Azure Cosmos DB to use the MongoDB API.

 






Question No:-134

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?

  1. database_name = 'MyDatabase'
database = client.create_database_if_not_exists(id=database_name)
  2. client = CosmosClient(endpoint, key)
  3. container_name = 'MyContainer'
container = database.create_container_if_not_exists(
id=container_name, partition_key=PartitionKey(path="/lastName"),
offer_throughput=400 )

 




Question No:-135

You develop a web application that provides access to legal documents that are stored on Azure Blob Storage with version-level immutability policies. Documents are protected with both time-based policies and legal hold policies. All time-based retention policies have the AllowProtectedAppendWrites property enabled.


You have a requirement to prevent the user from attempting to perform operations that would fail only when a legal hold is in effect and when all other policies are expired.

You need to meet the requirement.

Which two operations should you prevent? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

  1. adding data to documents
  2. deleting documents
  3. creating documents
  4. overwriting existing documents

 




Question No:-136

HOTSPOT
-

You provisioned an Azure Cosmos DB for NoSQL account named account1 with the default consistency level.

You plan to configure the consistency level on a per request basis. The level needs to be set for consistent prefix for read and write operations to account1.

You need to identify the resulting consistency level for read and write operations.

Which levels should you configure? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.



 




Question No:-137

DRAG DROP
-

You are developing an application to store millions of images in Azure blob storage. The images are uploaded to an Azure blob storage container named companyimages contained in an Azure blob storage account named companymedia. The stored images are uploaded with multiple blob index tags across multiple blobs in the container.

You must find all blobs whose tags match a search expression in the container. The search expression must evaluate an index tag named status with a value of final.

You need to construct the GET method request URI.

How should you complete the URI? To answer, drag the appropriate parameters to the correct request URI targets. Each parameter 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 content.

 




Question No:-138

You are developing a Java application that uses Cassandra to store key and value data. You plan to use a new Azure Cosmos DB resource and the Cassandra API in the application. You create an Azure Active Directory (Azure AD) group named Cosmos DB Creators to enable provisioning of Azure Cosmos accounts, databases, and containers.

The Azure AD group must not be able to access the keys that are required to access the data.

You need to restrict access to the Azure AD group.

Which role-based access control should you use?

  1. DocumentDB Accounts Contributor
  2. Cosmos Backup Operator
  3. Cosmos DB Operator
  4. Cosmos DB Account Reader

 




Question No:-139

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You are developing a website that will run as an Azure Web App. Users will authenticate by using their Azure Active Directory (Azure AD) credentials. You plan to assign users one of the following permission levels for the website: admin, normal, and reader. A user's Azure AD group membership must be used to determine the permission level.

You need to configure authorization.

Solution: Configure the Azure Web App for the website to allow only authenticated requests and require Azure AD log on.

Does the solution meet the goal?

  1. Yes
  2. No
 






Question No:-140

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You are developing a website that will run as an Azure Web App. Users will authenticate by using their Azure Active Directory (Azure AD) credentials. You plan to assign users one of the following permission levels for the website: admin, normal, and reader. A user's Azure AD group membership must be used to determine the permission level.

You need to configure authorization.

Solution:

  • Create a new Azure AD application. In the application's manifest, set value of the groupMembershipClaims option to All.
  • In the website, use the value of the groups claim from the JWT for the user to determine permissions.

Does the solution meet the goal?

  1. Yes
  2. No
 





















Other Important Questions

Article Topic Create a Docker Container Image with each step guide
Article Topic Proc and Cons of Docker for self hosting
Article Topic Docker Container Create with example?
@2014-2025 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap