AZ - 204 : Azure Developer Associate exam 2023 with 100% correct answers
You are developing a web service that should prevent anonymous usage and use OpenID connect for authentication. You need to implement an API Management policy for the web service. Which policy should you use? Explanation Correct Answers: Validate-jwt - The requirement from the question to validate requests using API management policy. You can use the Validate JWT policy to pre-authorize requests in API Management, by validating the access tokens of each incoming request. If a request does not have a valid token, API Management blocks it. You are developer for a company named Company1. Company1 has an application that uses Azure Cosmos DB configured with Azure Cosmos DB SQL API. The database contains millions of documents without distinct values for partitioning. You need to implement a scaling strategy for the database to scale individual containers. The database must meet the performance requirements of the application by spreading the workload evenly across all partitions over time. You need to select a partition key. Which two partition keys can you use? Explanation The goal is to distribute your data and workload evenly across the items associated with these partition key values. If such a property doesn't exist in your data, you can construct a synthetic partition key. You can form a partition key by concatenating multiple property values into a single artificial partition Key property. These keys are referred to as synthetic keys. Another possible strategy to distribute the workload more evenly is to append a random number at the end of the partition key value. When you distribute items in this way, you can perform parallel write operations across partitions. You developing an application named Application1 that uses Azure Blob storage named Storage1. For audit purposes, Application1 must read the transaction logs of all changes that occur to the blobs and blob metadata in Storage1. The changes must be in the order in which they occurred. You need to process the logs asynchronously and should include only create, update, delete and copy operations. What should you do to implement audit requirement? Explanation Enable Change feed on the storage account and process all changes for available events. Change feed provides transaction logs of all the changes that occur to the blobs and the blob metadata in your storage account. The change feed provides ordered, guaranteed, durable, immutable, read-only log of these changes. Client applications can read these logs at any time, either in streaming or in batch mode.
Written for
- Institution
- AZ - 204 : Azure Devel
- Course
- AZ - 204 : Azure Devel
Document information
- Uploaded on
- July 28, 2023
- Number of pages
- 21
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
az 204 azure developer associate
Also available in package deal