exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 530 discussion

Exam question from Amazon's AWS-SysOps
Question #: 530
Topic #: 1
[All AWS-SysOps Questions]

A Content Processing team has notified a SysOps Administrator that their content is sometimes taking a long time to process, whereas other times it processes quickly. The Content Processing submits messages to an Amazon Simple Queue Service (Amazon SQS) queue, which details the files that need to be processed.
An Amazon EC2 instance polls the queue to determine which file to process next.
How could the Administrator maintain a fast but cost-effective processing time?

  • A. Attach an Auto Scaling policy to the Amazon SQS queue to increase the number of EC2 instances based on the depth of the SQS queue
  • B. Create an Auto Scaling policy to increase the number of EC2 instances polling the queue and a CloudWatch alarm to scale based on MaxVisibility Timeout
  • C. Attach an Auto Scaling policy to the SQS queue to scale instances based on the depth of the dead-letter queue
  • D. Create an Auto Scaling policy to increase the number of EC2 instances polling the queue and a CloudWatch alarm to scale based on ApproximateNumberOfMessagesVisible
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
albert_kuo
10 months ago
Selected Answer: D
ApproximateNumberOfMessagesVisible metric allows you to trigger scaling actions based on the number of visible messages in the queue. This helps ensure that the system can handle the processing load efficiently and respond to changes in message volume effectively.
upvoted 1 times
...
gulu73
1 year, 2 months ago
Selected Answer: D
vote D
upvoted 1 times
...
xxxdolorxxx
2 years, 5 months ago
I vote D.
upvoted 1 times
...
3gpaBko
2 years, 5 months ago
Dead-Letter-Queue is for not messages that cannot be processed for some reason. I`ll suggest option D: ApproxMaxVisibleMessages, as this indicates that messages are not polled by the receiver and need more receivers.
upvoted 1 times
...
Overlord75780
2 years, 5 months ago
D according to this : https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-using-sqs-queue.html
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago