An application publishes deployment notifications to one Amazon SNS topic with an environment message attribute. Operators should receive only production notifications through their existing email subscription. What should the developer configure?
Show the answer
Correct answerB. A subscription filter policy matching the production environment
AWhy not this: A published-message count alarm measures topic activity rather than filtering individual deployment notifications.
BWhy this is right: Subscription filtering can match the environment message attribute and deliver only production notifications.
CWhy not this: A topic access policy controls permission to publish or subscribe, not message selection for an existing subscription.
DWhy not this: A delivery policy concerns delivery retries, not selection by environment.
An SNS subscription filter policy selects messages for an individual subscription using message attributes. A topic access policy controls authorization, not which environments' messages an authorized subscriber receives.