AWS Certified SysOps Administrator – Associate (SOA-C03) — Question 27
A company has an application that collects notifications from thousands of alarm systems. The notifications include alarm notifications and information notifications. The information notifications include the system arming processes, disarming processes, and sensor status.
All notifications are kept as messages in an Amazon Simple Queue Service (Amazon SQS) queue. Amazon EC2 instances that are in an Auto Scaling group process the messages. A CloudOps engineer needs to implement a solution that prioritizes alarm notifications over information notifications.
Which solution will meet these requirements?
Answer options
- A. Adjust the Auto Scaling group to scale faster when a high number of messages is in the queue.
- B. Use the Amazon Simple Notification Service (Amazon SNS) fanout feature with Amazon SQS to send the notifications in parallel to all the EC2 instances.
- C. Add an Amazon DynamoDB stream to accelerate the message processing.
- D. Create a queue for alarm notifications and a queue for information notifications. Update the application to collect messages from the alarm notifications queue first.
Correct answer: D
Explanation
The correct answer is D because creating separate queues allows the application to prioritize alarm notifications by processing them first. The other options do not address the need for prioritization and either focus on scaling or distributing messages without differentiating between the types of notifications.