Domain 2.3: Decoupling Mechanisms
22 questions across 5 exams
Exams covering this topic
All questions (22)
An application processes messages from an Amazon SQS queue. Occasionally, a message causes the processing application to crash, and the message is returned to the queue, creating an infinite loop of failures. How can a solutions architect prevent these 'poison pill' messages from blocking the queue?
A company wants to build an event-driven architecture. When a new file is uploaded to Amazon S3, an event should trigger two independent processing workflows simultaneously. One workflow updates a database, and the other generates a thumbnail. Which TWO services should be combined to achieve this decoupled architecture? (Select TWO.)
A developer is building an application that requires a complex sequence of AWS Lambda functions to execute in a specific order. Some functions must run in parallel, and there must be error handling and retry logic if a function fails. Which AWS service is BEST suited for orchestrating this workflow?
A company is receiving thousands of IoT sensor readings per second. The data needs to be ingested in real-time, buffered, and then processed by a fleet of Amazon EC2 instances before being stored in a database. The order of the readings per sensor must be maintained. Which service should be used for ingestion?
An application processes messages from an Amazon SQS queue. Occasionally, a malformed message causes the processing application to crash, and the message is returned to the queue, creating an infinite loop. How can a solutions architect prevent this?
A financial application processes stock trades. It is critical that trade messages are processed exactly once and in the exact order they were generated. Which messaging service meets these requirements?
An e-commerce application has a complex order fulfillment process involving payment processing, inventory updates, and shipping notifications. If any step fails, the system must execute compensating transactions to rollback previous steps. Which service is BEST suited to orchestrate this workflow?
A company needs to ingest streaming clickstream data from their website. The data needs to be buffered and then loaded into Amazon S3 in batches every 5 minutes. Which TWO services can be combined to achieve this with the LEAST operational overhead? (Select TWO.)
A company has a microservices architecture. When a new user registers, an event must be sent to three separate microservices: Welcome Email, Analytics, and Provisioning. Each service must process the event independently at its own pace. Which TWO services should be combined to implement this 'fan-out' pattern? (Select TWO.)
An e-commerce application processes orders asynchronously. It is critical that orders are processed exactly once and in the exact order they were received. Which AWS service should be used to decouple the application?
A company wants to build an event-driven architecture. When a new object is uploaded to an S3 bucket, multiple independent microservices need to process the event. The solution must support advanced event filtering based on the object's metadata. Which service should route the events?
An application requires a complex workflow involving multiple AWS Lambda functions. The workflow includes branching logic, error handling, and manual approval steps. Which AWS service is BEST suited to orchestrate this workflow?
A company needs to ingest real-time clickstream data from their website. The data needs to be buffered and then loaded into Amazon S3 in batches every 5 minutes. Which TWO AWS services should be used together to achieve this with the LEAST operational overhead? (Select TWO.)
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 repeatedly crashes the application. Which TWO actions should the solutions architect take to resolve this? (Select TWO.)
An application allows users to upload images. When an image is uploaded, three separate backend processes need to run: generating a thumbnail, extracting metadata, and running image recognition. These processes take different amounts of time to complete.<br/><br/>Which architectural pattern should a solutions architect use to decouple these processes MOST effectively?
A company wants to build an event-driven architecture. They need a central event bus that can ingest events from their own applications, AWS services, and third-party SaaS applications (like Zendesk or Datadog). The service must be able to route events to different targets based on the content of the event payload.<br/><br/>Which AWS service is BEST suited for this requirement?
A company is automating its employee onboarding process. The process involves multiple steps: creating an IAM user, provisioning a virtual workspace, and sending a welcome email. Some steps require human approval before proceeding. If a step fails, the process must automatically retry or execute a rollback procedure.<br/><br/>Which AWS service should be used to orchestrate this workflow?
A company is building an IoT application that receives millions of sensor readings per minute. The data must be ingested in real-time, ordered by the time it was received, and processed by multiple independent consumer applications simultaneously. The data must be retained for 7 days.<br/><br/>Which TWO statements about the appropriate AWS service are correct? (Select TWO.)
An e-commerce application uses an Amazon SQS queue to decouple the order ingestion web tier from the order processing backend tier. Occasionally, a malformed order message causes the backend processing application to crash. The message remains in the queue and causes a continuous loop of crashes. How can a solutions architect resolve this issue?
A company is building a serverless workflow that involves multiple steps: checking inventory, processing payment, and initiating shipping. If the payment fails, the workflow must automatically execute a rollback step to restore inventory. Which AWS service is BEST suited for orchestrating this complex workflow?
An application generates a massive stream of clickstream data (up to 1 GB/second). The data needs to be buffered and then loaded into Amazon S3 for long-term storage and analysis. Which AWS service is designed to ingest this streaming data and automatically deliver it to S3?
A financial application requires that transaction messages are processed exactly once and in the exact order they were received. Which TWO AWS services or features must be used to meet this requirement? (Select TWO.)
Practice these questions with detailed guidance
Full answers, grading, and explanations on why each answer is correct.
Expert