Domain 2.3: Decoupling
11 questions across 2 exams
Exams covering this topic
All questions (11)
A company is building an order processing system. Messages must be processed exactly once and in the exact order they were received. Which AWS service should be used?
An application needs to react to state changes in Amazon EC2 instances (e.g., when an instance goes from 'pending' to 'running'). When this happens, a Lambda function must be triggered. What is the MOST decoupled way to achieve this?
A company is building an IoT application that receives millions of sensor readings per second. Multiple backend applications need to consume this data simultaneously in real-time. Which service should be used to ingest the data?
A company has a complex order fulfillment process involving payment processing, inventory checking, and shipping. Each step is handled by a different AWS Lambda function. If a step fails, the process must retry or execute a rollback function. Which service should orchestrate this workflow?
An application processes messages from an Amazon SQS queue. Occasionally, a malformed message causes the processing application to crash. The message is returned to the queue and causes the application to crash again in an infinite loop. How can this be prevented?
A popular mobile game uses Amazon API Gateway and AWS Lambda. During special events, traffic spikes unpredictably, causing the backend database to become overwhelmed. How can a solutions architect protect the backend while ensuring legitimate requests are eventually processed?
A company is building an order processing system. Orders are placed by users via a web interface and sent to a backend processing tier. It is critical that orders are processed exactly once and in the exact order they were received. <br/><br/>Which AWS service should the solutions architect use to decouple the web tier from the processing tier?
A media company has an application that processes video files. Users upload videos to an Amazon S3 bucket. The processing takes several minutes per video and is handled by a fleet of Amazon EC2 instances. The company wants to decouple the upload process from the video processing to ensure the system remains responsive even during traffic spikes. <br/><br/>What is the MOST resilient way to architect this?
A company is designing a microservices architecture. Service A needs to publish events that are consumed by Service B and Service C. Service B processes events immediately, while Service C batches them and processes them hourly. If Service C is down, events must not be lost. <br/><br/>Which TWO AWS services should be combined to build this architecture? (Select TWO.)
A company has a complex data processing pipeline that involves multiple AWS Lambda functions. The functions must be executed in a specific order. Some functions take up to 10 minutes to run. If a function fails, the system needs to retry it automatically or execute a fallback function. <br/><br/>Which AWS service is BEST suited to orchestrate this workflow?
A company is using Amazon SQS to process background jobs. Occasionally, a message causes the consumer application to crash, and the message is returned to the queue. This creates an infinite loop where the bad message is repeatedly picked up and crashes the application. <br/><br/>How can a solutions architect resolve this issue?
Practice these questions with detailed guidance
Full answers, grading, and explanations on why each answer is correct.
Expert