Acloudguru Practice Test Flashcards
Failed questions set
You manage an application that uses EC2 instances and SQS to process requests from end users. There are no known issues with your application, but your supervisor is concerned about the cost of the AWS resources it uses. Which of the following would not help address that concern?
- Use AutoScaling to adjust the number of EC2 instances according to demand from SQS.
- Increase the visibility timeout for messages in the SQS queue.
- Switch from short polling to long polling.
- Decrease the size of SQS messages to 50KB.
B
How does AWS deliver high durability for DynamoDB?
- DynamoDB data is automatically replicated across multiple AZs.
- AWS maintains a schedule of incremental backups and log shipping.
- Like S3, DynamoDB is a global service – data is automatically replicated across multiple AWS Regions.
- DynamoDB supports user Snapshots to S3.
A
You are trying to establish a VPC peering connection with another VPC, and you discover that there seem to be a lot of limitations and rules when it comes to VPC peering. Which of the following is not a VPC pairing limitation or rule?
- You cannot create a VPC pairing connection between VPCs with matching or overlapping CIDR blocks.
- A placement group cannot span peered VPCs.
- You cannot have more than one VPC peering connection between the same VPCs at the same time.
- You cannot create a VPC pairing connection between VPCs in different regions.
B
Which of the following will happen when an EC2 instance with an associated Elastic IP is stopped and restarted? Choose 2
- The Elastic IP will be disassociated from the instance
- All data on instance-store devices will be lost
- The Elastic Network Interface will be detached.
- The underlying host for the instance will be changed.
BD
The large manufacturing company you work for is interested in moving their production estate to AWS. They run a Joomla store which utilizes MySQL on the back end. Currently, they also use clustered MySQL databases in an active/passive configuration at a single site. In moving to AWS, they want an active/passive configuration across 2 geographically distinct locations, with automatic failover between the two. As their solutions architect, which of the following RDS options should you recommend?
- RDS with Cross Region Failover
- RDS Read Replicas
- RDS with Cross Region Replication
- RDS Multi-AZ
D
How can you securely upload or download your data to/from the S3 service?
Via SSL endpoints using the HTTP protocol
Via SSL endpoints using the HTTPS protocol
Via HTTP endpoints using the HTTP protocol
Via HTTP endpoints using the HTTPS protocol
BD
True or False: By default, Amazon RDS enables automated backups of your DB instance created via the RDS console with a 1-day retention period.
- True
- Depends on the DB engine selected
- False
B. Depends on the DB engine selected
EXPLANATION:
There are contradictions in the AWS doco. A check using the Console shows that the default for MySQL is 7 days, and 1 day for Aurora. Interestingly when working from the CLI/API the defaults are different from the console.
You create a standard SQS queue and test it by creating a simple application that polls the queue for messages. After a message is retrieved, the application should delete it. You create three test messages in your SQS queue and discover that messages 1 and 3 are quickly deleted, but message 2 has remained in the queue. Which of the following could account for your findings?
- The permissions on message 2 were incorrectly written.
- Your application uses short-polling.
- Standard SQS queues cannot guarantee that messages are retrieved in first-in, first-out (FIFO) order.
- Message 2 is invalid.
BC;
EXPLANATION:
With short-polling, multiple polls of the queue may be necessary to process all messages in the queue. Additionally, SQS standard does NOT offer FIFO processing of messages from the queue.
You must encrypt all incoming and outgoing traffic between your servers and your customers. Your fleet of EC2 instances lives inside a public subnet and behind an elastic load balancer. Your application is very CPU intensive, and you want to minimize the processing load these EC2 instances must bear. What should you do?
Use API Gateway to offload the SSL certificate, reducing the amount of load on both your ELB and EC2 instances.
Install the SSL certificates on your ELBs so that there is less load on the EC2 instances.
Install the SSL certificates on each EC2 instance and allow them to do the encryption/decryption with your customers.
Configure a NAT and install the EC2 instance on that NAT so that you offload SSL termination to a third party EC2 instance and not your production environment.
EXPLANATION:
The best answer would be to offload your SSL decryption to an Elastic Load Balancer.
You have been load testing a customers new production environment. You create the environment using CloudFormation and you utilize CloudWatch to monitor the environment. After extensive load testing, you are ready to hand the CloudFormation template over to your customer. You delete the environment and give your customer the CloudFormation template. However, they now want to see the results of the load test. How long does CloudWatch store the metrics for EC2 & ELB after deleting those resources? 24 months 6 months 1 month 15 months
D
EXPLANATION:
CloudWatch stores metrics for terminated Amazon EC2 instances or deleted Elastic Load Balancers for 15 months.