SOA-C02 Exam QuestionsBrowse all questions from this exam

SOA-C02 Exam - Question 365


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 SysOps administrator needs to implement a solution that prioritizes alarm notifications over information notifications.

Which solution will meet these requirements?

Show Answer
Correct Answer: D

To prioritize alarm notifications over information notifications, creating separate queues for each type of notification is the most effective solution. By distinguishing between alarm notifications and information notifications with different queues, the application can be updated to process messages from the alarm notifications queue first, thereby ensuring higher priority for alarm messages. This approach provides a clear priority mechanism and is more reliable than simply adjusting the Auto Scaling group, using the SNS fanout feature, or adding a DynamoDB stream.

Discussion

5 comments
Sign in to comment
jas26saysOption: D
Jul 21, 2023

You need to process messages with different priorities

trvtrinh
Jul 22, 2023

Option D is the correct solution to prioritize alarm notifications over information notifications. By creating separate queues for alarm notifications and information notifications, you can ensure that the messages are kept separate and can be processed independently. This approach allows you to prioritize the alarm notifications by having the application collect messages from the alarm notifications queue first.

nizammusasoac02Option: D
Aug 9, 2023

DDDD is the answer

nizammusasoac02Option: D
Aug 15, 2023

Different queues

eesa
Jun 30, 2024

option D is the most appropriate solution for ensuring that alarm notifications are processed with higher priority than information notifications when handling messages from an SQS queue with EC2 instances in an Auto Scaling group.