Search Header Logo

Day 9 - Modern Application Architectures on AWS Part 1

Authored by Rielah De Jesus

Other

Professional Development

Used 4+ times

Day 9 - Modern Application Architectures on AWS Part 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Your application polls an Amazon Simple Queue Service (Amazon SQS) queue frequently and returns immediately, often with empty ReceiveMessageResponses. What is one thing that can be done to reduce Amazon SQS costs?

Pricing on Amazon SQS does not include a cost for service requests; therefore, there is no concern.

Increase the timeout value for short polling to wait for messages longer before returning a response.

Change the message visibility value to a higher number

Use long polling by supplying a WaitTime Seconds of greater than 0 seconds when calling ReceiveMessage.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the longest configurable message retention period for Amazon Simple Queue Service (Amazon SQS)?

30 minutes

4 days

30 seconds

14 days

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A web application allows customers to upload orders to an S3 bucket. The resulting Amazon S3 events trigger a Lambda function that inserts a message to an SQS queue. A single EC2 instance reads messages from the queue, processes them, and stores them in an DynamoDB table partitioned by unique order ID. Next month traffic is expected to increase by a factor of 10 and a Solutions Architect is reviewing the architecture for possible scaling problems. Which component is MOST likely to need re-architecting to be able to scale to accommodate the new traffic?

Lambda Function

SQS Queue

EC2 Instance

DynamoDB Table

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You have an application that has a requirement to process transactions in the form of messages that need to be processed in order, ideally, at a rate of 1000 messages per second. The order by which the messages are processed is critical, and messages need to be processed only once. What AWS service can you use to accomplish this without expending a lot of development time?

Amazon SQS FIFO Queue

Amazon SNS Topic

AWS Lambda

Amazon SQS Standard Queue

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Of the following options, what is an efficient way to fanout a single Amazon Simple Notification Service (Amazon SNS) Message to multiple Amazon Simple Queue Service (Amazon SQS) queues?

Create an Amazon SNS topic using Amazon SNS. Then create and subscribe multiple Amazon SQS queues to the Amazon SNS topic.

Create one Amazon SQS queue that subscribes to multiple Amazon SNS topics.

Amazon SNS allows exactly one subscriber to each topic, so fanout is not possible.

Create an Amazon SNS topic using Amazon SNS. Create an application that subscribes to that topic and duplicates the messages. Send copies to multiple Amazon SNS queues.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are working with your application development team and have created an Amazon Simple Queue service (Amazon SQS) standard queue. Your developers are complaining that messages are being processed more than once. What can you do to limit or stop this behavior?

Have the developers make their application idempotent.

Deploy a First-In, First-Out (FIFO) queue and have the developers point their application to it.

Increase the visibility timeout on the queue.

Adjust the size of the Amazon Elastic Compute Cloud fleet.

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

You are looking to use Amazon Simple Notification Service (Amazon SNS) to send alerts to members of your operations team. What protocols does Amazon SNS support? Choose all that apply.

HTTP/HTTPS

SQL

Email-JSON

Amazon SQS

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?