nerdexam
Microsoft

AZ-204 · Question #569

Case Study 10 - Fourth Coffee 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…

The correct answer is A. Store all static content in Azure Blob Storage. Enable Azure Content Delivery Network for the B. Configure App Service networking to create a Content Delivery Network profile and endpoint. To optimize the performance and global delivery of a corporate website hosted on Azure, caching static content via Azure Blob Storage and CDN, and integrating App Service with CDN for dynamic content, are highly effective strategies.

Submitted by haru.x· Mar 30, 2026Monitor, troubleshoot, and optimize Azure solutions

Question

Case Study 10 - Fourth Coffee 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 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 serve static content from the corporate website. What are two possible ways to achieve this goal? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

Options

  • AStore all static content in Azure Blob Storage. Enable Azure Content Delivery Network for the
  • BConfigure App Service networking to create a Content Delivery Network profile and endpoint.
  • CConfigure the Azure App Service Local Cache feature and set the app setting
  • DCreate a nested Azure Traffic Manager profile. Configure the parent profile to the performance
  • EUpdate the Azure Traffic Manager routing method to priority.

How the community answered

(25 responses)
  • A
    76% (19)
  • C
    8% (2)
  • D
    4% (1)
  • E
    12% (3)

Why each option

To optimize the performance and global delivery of a corporate website hosted on Azure, caching static content via Azure Blob Storage and CDN, and integrating App Service with CDN for dynamic content, are highly effective strategies.

AStore all static content in Azure Blob Storage. Enable Azure Content Delivery Network for theCorrect

Storing static content in Azure Blob Storage and enabling Azure Content Delivery Network (CDN) is a standard and highly effective pattern to improve website performance by caching content closer to users globally, reducing latency and offloading the origin server.

BConfigure App Service networking to create a Content Delivery Network profile and endpoint.Correct

Integrating an Azure App Service with a Content Delivery Network (CDN) allows dynamic or static content served by the App Service to be cached at edge locations, significantly improving global content delivery and user experience.

CConfigure the Azure App Service Local Cache feature and set the app setting

Azure App Service Local Cache optimizes the application's file access performance on the server side, but it does not serve content from edge locations or improve client-side delivery for global users.

DCreate a nested Azure Traffic Manager profile. Configure the parent profile to the performance

Azure Traffic Manager primarily provides DNS-based routing for distributing client traffic to different service endpoints based on various methods (e.g., performance, priority), but it does not inherently cache content at edge locations like a CDN.

EUpdate the Azure Traffic Manager routing method to priority.

Updating Azure Traffic Manager to priority routing is a high-availability strategy that directs all traffic to a primary endpoint until it becomes unavailable, which does not optimize global content delivery or performance for active users in different regions.

Concept tested: Azure CDN, Blob Storage, App Service, Traffic Manager, App Service Local Cache

Source: https://learn.microsoft.com/en-us/azure/cdn/cdn-overview

Topics

#Azure CDN#Traffic Manager#performance routing#static content delivery

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice