Quiz Challenge 2 Flashcards
Although your application customarily runs at 30% usage, you have identified a recurring usage spike (>90%) between 8pm and midnight daily. What is the most cost-effective way to scale your application to meet this increased need?
Use scheduled scaling to boost your capacity at fixed intervals.
You have been asked to identify a service on AWS that is a durable object storage. Which of the services below meets this definition?
S3 - Simple Storage Services
You have been asked to decouple an application by utilizing SQS. The application dictates that messages on the queue CAN be delivered more than once, but must be delivered in the order they have arrived while reducing the number of empty responses. Which of the following options are most suitable?
Configure a FIFO SQS queue and enable long polling
You are building a NAT Instance in an m3.medium using the AWS Linux2 distro with amazon-linux-extras installed. Which of the following do you need to set
Ensure that “Source/Destination Checks” is disabled on the NAT instance
You need to add a route to your routing table that will allow connections to the internet from your subnet. Which of the following routes should you add?
Destination: 0.0.0.0/0 –> Target: your Internet gateway
You are reviewing Change Control requests, and you note that there is a change designed to reduce costs by updating the Amazon SQS “WaitTimeSeconds” attribute. What does this mean?
When the consumer instance polls for new work, the SQS service will allow it to wait a certain time for one or more messages to be available before closing the connection.
You are reviewing Change Control requests and you note that there is a proposed change designed to reduce errors due to SQS Eventual Consistency by updating the “DelaySeconds” attribute. What does this mean?
When a new message is added to the SQS queue, it will be hidden from consumer instances for a fixed period.
What data formats are used to create CloudFormation templates?
JSON and YAML
AWS intends to shut down your spot instance; which of these scenarios is possible?
- AWS sends a notification of termination and you receive it 120 seconds before the intended forced shutdown.
- AWS sends a notification of termination and you receive it 120 seconds before the forced shutdown, but the defined duration period (also known as Spot blocks) hasn’t ended yet.
- AWS sends a notification of termination, but you do not receive it within the 120 seconds and the instance is shutdown.
To save money, you quickly stored some data in one of the attached volumes of an EC2 instance and stopped it for the weekend. When you returned on Monday and restarted your instance, you discovered that your data was gone. Why might that be?
- The volume was ephemeral, block-level storage.
- Data on an instance store volume is lost if an instance is stopped.
You have launched a NAT instance into a public subnet, and you have configured all relevant security groups, network ACLs, and routing policies to allow this NAT to function. However, EC2 instances in the private subnet still cannot communicate out to the internet. What troubleshooting steps should you take to resolve this issue?
Disable the Source/Destination Check on your NAT instance.
You’ve been commissioned to develop a high-availability application with a stateless web tier. Identify the most cost-effective means of reaching this end.
- Use an Elastic Load Balancer, a multi-AZ deployment of an Auto-Scaling group of EC2 Spot instances (primary) running in tandem with an Auto-Scaling group of EC2 On-Demand instances (secondary), and DynamoDB.
- With proper scripting and scaling policies, running EC2 On-Demand instances behind the Spot instances will deliver the most cost-effective solution because On-Demand instances will only spin up if the Spot instances are not available.
- DynamoDB lends itself to supporting stateless web/app installations better than RDS .
You manage a Ruby on Rails messaging application that lives on a cluster of EC2 instances. Your website occasionally experiences brief, strong, and entirely unpredictable spikes in traffic that overwhelm your EC2 instances’ resources and freeze the application. As a result, you’re losing recently submitted messages from end-users. You use Auto Scaling to deploy additional resources to handle the load during spikes, but the new instances don’t spin-up fast enough to prevent the existing application servers from freezing. Which of the following will provide the most cost-effective solution in preventing the loss of recently submitted messages?
Use Amazon SQS to decouple the application components and keep the messages in queue until the extra Auto-Scaling instances are available.
You work for a busy real estate company, and you need to protect your data stored on S3 from accidental deletion. Which of the following actions might you take to achieve this?
- Enable versioning on the bucket.
- If a file is accidentally deleted, delete the delete marker.
- Configure MFA-protected API access.
You have created a VPC that contains two EC2 instances in different availability zones. Both are running web servers, hosting the same content. These web servers will be accessible via the internet. Which of the following DNS configurations could you consider?
- Set up an Application Load Balancer and place your instances behind this ELB.
- Configure a Route 53 Alias record to point to the resource of the Application Load Balancer.
- Assign each EC2 instance with an Elastic IP Address.
- Configure a Route 53 “A” multi-value record with both EIP’s and health checks.
You are a student currently learning about the different AWS services. Your employer asks you to tell him a bit about Amazon’s Glacier service. Which of the following best describes the use cases for Glacier?
Infrequently accessed data and data archives.
You have been engaged by a company to design and lead the migration to an AWS environment. An argument has broken out about how to meet future Backup & Archive requirements and how to transition. The Security Manager and CTO are concerned about backup continuity and the ability to continue to access old tape archives. The Senior engineer is adamant that there is no way to retain the old backup solution in the AWS environment, and that they will lose access to all the current archives. What information can you share that will satisfy both parties in a cost-effective manner?
- Suggest that during transition, a second AWS Tape Gateway (VTL) solution could be commissioned in the customer’s new VPC and integrated with existing VTS.
- At the same time, the existing Enterprise Backup Solution could be used to perform tape-to-tape copies to migrate the Archives from tape to VTL/VTS virtual tape.
- Meet with both parties and brief them on the AWS Tape Gateway (VTL) solution.
- Explain that it can initially be installed in the on-premises environment utilizing the existing enterprise backup product to start the transition without losing access to the existing backups and archives.
- Over the duration of the migration, most (if not all) the backup cycles will be replaced by the new VTL & VTS tapes.