Skip to main content

DVA-C02 practice question · Development with AWS Services

Which SQS queue attribute controls how long a message is invisible to other consumers after one consumer has received…

Which SQS queue attribute controls how long a message is invisible to other consumers after one consumer has received it, to prevent duplicate processing while it's being handled?

  • AVisibility timeout
  • BMessage retention period
  • CDelivery delay
  • DMaximum message size
Show the answer and explanation

Correct answer: A) Visibility timeout

Why each option is right or wrong

  • A) Correct. The visibility timeout hides a received message from other consumers for a set period, giving the current consumer time to process and delete it before it becomes visible again for redelivery.
  • B) Incorrect. Retention period controls how long an unconsumed message stays in the queue before being discarded, not how long it's hidden after being received.
  • C) Incorrect. Delivery delay postpones a message's initial visibility after being sent, not its visibility after being received by a consumer.
  • D) Incorrect. Maximum message size limits payload size and has nothing to do with visibility timing.
Exam domain
Development with AWS Services · 32% of DVA-C02
Question type
Multiple choice (one answer)

Practise the full DVA-C02 exam

This question is one of a small free sample from the CertRidge DVA-C02 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with AWS; never copied from the real exam.

Worth reading: DVA-C02 cheat sheet, Lambda, DynamoDB, API Gateway, IAM and Cognito, messaging, CI/CD and X-Ray in tables, plus what DVA-C03 changes.