exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 108 discussion

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

A user has created a queue named `myqueue` with SQS. There are four messages published to queue which are not received by the consumer yet. If the user tries to delete the queue, what will happen?

  • A. A user can never delete a queue manually. AWS deletes it after 30 days of inactivity on queue
  • B. It will delete the queue
  • C. It will initiate the delete but wait for four days before deleting until all messages are deleted automatically.
  • D. It will ask user to delete the messages first
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
SQS allows the user to move data between distributed components of applications so they can perform different tasks without losing messages or requiring each component to be always available. The user can delete a queue at any time, whether it is empty or not. It is important to note that queues retain messages for a set period of time. By default, a queue retains messages for four days.

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
awscertified
Highly Voted 2 years, 7 months ago
B. It will delete the queue
upvoted 5 times
...
albert_kuo
Most Recent 11 months, 3 weeks ago
Selected Answer: B
You can delete a queue even when it isn't empty.
upvoted 1 times
albert_kuo
8 months ago
https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/step-delete-queue.html
upvoted 1 times
...
...
albert_kuo
11 months, 3 weeks ago
Selected Answer: D
https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/step-delete-queue.html You can delete a queue even when it isn't empty.
upvoted 1 times
...
Hetul
2 years, 7 months ago
So would that 4 messages would also be get deleted without being processed?
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