12 questions across 3 exams
You are designing an event-driven architecture for an e-commerce platform. When a customer places an order, an 'OrderCreated' event is generated. This event must be delivered to three different microservices: Inventory, Billing, and Shipping. Requirements: - The event must be delivered reliably to all three services (publish/subscribe). - If the Billing service is temporarily down, its messages must be retained until it comes back online. - Messages must be processed in the exact order they were received. - The system must support transactional processing. Which messaging service should you recommend?
A financial services company exposes several REST APIs to external partners. They are implementing Azure API Management (APIM) to secure and manage these APIs. The security team requires the following: - External partners must be limited to 1,000 API calls per hour to prevent abuse. - The backend API servers must only accept traffic originating from the APIM instance. Which TWO actions should you take to meet these requirements? (Select TWO)
A high-traffic web application relies on a backend SQL database. During peak hours, the database CPU hits 100% due to thousands of identical read queries for product catalog data. The product catalog data only changes once a day. You need to implement a caching strategy to offload these read queries from the database and improve application response times. Which Azure service should you integrate into the application architecture?
You are designing a microservices architecture for a travel booking system. A single user action (booking a vacation) requires updating data across three independent microservices: Flight Booking, Hotel Booking, and Car Rental. Each microservice has its own database. If the Flight and Hotel bookings succeed, but the Car Rental fails, the entire transaction must be rolled back to maintain data consistency. Which distributed transaction pattern should you implement?
You are designing an event-driven architecture for an e-commerce platform. When a customer places an order, an 'OrderPlaced' message must be generated. This message must be processed by three independent downstream systems: Inventory, Billing, and Shipping. Requirements: - Each downstream system must receive its own copy of the message. - If a downstream system is temporarily offline, its messages must be retained until it comes back online. - Messages must be processed in the exact order they were received (First-In-First-Out). - The system must support transactional processing (if Billing fails, the message goes to a Dead Letter Queue). Which messaging service should you recommend?
A company exposes several REST APIs to third-party developers using Azure API Management (APIM). The backend API is hosted on Azure App Service and is struggling to handle the load. The database queries are slow, but the data only changes once per hour. You need to optimize the architecture to protect the backend from being overwhelmed and to improve response times for the third-party developers. Which TWO APIM policies should you implement? (Select TWO)
You are designing a distributed microservices architecture for a travel booking system. Booking a vacation requires three steps: booking a flight, booking a hotel, and processing payment. Each step is handled by a separate microservice with its own database. If the flight and hotel are booked successfully, but the payment processing fails, the system must automatically cancel the flight and hotel bookings to maintain data consistency. Which architectural pattern should you implement?
A global gaming company uses Azure Cache for Redis to store player session state and real-time leaderboard data. The architecture must meet the following requirements: - The cache must be replicated across two Azure regions (US East and Europe West). - In the event of a regional outage, the secondary region must take over automatically with zero data loss. - The cache must support datasets larger than 100 GB. Which Azure Cache for Redis tier must you recommend?
You are designing an event-driven architecture for an e-commerce platform. When a customer places an order, a message must be sent to the Inventory service, the Billing service, and the Shipping service. The message contains the actual order payload (JSON data). The system must guarantee that messages are delivered in the exact order they were received (First-In-First-Out) and ensure no messages are lost if a downstream service is temporarily offline. Which messaging service should you recommend?
You are designing an API architecture using Azure API Management (APIM). You have a backend legacy API that returns XML data. You are exposing this API to modern mobile applications that only understand JSON. Furthermore, to protect the backend from being overwhelmed, you must restrict mobile clients to a maximum of 100 calls per minute. Which TWO APIM policies should you implement? (Select TWO)
You are designing a microservices architecture for a high-traffic ticketing system. During ticket sales events, the system experiences massive spikes in 'write' operations (users buying tickets). The 'read' operations (users viewing available seats) are also high but require different scaling and performance characteristics. You need to design an architecture that scales the read and write workloads independently. Which architectural pattern should you recommend?
You are designing the caching strategy for a global web application. The application relies on Azure Cache for Redis to store session state and reference data. You need to ensure that the Redis cache is highly available, survives a datacenter failure, and can scale beyond the memory limits of a single VM node. Which Azure Cache for Redis tier should you recommend?
Full answers, grading, and explanations on why each answer is correct.