1. An application takes 40 seconds to process instructions received in an Amazon SQS message. Assuming the SQS queue is configured with the default VisibilityTimeout value, what is the BEST way, upon receiving a message, to ensure that no other instances can retrieve a message that has already been processed or is currently being processed?
A) Use the DeleteMessageVisibility API to cancel the VisibilityTimeout, then use the DeleteMessage API to delete the message.
B) Use the DeleteMessage API call to delete the message from the queue, then call DeleteQueue API to remove the queue.
C) Use the ChangeMessageVisibility API to decrease the timeout value, then use the DeleteMessage API to delete the message.
D) Use the ChangeMessageVisibility API to increase the VisibilityTimeout, then use the DeleteMessage API to delete the message.
2. A Developer wants access to make the log data of an application running on an EC2 instance available to systems administrators. Which of the following enables monitoring of this metric in Amazon CloudWatch?
A) Install the Amazon CloudWatch Logs agent on the EC2 instance that the application is running on.
B) Retrieve the log data from CloudWatch using the
C) Retrieve the log data from AWS CloudTrail using the
D) Launch a new EC2 instance, configure Amazon CloudWatch Events, and then install the application.
3. An AWS Lambda function must access an external site by using a regularly rotated user name and password. These items must be kept securely and cannot be stored in the function code. What combination of AWS services can be used to accomplish this? (Choose two.)(Select 2answers)
A) AWS Certificate Manager (ACM)
B) Amazon GuardDuty
C) AWS Trusted Advisor
D) AWS Systems Manager Parameter Store
E) AWS KMS
4. An Amazon RDS database instance is used by many applications to look up historical data. The query rate is relatively constant. When the historical data is updated each day, the resulting write traffic slows the read query performance and affects all application users. What can be done to eliminate the performance impact on application users?
A) Make sure Amazon RDS is Multi-AZ so it can better absorb increased traffic.
B) Implement Amazon ElastiCache in front of Amazon RDS to buffer the write traffic.
C) Create an RDS Read Replica and direct all read traffic to the replica.
D) Use Amazon DynamoDB instead of Amazon RDS to buffer the read traffic.
5. The development team is working on an API that will be served from Amazon API gateway. The API will be served from three environments: development, test, and production. The API Gateway is configured to use 237 GB of cache in all three stages. Which is the MOST cost-efficient deployment strategy?
A) Enable the cache for development and test environments only when needed.
B) Create an API Gateway in three separate AWS accounts.
C) Create a single API Gateway with all three stages.
D) Create three API Gateways, one for each stage in a single AWS account.
Leave a comment