Skip to content

Latest commit

 

History

History
456 lines (365 loc) · 13.9 KB

README.md

File metadata and controls

456 lines (365 loc) · 13.9 KB

Compute

Do T2 instances persist their credit balance through a stop/start? No
KVM stands for _____, and is used for Linux Hypervisor Virtualization. Kernel Virtual Machine 
Required before creating an instance group Instance template
EC2 available virtualization types PVPara-Virtual HVMHardware Virtual Machine
Can you add a role to an EC2 instance after it has been created and started? No
Are reserved instances available for multi-AZ deployments? Yes
Is it possible to transfer a reserved instance from one Availability Zone to another? Yes
Is Docker supported on Elastic Beanstalk? Yes
Can you switch AZ's on an existing reserved instance? Yes
A placement group is ideal for _____  that require high network throughput and low latency across a single availability zone. EC2 instances
A role has been assigned to an existing EC2 instance. Can you change the role's permissions? Yes, and the changes will take effect immediately.
You have an EC2 instance which needs to find out its private and public IP's. To do this you need to... Fetch its meta-data from http://169.254.169.254/latest/meta-data/
An application on EC2 must call AWS API's. How should you securely pass credentials to it? Use IAM roles for the instances.
An application will need to keep network traffic the lowest latency possible while leveraging very high CPU performance on AWS. What are some of the things you could suggest for deployment? Use CPU optimized EC2 instances deployed into placement groups
When creating resource level permissions, the 4 actions of an EC2 instance that you can control, are... START / RESTARTSTOP / TERMINATE
Where do you configure your instance's Placement Groups? In the Auto Scaling Group
It's a best practice to keep dynamic data closer to the _____ and static data closer to the _____ compute   end-user
What 4 attributes of an instance must your RI match to cover it? AZ, instance type, platform, Tenancy
Instance type modifications are supported for Linux/UNIX platform reservations if...  The platform isn't licensed (like RedHat)
An application runs 24/7 on EC2, and the load is predictable and constant throughout the year. The most cost-efficient EC2 purchase model in this case is... EC2 Reserved
A reserved instance can save you money over on-demand instances. If you shut down the reserved instance, will the hourly charge incur for the shutdown hours? No
Does the data on the instance based storage remains intact when you reboot the EC2 instance? Yes
How many VMs should usually allocate to Cloud Vision? None; Cloud Vision is a serverless service.
You can use AWS _____ to analyze images and extract text seen in the image. Cloud Vision
If the AMI changes, but it's the same instance type, is the Reserved instance still valid? Yes
Can I move a reserved instance from one region to another? No
You are designing a new web application which will need to access data stored in DynamoDB. You need to do this as securely as possible, without storing any credentials on a long term basis. How would you achieve this? AWS IdentityIAM roles for the API-calling EC2 Instances
Can an AMI be copied to another region? Yes - It will get a new ami ID though
Can you SSH into ElasticBeanstalk instances? Yes
With ElasticBeanstalk can you deploy from a zip file with code? Yes
Can you move an RI from one region to another? No
The /dev/sda1/ name in EC2 is reserved for the _____ device root
Can you create an instance store-backed AMI? Yes
Can Auto Scaling start/release EC2 instances when CPU utilization is above/below threshold? Yes
Can Auto Scaling increase instance sizes when utilization is above threshold? No
Can auto scaling reboot an instance if its health check has failed? No
In an EC2 instance, can you use instance based storage for your root volume? Yes
Can you restrict who has access to specific EC2 instances via SSH keys and passwords? Yes
A Reserved Instance is associated with a specific instance type for the duration of its term; however, you can change from one instance size (e.g., c3.large) to another (e.g., c3.xlarge) in the same type, if... If it is a Linux/UNIX Reserved Instance. 
Specifying the mapping /dev/sdc=none prevents /dev/sdc from _____ when launching an EC2 instance. Attaching to the instance.
Are reserved Instances available for Multi-AZ Deployments? Yes
Can you share your AMI with other AWS account owners? Yes
For Instance stored-backed AMIs, where is the root volume stored? S3
With ElasticBeanstalk can you deploy from a repo with code? Yes
Is an EC2 instance's storage automatically saved in S3? No
Can you limit who has access to a specific EC2 instance via IAM? No
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 within an Availability Zone and place the EC2 instances within that placement group.
Are EC2 instance store volumes wiped on a REBOOT? No
Do all instances in a placement group have to be of the same instance type? Yes
A _____ allows you to manage and automatically bid on multiple Spot instances that provide the lowest price per unit. Spot fleet
A stopped instance will be started as part of the cluster placement group it was in when it stopped. What happens if capacity is not available for it to start within its cluster placement group? The start will fail
When transferring data from an EC2 instance in one AZ to an EC2 instance in another AZ, you would be charged for data input and output, specifically _____ the first instance, and _____ the second. out in
Will I be charged if my Spot EC2 instance is terminated by Amazon before the hour is up? No
_____ volumes are virtual devices whose underlying hardware is physically attached to the host EC2 instance Instance store
You can have ____ EC2 instances per region 20
In auto scaling you can scale by an integer or by ____ A percentage of your max ASG size
If you delete an Autoscaling group will the instances spun up by it be deleted? Yes
If an instance in a cluster placement group is stopped then started again, will it maintain its presence in the cluster placement group? Yes. 
You want to add a second EC2 instance for your application that requires a high bandwidth connect with the existing EC2. You should launch your EC2's in a _____ in this case. Placement Group
An EC2 instance on a public subnet needs an _____ or _____ to be Internet accessible. ELB or Elastic IP
If an EC2 instance is unhealthy, what will its ELB do? Stop sending traffic to that instance
Newly created EC2 instances can have a Public IP automatically assigned to them by enabling _____ "Auto-assign Public IP"
A Spot EC2 Instance request is made by specifying the instance type, the desired number of instances and Availability Zone, and finally the maximum price to pay per _____ instance hour.
Can EC2 placement group be deployed across multiple Availability Zones? No
Does the public DNS of an EC2 instance remain intact when you shut it down and start it again? No
Micro instances have a fraction of the compute resources that Standard Small instances do. However, they can be set to temporarily _____ to up to 2 ECUs. burst
Can EC2 instances have credentials stored on them so that the instances can access other resources (such as S3 buckets)? No - You should be assigning roles.
Can you schedule reserved instances for certain days/times? Yes
Can you configure Availability Zones in the Auto Scaling Group? Yes
What type of memory does EC2 use? ECC
Any emergent change to the EC2 Spot instance price won't reflect on the billing until _____ Until the next instance-hour begins.
1 CPU credit provides one _____ of a full CPU core on T2 burstable instances. minute
You can attach up to _____ Elastic Network Interfaces to an instance. 2
Do you need an ELB for Auto Scaling? Yes
Does auto-scaling your EC2 instances across availability zones such that a number of instances must always run inside each, help at all to make your application highly available? Yes
An EC2 is connected to an Elastic Network Interface in one subnet. If you try to attach another subnet's ENI to the instance, the instance will follow the rules of _____ both subnets
An EC2 instance is launched in a private subnet. Using an Internet Gateway, are you able to route the instance's traffic to a NAT in a public subnet? Yes
Does Elastic Beanstalk automatically handle the deployment, capacity provisioning, load balancing, auto-scaling and application health monitoring based on the code you upload to it? Yes
Can you attach multiple Elastic IPs to a single EC2 instance? No
If using an ELB, Auto Scaling health checks can be configured to use the _____ checks of the ELB. status checks
If your maximum spot instance price bid exceeds the current spot instance price, instances will be started and run until either they are terminated, or ______ the spot instance price increases above your maximum price bid.
To make an application highly available, does it help to spread its EC2 instances across availability zones and regions, with an ELB balacing the load? Yes
Individual instances are provisioned within _____ Availability Zones
Can you configure auto scaling groups have auto-scaling schedules? Yes - in the ASG scheduling tab.
What happens to my Amazon EC2 instances if I delete my Auto Scaling Group? They're terminated
A large data analysis requires high computing power and many instances to be launched simultaneously and then to be retired after the analysis. If the instance is retired during the analysis, the program automatically shifts the analysis to the other instance. Which is the most cost-efficient option for launching the EC2 in this case? Spot
Will I be charged for the hour if I terminate a spot instance myself? Yes
Do you need CloudWatch for Auto Scaling? Yes - auto scaling activates based on metrics.
Do you get root access to EC2 and Elastic MapReduce? Yes
In EC2 if your limit for instances is 20, you can have how many total? 40 if 20 are stopped