MegaQuiz Flashcards
You have a high performance compute application and you need to minimize network latency between EC2 instances as much as possible. What can you do to achieve this?
Create a placement group and place the EC2 instances in the group.
Placement Groups can be created across 2 or more Availability Zones.
False
Which of the services below do you get root access to?
EC2 AND Elastic MapReduce.
When you create new subnets within a custom VPC, by default they can communicate with each other, across availability zones.
True
It is possible to transfer a reserved instance from one Availability Zone to another.
True
You have an EC2 instance which needs to find out both its private IP address and its public IP address. To do this you need to?
Retrieve the instance metadata from:
http://169.254.169.254/latest/meta-data/
Amazon S3 buckets in all regions provide read-after-write consistency for PUTS of new objects.
True
Amazon S3 buckets in all regions do not provide eventual consistency for overwrite PUTS and DELETES.
False
In order to enable encryption at rest using EC2 and Elastic Block Store you need to
Configure encryption when creating the EBS volume
Amazon’s Redshift uses which block size for its columnar storage?
1024KB / 1MB
You run a website which hosts videos and you have two types of members, premium fee paying members and free members. All videos uploaded by both your premium members and free members are processed by a fleet of EC2 instances which will poll SQS as videos are uploaded.
However you need to ensure that your premium fee paying members videos have a higher priority than your free members. How do you design SQS?
Incorrect, SQS does not set priorities on individual items.
It would be best to create two queues and have the EC2 fleet poll the premium queue first and if empty, then poll your free members SQS queue. .
You have been asked to create VPC for your company. The VPC must support both Internet-facing web applications (ie they need to be publicly accessible) and internal private applications (i.e. they are not publicly accessible and can be accessed only over VPN). The internal private applications must be inside a private subnet. Both the internet-facing and private applications must be able to leverage at least three Availability Zones for high availability. At a minimum, how many subnets must you create within your VPC to achieve this?
minimum 6
You work for a cosmetic company which has their production website on AWS. The site itself is in a two-tier configuration with web servers in the front end and database servers at the back end. The site uses using Elastic Load Balancing and Auto Scaling. The databases maintain consistency by replicating changes to each other as and when they occur. This requires the databases to have extremely low latency. Your website needs to be highly redundant and must be designed so that if one availability zone goes offline and Auto Scaling cannot launch new instances in the remaining Availability Zones the site will not go offline. How can the current architecture be enhanced to ensure this?
In this scenario.
- You need high low latency - so no cross region replication is an option.
- If you lost an availability zone, you would still have 2 other Availability Zones available each that is configured to handle 50% peak load per zone. 50% + 50% = 100%.
So your site in three different AZs.
- same region
- configure auto scaling to handle 50% of the peak load.
You are a systems administrator and you need to monitor the health of your production environment. You decide to do this using Cloud Watch, however you notice that you cannot see the health of every important metric in the default dash board. Which of the following metrics do you need to design a custom cloud watch metric for, when monitoring the health of your EC2 instances?
None Custom:
* CPU + Disk IO + network Ingress
Custom Cloud:
Memory Usage
You work for a toy company that has a busy online store. As you are approaching Christmas, you find that your store is getting more and more traffic. Your web tier is behind an Auto Scaling group, but you notice that is is frequently scaling, sometimes multiple times in an hour, only to scale back down after peak usage. You need to keep Auto Scaling from scaling up and down so rapidly. What would help achieve this ?
1) Modify the Auto scaling group cool down triggers.
2) Modify the amazon cloudwatch alarm period that triggers your auto scaling down policy.
You work in the genomics industry and you process large amounts of genomic data using a nightly Elastic Map Reduce (EMR) job. This job processes a single 3 Tb file which is stored on S3. The EMR job runs on 3 on-demand core nodes and four on-demand task nodes. The EMR job is now taking longer than anticipated and you have been asked to advise how to reduced the completion time?
- Using an equal number of spot instances would not reduce the EMR time.
Reduce the the input split size in the MapReduce job configuration and then adjust the number of simultaneous mapper tasks so that more tasks can be processed at once.
You have been asked to identify a service on AWS that is a durable key value store. Which Service best meets this definition?
Simple Storage Service (S3)
You are a solutions architect working for a biotech company who is pioneering research in immunotherapy. They have developed a new cancer treatment that may be able to cure up to 94% of cancers. They store their research data on S3, however recently an intern accidentally deleted some critical files. You’ve been asked to prevent this from happening in the future. What options below can prevent this?
1) Enable S3 Versioning.
2) Enable 2 FA
By enabling versioning’s MFA Delete capability, which uses multi-factor authentication, can be used to provide an additional layer of security.
Your company has decided to set up a new AWS account for test and dev purposes. They already use AWS for production, but would like a new account dedicated for test and dev so as to not accidentally break the production environment. You launch an exact replica of your production environment using a cloudformation template that your company uses in production. However cloudformation fails. You use the exact same CloudFormation template in production so the failure is something to do with your new AWS account. The CloudFormation template is trying to launch 60 new EC2 instances in a single availability zone. After some research you discover that the problem is;
There is a soft limit of 20 instances per region. Submit the limit increase form and retry the failed requests once approved (as per http://aws.amazon.com/ec2/faqs/)
You work for a famous bakery who are deploying a hybrid cloud approach. Their legacy IBM AS400 servers will remain on premise within their own datacenter however they will need to be able to communicate to the AWS environment over a site to site VPN connection.
What do you need to do to establish the VPN connection?
Assign a public IP Address to your Amazon VPC gateway. You don’t need an AWS direct connect to establish a VPN Connection)
What is an AWS placement group?
Placement Groups are logical groupings or clusters of instances in the selected AWS region. Placement groups are specifically used for launching cluster compute instance types.
Placement Groups are restricted to a single Availability Zone.
You work for a automotive company which is migrating their production environment in to AWS. The company has 4 separate segments, Dev, Test, UAT & Production. They require each segment to be logically isolated from each other. What VPC configuration should you recommend?
The best answer is to deploy a separate VPC for each segment, completely isolating that segment from the other segments.
By default how many VPCs can you have per region in your AWS account?
5
Which of the following is true when writing to S3?
S3:
- Ready-After-Write consistency for puts of new objects.
- eventual consistency for overwrites PUTS and DELETES