AWS CDA Flashcards
Which EC2 option allows you to pay a fixed rate by the hour (or by the second) with no commitment?
On Demand
Which EC2 option provides you with a capacity reservation, and offers a significant discount on the hourly charge for an instance?
Reserved
Which EC2 option enables you to bid whatever price you want for instance capacity, providing for even greater savings if your applications have flexible start and end times?
Spot
Which EC2 option is a physical EC2 server dedicated for your use that can help you reduce costs by allowing you to use your existing server-bound software licenses?
Dedicated hosts
What nature of EC2 allows developers to instantly scale to meet spikes in traffic or demand?
The “Elastic” nature
What must you do if you wish to run more than 20 On-Demand EC2 instances?
Complete the Amazon EC2 instance request form
What API call will be run if Amazon EC2 is able to fulfill your request to run instances in the EC2 environment?
RunInstances
What API call will allow you to check the status of your EC2 instances?
DescribeInstances
Which API call will allow you to programmatically terminate any number of your instances?
TerminateInstances
If you have a running instance using Amazon EBS boot partition, what API call can you use to release the compute resources, but preserve the data on the boot partition?
StopInstances
What API call can you use when you’re ready to restart the instance associated with the Amazon EBS boot partition?
StartInstances
Data on the root device will persist independently from the lifetime of the instance by using which Amazon cloud service?
Amazon EBS
What does using Amazon EBS enable you to do, which is similar to shutting down your laptop and restarting it when you need to again?
Stop and restart an instance
How long does the local instance store persist data for?
Only for the life of the instance
What is an example of when it is feasible to use the local instance store?
When customers run large websites where each instance is a clone to handle web traffic
How quickly are systems in EC2 up and running?
10 minutes from the issue of RunInstances
Once you create a custom AMI, what do you need to do to it?
Bundle it
If you’re bundling an AMI with a root device backed by Amazon EBS, how and where can you bundle it?
Use the bundle command in the AWS management console
If you’re bundling an AMI with a boot partition on the instance store, how and where do you bundle it?
Use AMI tools to upload it to Amazon S3
How can you access your systems?
The RunInstances call that initiates execution of your application stack will return a set of DNS names, one for each system being booted; this name can be used exactly as you would if it were in your own data center
How is Amazon EC2 used in conjunction with Amazon S3?
By instances with root devices backed by local instance storage
How many On-Demand instances can you run in Amazon EC2?
20
How many Reserved instances can you purchase in Amazon EC2?
20
Are there any limitations in sending email from Amazon EC2 instances?
Yes
How can you send larger amounts of emails from EC2 accounts?
Apply to increase email limit
How quickly can you scale your capacity both up and down?
Within minutes
What API call is used to increase your instances?
RunInstances
What kind of memory does Amazon EC2 use?
ECC (error-correcting code) memory
True or False: With EC2 instances, you only pay for what you use.
True
How will your monthly bill show per-second vs per-hour charges?
Cumulative usage for each instance that ran in a given month in decimal hours; e.g. 1 hour and 10 minutes and 4 seconds will look like 1.1677
Amazon EC2 instances are grouped into what 5 family types?
- General Purpose
- Compute Optimized
- Memory Optimized
- Storage Optimized
- Accelerated Computing
Which EC2 instance family has memory to CPU ratios suitable for most general purpose applications and come with fixed performance (M5, M4) or burstable performance (T2)?
General Purpose
Which EC2 instance family (C5, C4) has proportionally more CPU resources than memory and are well-suited for scale out compute-intensive applications and High Performance Computing (HPC) workloads?
Compute Optimized
Which EC2 instance family (X1e, X1, R4) offers larger memory sizes for memory-intensive applications, including database and memory caching applications?
Memory Optimized
Which EC2 instance family (P3, P2, G3, F1) takes advantage of the parallel processing capabilities of NVIDIA Tesla GPUs for high performance computing and machine/deep learning?
Accelerating Computing
In order for developers to compare CPU capacity between different instance types, what did Amazon define?
EC2 Compute Units (ECUs)
What provides the relative measure of the integer processing power of an Amazon EC2 instance?
EC2 Compute Unit (ECU)
True or False: You cannot get a history of all EC2 API calls made from your account for security analysis and operational troubleshooting purposes.
False
How can you receive a history of all EC2 API calls made on your account?
Turn on CloudTrail in the AWS Management Console.
Where two places can you get more information about security on AWS?
AWS: Overview of Security Processes white paper & Amazon EC2 Running Windows Security Guide
By default, how many Elastic IP addresses are all accounts limited to per region?
5
What do you need to do to get more than the default number of Elastic IP addresses?
Apply for more Elastic IP addresses
In regards to Elastic IP addresses, what happens when each address is not associated to a running instance?
A small hourly charge is imposed
True or False: You need one Elastic IP address for every instance you have running.
False; but by default, every instance comes with a private IP address and an internet routable public IP address
How long does it take to remap an Elastic IP address?
Several minutes from when the remap was started
True or False: You can configure the reverse DNS record for your Elastic IP address.
True