DVA-C02 · Question #738
DVA-C02 Question #738: Real Exam Question with Answer & Explanation
The correct answer is A: Create one Amazon SNS topic and one SNS subscription for each SQS queue. Configure the. Creating one Amazon SNS topic with individual subscriptions for each SQS queue allows the developer to broadcast image S3 paths to all processing systems. As the number of processing systems changes, new SQS queues can simply be added as new SNS subscriptions, without modifying t
Question
A developer is updating an application that analyzes digital images. Multiple systems need to process the images after the images are stored. The number of systems that need to process the images will change over time. An AWS Lambda function stores the images in an Amazon S3 bucket. Each processing system has a separate Amazon SQS queue. Each SQS queue handles messages that contain a path to images that the corresponding system must process. The developer needs a solution to publish messages to the SQS queues for the processing systems. The solution must handle the change in the number of processing systems over time. Which solution will meet these requirements with the LEAST development effort?
Options
- ACreate one Amazon SNS topic and one SNS subscription for each SQS queue. Configure the
- BCreate one Amazon SNS subscription and one SNS topic for each SQS queue. Configure the
- CCreate one new SQS queue and one Amazon SNS subscription for each SQS queue that will
- DCreate a new SQS queue. Configure S3 Event Notifications to send messages to the new SQS
Explanation
Creating one Amazon SNS topic with individual subscriptions for each SQS queue allows the developer to broadcast image S3 paths to all processing systems. As the number of processing systems changes, new SQS queues can simply be added as new SNS subscriptions, without modifying the Lambda function. This approach offers minimal development effort and is scalable
Community Discussion
No community discussion yet for this question.