Search Header Logo

AWS SQS and SNS Quiz

Authored by Chan Sianghui

Computers

Professional Development

Used 4+ times

AWS SQS and SNS Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the maximum message size supported by AWS SQS?

128 KB

256 KB

512 KB

1 MB

Answer explanation

AWS SQS supports a maximum message size of 256 KB. If you need to send larger messages, you can use Amazon S3 to store the data and include a pointer to the S3 object in the SQS message.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of SQS queue guarantees exactly-once processing and strict message ordering?

Standard Queue

FIFO Queue

Dead-letter Queue

Priority Queue

Answer explanation

FIFO (First-In-First-Out) Queues guarantee that messages are processed exactly once and in the order they are sent. Standard queues provide best-effort ordering and may deliver messages more than once.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default visibility timeout for a message in SQS?

10 seconds

30 seconds

1 minute

5 minutes

Answer explanation

The default visibility timeout for a message in SQS is 30 seconds. This is the time during which the message is hidden from other consumers after being retrieved by one consumer. You can adjust this timeout based on your application's needs.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a dead-letter queue (DLQ) in SQS?

To store messages that are processed successfully

To store messages that fail to be processed after a specified number of retries

To store messages with the highest priority

To store messages that are delayed

Answer explanation

Correct Answer: b) To store messages that fail to be processed after a specified number of retries
Explanation: A dead-letter queue (DLQ) is used to store messages that cannot be processed successfully after a specified number of retries. This helps in debugging and analyzing failed messages without blocking the main queue.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the maximum retention period for messages in an SQS queue?

1 day

4 days

14 days

30 days

Answer explanation

Correct Answer: c) 14 days
Explanation: The maximum retention period for messages in an SQS queue is 14 days. The default retention period is 4 days, but you can configure it up to 14 days.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the maximum message size supported by AWS SNS for SMS messages?

128 KB

256 KB

512 KB

2 MB

Answer explanation

Correct Answer: b) 256 KB
Explanation: The maximum message size for SMS messages in AWS SNS is 256 KB. For other protocols like HTTP/HTTPS or Lambda, the maximum message size is 2 MB.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a supported endpoint type for AWS SNS?

Email

SMS

FTP

Lambda Function

Answer explanation

Correct Answer: c) FTP
Explanation: AWS SNS supports endpoints like Email, SMS, Lambda Functions, and HTTP/HTTPS, but it does not support FTP as an endpoint type.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?