AWS Certified Developer Associate DVA-C02 Practice Question

A developer is building a microservices application that publishes order events to an Amazon SNS topic. Each published message includes a message attribute named "department" whose value can be "sales", "marketing", or "finance". The sales team exposes an HTTPS endpoint that must receive only the messages where department equals "sales", and no other messages. Which approach meets this requirement?

  • Disable raw message delivery on the sales subscription so that only messages with the "sales" attribute are forwarded.

  • Tag the sales HTTPS endpoint with department=sales and enable endpoint-based filtering in Amazon SNS.

  • Enable the Amazon SNS message grouping feature and assign the group ID "sales" to relevant messages.

  • Attach a subscription filter policy to the sales subscription that specifies {"department": ["sales"]}.

AWS Certified Developer Associate DVA-C02
Troubleshooting and Optimization
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot