AZ-204Developing Solutions for Microsoft Azurepopular - Practice Questions - Post 39
1. You are developing an inventory tracking solution. The solution includes an Azure Function app containing multiple functions triggered by Azure Cosmos DB. You plan to deploy the solution to multiple Azure regions. The solution must meet the following requirements: • Item results from Azure Cosmos DS must return the most recent committed version of an item. • Items written to Azure Cosmos DB must provide ordering guarantees. You need to configure the consistency level for the Azure Cosmos DB deployments. Which consistency level should you use?
Page: Page 38
Option A: consistent prefix
Option B: eventual
Option C: bounded staleness
Option D: strong
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
2. HOTSPOT (Drag and Drop is not supported) You are developing an application that runs in several customer Azure Kubernetes Service clusters. Within each cluster, a pod runs that collects performance data to be analyzed later. A large amount of data is collected so saving latency must be minimized. The performance data must be stored so that pod restarts do not impact the stored data. Write latency should be minimized. You need to configure blob storage. How should you complete the YAML configuration? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Page: Page 38
Option A: See Explanation section for answer.
Answer(s):
Explanation:
SEO Keywords: SEO keywords not available
3. HOTSPOT (Drag and Drop is not supported) Case study This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided. To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study. At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section. To start the case study To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. When you are ready to answer a question, click the Question button to return to the question. Background VanArsdel, Ltd. is a global office supply company. The company is based in Canada and has retail store locations across the world. The company is developing several cloud-based solutions to support their stores, distributors, suppliers, and delivery services. Current environment Corporate website The company provides a public website located at http://www.vanarsdelltd.com. The website consists of a React JavaScript user interface, HTML, CSS, image assets, and several APIs hosted in Azure Functions. Retail Store Locations The company supports thousands of store locations globally. Store locations send data every hour to an Azure Blob storage account to support inventory, purchasing and delivery services. Each record includes a location identifier and sales transaction information. Requirements The application components must meet the following requirements: Corporate website • Secure the website by using SSL. • Minimize costs for data storage and hosting. • Implement native GitHub workflows for continuous integration and continuous deployment (CI/CD). • Distribute the website content globally for local use. • Implement monitoring by using Application Insights and availability web tests including SSL certificate validity and custom header value verification. • The website must have 99.95 percent uptime. Retail store locations • Azure Functions must process data immediately when data is uploaded to Blob storage. Azure Functions must update Azure Cosmos DB by using native SQL language queries. • Audit store sale transaction information nightly to validate data, process sales financials, and reconcile inventory. Delivery services • Store service telemetry data in Azure Cosmos DB by using an Azure Function. Data must include an item id, the delivery vehicle license plate, vehicle package capacity, and current vehicle location coordinates. • Store delivery driver profile information in Azure Active Directory (Azure AD) by using an Azure Function called from the corporate website. Inventory services The company has contracted a third-party to develop an API for inventory processing that requires access to a specific blob within the retail store storage account for three months to include read-only access to the data. Security • All Azure Functions must centralize management and distribution of configuration data for different environments and geographies, encrypted by using a company-provided RSA-HSM key. • Authentication and authorization must use Azure AD and services must use managed identities where possible. Issues Retail Store Locations • You must perform a point-in-time restoration of the retail store location data due to an unexpected and accidental deletion of data. • Azure Cosmos DB queries from the Azure Function exhibit high Request Unit (RU) usage and contain multiple, complex queries that exhibit high point read latency for large items as the function app is scaling. You need to implement the delivery service telemetry data. How should you configure the solution? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Page: Page 39
Option A: See Explanation section for answer.
Answer(s):
Explanation:
SEO Keywords: SEO keywords not available
4. You create and publish a new Azure App Service web app. User authentication and authorization must use Azure Active Directory (Azure AD). You need to configure authentication and authorization. What should you do first?
Page: Page 39
Option A: Add an identity provider.
Option B: Map an existing custom DNS name.
Option C: Create and configure a new app setting.
Option D: Add a private certificate.
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
5. DRAG DROP (Drag and Drop is not supported) You have an Azure Cosmos DB for NoSQL account. You plan to develop two apps named App1 and App2 that will use the change feed functionality to track changes to containers. App1 will use the pull model and App2 will use the push model. You need to choose the method to track the most recently processed change in App1 and App2. Which component should you use? To answer, drag the appropriate components to the correct apps. 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 content. NOTE: Each correct selection is worth one point.
Page: Page 39
Option A: See Explanation section for answer.
Answer(s):
Explanation:
SEO Keywords: SEO keywords not available
6. You have a Linux container-based console application that uploads image files from customer sites all over the world. A back-end system that runs on Azure virtual machines processes the images by using the Azure Blobs API. You are not permitted to make changes to the application. Some customer sites only have phone-based internet connections. You need to configure the console application to access the images. What should you use?
Page: Page 39
Option A: Azure BlobFuse
Option B: Azure Disks
Option C: Azure Storage Network File System (NFS) 3.0 support
Option D: Azure Files
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
7. DRAG DROP (Drag and Drop is not supported) You are developing several microservices named serviceA, serviceB, and serviceC. You deploy the microservices to a new Azure Container Apps environment. You have the following requirements: • The microservices must persist data to storage. • serviceA must persist data only visible to the current container and the storage must be restricted to the amount of disk space available in the container. • serviceB must persist data for the lifetime of the replica and allow multiple containers in the replica to mount the same storage location. • serviceC must persist data beyond the lifetime of the replica while allowing multiple containers to access the storage and enable per object permissions. You need to configure storage for each microservice. Which storage type should you use? To answer, drag the appropriate storage types to the correct microservices. Each storage type 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. NOTE: Each correct selection is worth one point.
Page: Page 40
Option A: See Explanation section for answer.
Answer(s):
Explanation:
SEO Keywords: SEO keywords not available
8. DRAG DROP (Drag and Drop is not supported) You are developing a web service that will run on Azure virtual machines that use Azure Storage. You configure all virtual machines to use managed identities. You have the following requirements: • Secret-based authentication mechanisms are not permitted for accessing an Azure Storage account. • Must use only Azure Instance Metadata Service endpoints. You need to write code to retrieve an access token to access Azure Storage. To answer, drag the appropriate code segments to the correct locations. Each code segment may be used once or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point.
Page: Page 40
Option A: See Explanation section for answer.
Answer(s):
Explanation:
SEO Keywords: SEO keywords not available
9. HOTSPOT (Drag and Drop is not supported) You are developing an Azure Function app. The Azure Function app must enable a WebHook to read an image from Azure Blob Storage and create a new Azure Cosmos DB document. You need to implement the Azure Function app. Which configuration should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Page: Page 40
Option A: See Explanation section for answer.
Answer(s):
Explanation:
SEO Keywords: SEO keywords not available
10. You create an Azure Cosmos DB for NoSQL database. You plan to use the Azure Cosmos DB .NET SDK v3 API for NoSQL to upload the following files: You receive the following error message when uploading the files: “413 Entity too large”. You need to determine which files you can upload to the Azure Cosmos DB for NoSQL database. Which files can you upload?
Page: Page 40
Option A: File1, File2, File3, File4, and File5
Option B: File1 and File2 only
Option C: File1, File2, and File3 only
Option D: File1, File2, File3, and File4 only
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
11. You are developing an app to store globally distributed data in several Azure Blob Storage containers. Each container hosts multiple blobs where each instance of the app will store the data. You enable versioning and soft delete for the blobs. App testing and incorrect code have frequently corrupted data. Development of the app must allow data to be restored to a previous day for testing. You need to configure the storage account to support point-in-time restore. What should you do?
Page: Page 41
Option A: Enable the change feed on the storage account to begin capturing and recording changes.
Option B: Configure object replication and specify replication rules.
Option C: Create a snapshot of the blob in the hot tier.
Option D: Configure an immutability policy that is scoped to a blob version.
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
12. A company uses an Azure Blob Storage for archiving. The company requires that data in the Blob Storage is only in the archive tier. You need to ensure data copied to the Blob Storage is moved to the archive tier. What should you do?
Page: Page 41
Option A: Use a Put Block List operation with a request header of x-ms-immutability-policy-mode.
Option B: Create a lifecycle policy with an action of tierToArchive and configure daysAfterModificationGreaterThan for 0.
Option C: Use a Put Blob operation with a request header of x-ms-immutability-policy-until-date.
Option D: Create a lifecycle policy with an action of tierToArchive and configure a filter for blobIndexMatch.
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
13. HOTSPOT (Drag and Drop is not supported) You have the following data lifecycle management policy: You plan to implement an Azure Blob Storage account and apply to it Policy1. The solution should maximize resiliency and performance. You need to configure the account to support the policy. Which redundancy option and storage account type should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Page: Page 41
Option A: See Explanation section for answer.
Answer(s):
Explanation:
SEO Keywords: SEO keywords not available
14. HOTSPOT (Drag and Drop is not supported) You have an Azure Cosmos DB for NoSQL API account named account1. Multiple instances of an on-premises application named app1 read data from account1. You plan to implement integrated cache for connections from the instances of app to account1. You need to set the connection mode and maximum consistency level of app1. Which values should you use for the configuration settings? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Page: Page 41
Option A: See Explanation section for answer.
Answer(s):
Explanation:
SEO Keywords: SEO keywords not available
15. You are developing a Cosmos DB solution that will be deployed to multiple Azure regions. Your solution must meet the following requirements: • Read operations will never receive write operations that are out of order. • Maximize concurrency of read operations in all regions. You need to choose the consistency level for the solution. Which consistency level should you use?
Page: Page 42
Option A: session
Option B: eventual
Option C: bounded staleness
Option D: consistent prefix
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
16. You have an Azure Queue Storage named queue1. You plan to develop code that will process messages in queue1. You need to implement a queue operation to set the visibility timeout value of individual messages in queue1. Which two operations can you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
Page: Page 42
Option A: Peek at a message in the queue.
Option B: Delete a message in the queue.
Option C: Add a message to the queue.
Option D: Update a message in the queue.
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
17. HOTSPOT (Drag and Drop is not supported) Case study This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided. To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study. At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section. To start the case study To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. When you are ready to answer a question, click the Question button to return to the question. Background Fourth Coffee is a global coffeehouse chain and coffee company recognized as one of the world’s most influential coffee brands. The company is renowned for its specialty coffee beverages, including a wide range of espresso-based drinks, teas, and other beverages. Fourth Coffee operates thousands of stores worldwide. Current environment The company is developing cloud-native applications hosted in Azure. Corporate website The company hosts a public website located at http://www.fourthcoffee.com/. The website is used to place orders as well as view and update inventory items. Inventory items In addition to its core coffee offerings, Fourth Coffee recently expanded its menu to include inventory items such as lunch items, snacks, and merchandise. Corporate team members constantly update inventory. Users can customize items. Corporate team members configure inventory items and associated images on the website. Orders Associates in the store serve customized beverages and items to customers. Orders are placed on the website for pickup. The application components process data as follows: 1. Azure Traffic Manager routes a user order request to the corporate website hosted in Azure App Service. 2. Azure Content Delivery Network serves static images and content to the user. 3. The user signs in to the application through a Microsoft Entra ID for customers tenant. 4. Users search for items and place an order on the website as item images are pulled from Azure Blob Storage. 5. Item customizations are placed in an Azure Service Bus queue message. 6. Azure Functions processes item customizations and saves the customized items to Azure Cosmos DB. 7. The website saves order details to Azure SQL Database. 8. SQL Database query results are cached in Azure Cache for Redis to improve performance. The application consists of the following Azure services: Requirements The application components must meet the following requirements: • Azure Cosmos DB development must use a native API that receives the latest updates and stores data in a document format. • Costs must be minimized for all Azure services. • Developers must test Azure Blob Storage integrations locally before deployment to Azure. Testing must support the latest versions of the Azure Storage APIs. Corporate website • User authentication and authorization must allow one-time passcode sign-in methods and social identity providers (Google or Facebook). • Static web content must be stored closest to end users to reduce network latency. Inventory items • Customized items read from Azure Cosmos DB must maximize throughput while ensuring data is accurate for the current user on the website. • Processing of inventory item updates must automatically scale and enable updates across an entire Azure Cosmos DB container. • Inventory items must be processed in the order they were placed in the queue. • Inventory item images must be stored as JPEG files in their native format to include exchangeable image file format (data) stored with the blob data upon upload of the image file. • The Inventory Items API must securely access the Azure Cosmos DB data. Orders • Orders must receive inventory item changes automatically after inventory items are updated or saved. Issues • Developers are storing the Azure Cosmos DB credentials in an insecure clear text manner within the Inventory Items API code. • Production Azure Cache for Redis maintenance has negatively affected application performance. You need to save customized items to Azure Cosmos DB. Which Azure Cosmos DB configuration should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Page: Page 42
Option A: See Explanation section for answer.
Answer(s):
Explanation:
SEO Keywords: SEO keywords not available
18. HOTSPOT (Drag and Drop is not supported) A company has an Azure Cosmos DB for NoSQL account. The account is configured for session consistency. Data is written to a single Azure region and data can be read from three Azure regions. An application that will access the Azure Cosmos DB for NoSQL container data using an SDK has the following requirements: • Reads from the application must return the most recent committed version of an item from any Azure region. • The container items should not automatically be deleted. You need to implement the changes to the Azure Cosmos DB for NoSQL account. What should you do? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Page: Page 42
Option A: See Explanation section for answer.
Answer(s):
Explanation:
SEO Keywords: SEO keywords not available
19. HOTSPOT (Drag and Drop is not supported) You are developing an application that monitors data added to an Azure Blob storage account. You need to process each change made to the storage account. How should you complete the code segment? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Page: Page 43
Option A: See Explanation section for answer.
Answer(s):
Explanation:
SEO Keywords: SEO keywords not available
20. You manage an Azure Cosmos DB for a NoSQL API account named account1. The account contains a database named db1, which contains a container named container1. You configure account1 with a session consistency level. You plan to develop an application named App1 that will access container1. Individual instances of App1 must perform reads and writes. App1 must allow multiple nodes to participate in the same session. You need to configure an object to share the session token between the nodes. Which object should you use?
Page: Page 43
Option A: Document response
Option B: Request options
Option C: Feed options
Option D: Connection policy
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
21. DRAG DROP (Drag and Drop is not supported) Case study This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided. To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study. At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section. To start the case study To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. When you are ready to answer a question, click the Question button to return to the question. Background Fourth Coffee is a global coffeehouse chain and coffee company recognized as one of the world’s most influential coffee brands. The company is renowned for its specialty coffee beverages, including a wide range of espresso-based drinks, teas, and other beverages. Fourth Coffee operates thousands of stores worldwide. Current environment The company is developing cloud-native applications hosted in Azure. Corporate website The company hosts a public website located at http://www.fourthcoffee.com/. The website is used to place orders as well as view and update inventory items. Inventory items In addition to its core coffee offerings, Fourth Coffee recently expanded its menu to include inventory items such as lunch items, snacks, and merchandise. Corporate team members constantly update inventory. Users can customize items. Corporate team members configure inventory items and associated images on the website. Orders Associates in the store serve customized beverages and items to customers. Orders are placed on the website for pickup. The application components process data as follows: 1. Azure Traffic Manager routes a user order request to the corporate website hosted in Azure App Service. 2. Azure Content Delivery Network serves static images and content to the user. 3. The user signs in to the application through a Microsoft Entra ID for customers tenant. 4. Users search for items and place an order on the website as item images are pulled from Azure Blob Storage. 5. Item customizations are placed in an Azure Service Bus queue message. 6. Azure Functions processes item customizations and saves the customized items to Azure Cosmos DB. 7. The website saves order details to Azure SQL Database. 8. SQL Database query results are cached in Azure Cache for Redis to improve performance. The application consists of the following Azure services: Requirements The application components must meet the following requirements: • Azure Cosmos DB development must use a native API that receives the latest updates and stores data in a document format. • Costs must be minimized for all Azure services. • Developers must test Azure Blob Storage integrations locally before deployment to Azure. Testing must support the latest versions of the Azure Storage APIs. Corporate website • User authentication and authorization must allow one-time passcode sign-in methods and social identity providers (Google or Facebook). • Static web content must be stored closest to end users to reduce network latency. Inventory items • Customized items read from Azure Cosmos DB must maximize throughput while ensuring data is accurate for the current user on the website. • Processing of inventory item updates must automatically scale and enable updates across an entire Azure Cosmos DB container. • Inventory items must be processed in the order they were placed in the queue. • Inventory item images must be stored as JPEG files in their native format to include exchangeable image file format (data) stored with the blob data upon upload of the image file. • The Inventory Items API must securely access the Azure Cosmos DB data. Orders • Orders must receive inventory item changes automatically after inventory items are updated or saved. Issues • Developers are storing the Azure Cosmos DB credentials in an insecure clear text manner within the Inventory Items API code. • Production Azure Cache for Redis maintenance has negatively affected application performance. You need to store inventory item images. Which Azure Blob Storage feature should you use? To answer, move the appropriate Azure Blob Storage features to the correct requirements. You may use each Azure Blob Storage feature once, more than once, or not at all. You may need to move the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point.
Page: Page 43
Option A: See Explanation section for answer.
Answer(s):
Explanation:
SEO Keywords: SEO keywords not available
22. DRAG DROP (Drag and Drop is not supported) You have a static website hosted in an Azure Storage account named storage1. You access the website by using a URL that ends with the web.core.windows.net suffix. You plan to configure the website to be accessible through the URL www.contoso.com. The website must be accessible during configuration. The contoso.com zone is hosted in Azure DNS. You need to complete the website configuration. Which four actions should you perform in sequence? To answer, move the appropriate domain name configuration steps from the list of domain name configuration steps to the answer area and arrange them in the correct order.
Page: Page 43
Option A: See Explanation section for answer.
Answer(s):
Explanation:
SEO Keywords: SEO keywords not available
23. You have an Azure Queue Storage account that contains a queue named queue1. You plan to use Azure SDK for .NET to develop a solution that uses queue1. You need to author C# code that will return an approximate number of messages in queue1. Your solution must minimize the development effort. Which method should you use in your code?
Page: Page 44
Option A: GetProperties method of the QueueClient class
Option B: GetProperties method of the QueueServiceClient class
Option C: PeekMessages method of the QueueClient class
Option D: GetStatistics method of the QueueServiceClient class
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
24. You manage an Azure Storage account named storage1. You plan to load 1 million blobs into storage1. You must assign key-value pairs to blobs so that both keys and their values are automatically indexed and searchable by using the built-in services of storage1. You need to run the command to assign key-value pairs. Which command should you run?
Page: Page 44
Option A: Update -AzStorageBobServiceProperty
Option B: Set-AzStorageBlobTag
Option C: az storage blob service-properties update
Option D: Set-AzStorageBlobContent
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
25. DRAG DROP (Drag and Drop is not supported) You manage an Azure Cosmos DB for a NoSQL API account named account1. You configure account1 with the default consistency level. An application named app1 must access containers in account1 to perform read and write operations. The connections from app1 to account1 must be established by using the direct mode. You plan to configure app1 to override the default consistency level by using the Azure Cosmos DB SDK client. You need to set the maximum consistency level for app1 to use for read and write operations. Which consistency level should you set? To answer, move the appropriate maximum consistency levels to the correct operation types. You may use each maximum consistency level once, more than once, or not at all. You may need to move the split bar between panes or scroll to view content.
Page: Page 44
Option A: See Explanation section for answer.
Answer(s):
Explanation:
SEO Keywords: SEO keywords not available
26. DRAG DROP (Drag and Drop is not supported) You manage an Azure subscription associated with a Microsoft Entra tenant named contoso.com. The subscription contains an Azure Blob Storage account named storage1. Your user account has the Contributor Azure role-based access control (RBAC) role within the scope of the subscription. You plan to implement secure access to containers and blobs in storage1. Your solution must satisfy the following requirements: • Authorization requests to access storage1 content must be authenticated by using Microsoft Entra credentials. • Authorized access to storage1 content must be time-limited based on arbitrary values specified when requests are raised. • The principle of least privilege must be satisfied. You need to implement the plan. Which three actions should you perform in sequence? To answer, move the appropriate secure access implementation options from the list of secure access implementations to the answer area and arrange them in the correct order.
Page: Page 44
Option A: See Explanation section for answer.
Answer(s):
Explanation:
SEO Keywords: SEO keywords not available
27. Case study This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided. To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study. At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section. To start the case study To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. When you are ready to answer a question, click the Question button to return to the question. Background Fourth Coffee is a global coffeehouse chain and coffee company recognized as one of the world’s most influential coffee brands. The company is renowned for its specialty coffee beverages, including a wide range of espresso-based drinks, teas, and other beverages. Fourth Coffee operates thousands of stores worldwide. Current environment The company is developing cloud-native applications hosted in Azure. Corporate website The company hosts a public website located at http://www.fourthcoffee.com/. The website is used to place orders as well as view and update inventory items. Inventory items In addition to its core coffee offerings, Fourth Coffee recently expanded its menu to include inventory items such as lunch items, snacks, and merchandise. Corporate team members constantly update inventory. Users can customize items. Corporate team members configure inventory items and associated images on the website. Orders Associates in the store serve customized beverages and items to customers. Orders are placed on the website for pickup. The application components process data as follows: 1. Azure Traffic Manager routes a user order request to the corporate website hosted in Azure App Service. 2. Azure Content Delivery Network serves static images and content to the user. 3. The user signs in to the application through a Microsoft Entra ID for customers tenant. 4. Users search for items and place an order on the website as item images are pulled from Azure Blob Storage. 5. Item customizations are placed in an Azure Service Bus queue message. 6. Azure Functions processes item customizations and saves the customized items to Azure Cosmos DB. 7. The website saves order details to Azure SQL Database. 8. SQL Database query results are cached in Azure Cache for Redis to improve performance. The application consists of the following Azure services: Requirements The application components must meet the following requirements: • Azure Cosmos DB development must use a native API that receives the latest updates and stores data in a document format. • Costs must be minimized for all Azure services. • Developers must test Azure Blob Storage integrations locally before deployment to Azure. Testing must support the latest versions of the Azure Storage APIs. Corporate website • User authentication and authorization must allow one-time passcode sign-in methods and social identity providers (Google or Facebook). • Static web content must be stored closest to end users to reduce network latency. Inventory items • Customized items read from Azure Cosmos DB must maximize throughput while ensuring data is accurate for the current user on the website. • Processing of inventory item updates must automatically scale and enable updates across an entire Azure Cosmos DB container. • Inventory items must be processed in the order they were placed in the queue. • Inventory item images must be stored as JPEG files in their native format to include exchangeable image file format (data) stored with the blob data upon upload of the image file. • The Inventory Items API must securely access the Azure Cosmos DB data. Orders • Orders must receive inventory item changes automatically after inventory items are updated or saved. Issues • Developers are storing the Azure Cosmos DB credentials in an insecure clear text manner within the Inventory Items API code. • Production Azure Cache for Redis maintenance has negatively affected application performance. You need to support local development testing for developers. Which tool should you use?
Page: Page 45
Option A: Azurite
Option B: Azure Storage Emulator
Option C: SQL Server Management Studio (SSMS)
Option D: Azure Storage Explorer
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
28. HOTSPOT (Drag and Drop is not supported) You have an Azure Blob Storage account named account1. You plan to grant permissions for access to blobs in account1 by using a combination of a shared access signature token and a stored access policy. You must set the duration of the token validity by using the stored access policy. You need to complete the configuration of the stored access policy and generate the shared access signature token. Which token setting and token type should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Page: Page 45
Option A: See Explanation section for answer.
Answer(s):
Explanation:
SEO Keywords: SEO keywords not available
29. 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?
Page: Page 45
Option A: DocumentDB Accounts Contributor
Option B: Cosmos Backup Operator
Option C: Cosmos DB Operator
Option D: Cosmos DB Account Reader
Answer(s):
Explanation:
SEO Keywords: SEO keywords not available
30. 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?
Page: Page 45
Option A: Yes
Option B: No
Answer(s):
Explanation:
SEO Keywords: SEO keywords not available
Post a Comment