EC2 Fundamentals Flashcards
Which EC2 Purchasing Option can provide you the biggest discount, but it is not suitable for critical jobs or databases?
A. Convertible Reserved Instances
B. Dedicated Hosts
C. Spot Instances
C. Spot Instances
Spot Instances are good for short workloads and this is the cheapest EC2 Purchasing Option. But, they are less reliable because you can lose your EC2 instance.
What should you use to control traffic in and out of EC2 instances?
A. Network Access Control List (NACL)
B. Security Groups
C. IAM Policies
B. Security Groups
Security Groups operate at the EC2 instance level and can control traffic.
How long can you reserve an EC2 Reserved Instance?
A. 1 or 3 years
B. 2 or 4 years
C. 6 months or 1 year
D. Anytime between 1 and 3 years
A. 1 or 3 years
EC2 Reserved Instances can be reserved for 1 or 3 years only.
You would like to deploy a High-Performance Computing (HPC) application on EC2 instances. Which EC2 instance type should you choose?
A. Storage optimized
B. Memory optimized
C. Compute optimized
D. General purpose
C. Compute optimized
Compute Optimized EC2 instances are great for compute-intensive workloads requiring high-performance processors (e.g., batch processing, media transcoding, high-performance computing, scientific modeling & machine learning, and dedicated gaming servers).
Which EC2 Purchasing Option should you use for an application you plan to run on a server continuously for 1 year?
A. On-Demand Instances
B. Spot Instances
C. Reserved Instances
C. Reserved Instances
Reserved Instances are good for long workloads. You can reserve EC2 instances for 1 or 3 years.
You are preparing to launch an application that will be hosted on a set of EC2 instances. This application needs some software installation and some OS packages need to be updated during the first launch. What is the best way to achieve this when you launch the EC2 instances?
A. Connect to each EC2 instance using SSH, then install the required software and update your OS packages manually
B. Write a bash script that installs the required software and updates to your OS, then use this script in the EC2 User Data when you launch your EC2 instances
C. Write a bash script that installs the required software and updates to your OS, then contact AWS Support and provide them with the script. They will run it on your EC2 instances at launch.
B. Write a bash script that installs the required software and updates to your OS, then use this script in the EC2 User Data when you launch your EC2 instances
EC2 User Data is used to bootstrap your EC2 instances using a bash script. This script can contain commands such as installing software/packages, download files from the Internet, or anything you want.
Which EC2 Instance Type should you choose for a critical application that uses an in-memory database?
A. Compute optimized
B. Storage optimized
C. Memory optimized
D. General purpose
C. Memory optimized
Memory Optimized EC2 instances are great for workloads requiring large data sets in memory
You have an e-commerce application with an OLTP database hosted on-premises. This application has popularity which results in its database has thousands of requests per second. You want to migrate the database to an EC2 instance. Which EC2 Instance Type should you choose to handle this high-frequency OLTP database?
A. Compute optimized
B. Storage optimized
C. Memory optimized
D. General purpose
B. Storage optimized
Storage Optimized EC2 instances are great for workloads requiring high, sequential read/write access to large data sets on local storage.
Security Groups can be attached to only one EC2 instance.
A. False
B. True
A. False
Security Groups can be attached to multiple EC2 instances within the same AWS Region/VPC.
You’re planning to migrate on-premises applications to AWS. Your company has strict compliance requirements that require your applications to run on dedicated servers. You also need to use your own server-bound software license to reduce costs. Which EC2 Purchasing Option is suitable for you?
A. Convertible Reserved Instances
B. Dedicated Hosts
C. Spot Instances
B. Dedicated Hosts
Dedicated Hosts are good for companies with strong compliance needs or for software that have complicated licensing models. This is the most expensive EC2 Purchasing Option available.
You would like to deploy a database technology on an EC2 instance and the vendor license bills you based on the physical cores and underlying network socket visibility. Which EC2 Purchasing Option allows you to get visibility into them?
A. Dedicated Hosts
B. Spot Instances
C. On-Demand
D. Reserved Instances
A. Dedicated Hosts