DVA-C02 · Question #653
A developer is adding an Amazon SNS topic to an application. The topic has multiple subscribers, an Amazon SQS queue subscription named sqs-sub, and an email subscription named email- sub. The develop
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #653. The question stem and answer options stay visible for context.
Question
A developer is adding an Amazon SNS topic to an application. The topic has multiple subscribers, an Amazon SQS queue subscription named sqs-sub, and an email subscription named email- sub. The developer wants the application to send all notifications to email-sub. Only messages that have an attribute of department with a value of finance must go to sqs-sub. Currently, neither subscription has a subscription filter policy. Which solution will meet these requirements?
Options
- ACreate a subscription filter policy on email-sub that contains 'department': ['*']. Create a second
- BCreate a subscription filter policy on email-sub that contains 'department': ['finance']. Create a
- CCreate a subscription filter policy on email-sub that contains '': [''].
- DCreate a subscription filter policy on sqs-sub that contains 'department': ['finance'].
Unlock DVA-C02 to see the answer
You've previewed enough free DVA-C02 questions. Unlock DVA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.