Other AWS Services Flashcards
Which Amazon service can you use in conjunction with SQS to “fan out” SQS messages to multiple queues.
SES
ElastiCache
SNS
SWF
SNS
Unlike Cloud Formation, the use of Elastic Beanstalk is not free. And, in addition, you must pay for the resources it provisions.
False
True
False
You have been asked to decouple an application by utilising SQS. The application dictates that messages on the queue can be delivered more than once, but must be delivered in the order that they have arrived, and also must allow for efficient, repeated polling of the queue. Which of the following options are most suitable?
Configure a standard SQS queue and use long polling
Configure a FIFO SQS queue and enable long polling
Configure a FIFO SQS queue and enable short polling
Configure a standard SQS queue and use default polling
Configure a FIFO SQS queue and enable long polling
You have a fleet of EC2 instances that are constantly polling empty SQS queues, burning CPU cycles and costing your company money. What should you do?
Delete the entire EC2 fleet so that they no longer poll the queue.
Enable SQS Long Polling.
Consider using ElastiCache to cache the messages, rather than SQS.
Enable SQS Short Polling.
Enable SQS Long Polling.
AWS provides a number of security related managed services. From the options below, select which AWS service is related to protecting your infrastructure from which security issue. (Choose 4)
AWS Shield protects from SQL Injection attacks
AWS WAF blocks IP addresses based on rules
AWS WAF protects from Cross Site Scripting attacks
AWS Shield protects from Distributed Denial of Service attacks
Amazon Macie uses Machine Learning to protect sensitive data
AWS WAF blocks IP addresses based on rules
AWS WAF protects from Cross Site Scripting attacks
AWS Shield protects from Distributed Denial of Service attacks
Amazon Macie uses Machine Learning to protect sensitive data
Elastic Beanstalk is object based storage.
False
True
False
Which of these is a protocol NOT supported by SNS:
HTTP
Email-JSON
FTP
FTP
What is the maximum retention period for an SQS message?
14 days
1 day
12 hours
1 hour
14 days
You can use SNS in conjunction with SQS to fan a single message out to multiple SQS queues.
False
True
True
An SQS message can be delivered multiple times.
True
False
True
SNS messages cannot be customized by protocol type.
False
True
False
You are designing a new application that processes payments and delivers promotional emails to customers. You need to ensure that the payment process takes priority over the creation and delivery of emails. How might you use SQS to achieve this.
Use 2 SQS queues for the platform. Have the EC2 fleet poll the promotional emails SQS queue first. If this queue is empty, then poll the payment emails queue.
Use 1 SQS queue for the platform. Use the SetPriority API call to ensure that all payment SQS messages take priority over the promotional email messages.
Use 2 SQS queues for the platform. Have the EC2 fleet poll the payment SQS queue first. If this queue is empty, then poll the promotional emails queue.
Use 1 SQS queue for the platform. Use the HighPriority API call to ensure that all payment SQS messages take priority over the promotional email messages.
Use 2 SQS queues for the platform. Have the EC2 fleet poll the payment SQS queue first. If this queue is empty, then poll the promotional emails queue.
What is the maximum long poll time out?
1 hour
5 minutes
20 seconds
50 seconds
20 Sec
You have a list of email addresses to which you need to push emails on a periodic basis. What do you subscribe them to?
A Subreddit
A Subject
A Message
A topic
A topic
SNS is pull-based rather than push-based
True
False
False