Ch3 EC2 and EBS Flashcards
Your web application needs four instances to support steady traffic nearly all of the time.
On the last day of each month, the traffic triples. What is a cost-effective way to handle
this traffic pattern?
A. Run 12 Reserved Instances all of the time.
B. Run four On-Demand Instances constantly, then add eight more On-Demand
Instances on the last day of each month.
C. Run four Reserved Instances constantly, then add eight On-Demand Instances on
the last day of each month.
D. Run four On-Demand Instances constantly, then add eight Reserved Instances on
the last day of each month.
C. Reserved Instances provide cost savings when you can commit to running instances
full time, such as to handle the base traffic. On-Demand Instances provide the flexibility
to handle traffic spikes, such as on the last day of the month.
Your order-processing application processes orders extracted from a queue with two
Reserved Instances processing 10 orders/minute. If an order fails during processing,
then it is returned to the queue without penalty. Due to a weekend sale, the queues have
several hundred orders backed up. While the backup is not catastrophic, you would like
to drain it so that customers get their confirmation emails faster. What is a cost-effective
way to drain the queue for orders?
A. Create more queues.
B. Deploy additional Spot Instances to assist in processing the orders.
C. Deploy additional Reserved Instances to assist in processing the orders.
D. Deploy additional On-Demand Instances to assist in processing the orders.
B. Spot Instances are a very cost-effective way to address temporary compute needs that
are not urgent and are tolerant of interruption. That’s exactly the workload described
here. Reserved Instances are inappropriate for temporary workloads. On-Demand
Instances are good for temporary workloads, but don’t offer the cost savings of Spot
Instances. Adding more queues is a non-responsive answer as it would not address the
problem.
Which of the following must be specified when launching a new Amazon Elastic
Compute Cloud (Amazon EC2) Windows instance? (Choose 2 answers)
A. The Amazon EC2 instance ID
B. Password for the administrator account
C. Amazon EC2 instance type
D. Amazon Machine Image (AMI)
C, D. The Amazon EC2 instance ID will be assigned by AWS as part of the launch process.
The administrator password is assigned by AWS and encrypted via the public key. The
instance type defines the virtual hardware and the AMI defines the initial software state.
You must specify both upon launch.
You have purchased an m3.xlarge Linux Reserved instance in us-east-1a. In which ways
can you modify this reservation? (Choose 2 answers)
A. Change it into two m3.large instances.
B. Change it to a Windows instance.
C. Move it to us-east-1b.
D. Change it to an m4.xlarge.
A, C. You can change the instance type only within the same instance type family, or you
can change the Availability Zone. You cannot change the operating system nor the
instance type family.
Your instance is associated with two security groups. The first allows Remote Desktop
Protocol (RDP) access over port 3389 from Classless Inter-Domain Routing (CIDR)
block 72.14.0.0/16. The second allows HTTP access over port 80 from CIDR block0.0.0.0/0. What traffic can reach your instance?
A. RDP and HTTP access from CIDR block 0.0.0.0/0
B. No traffic is allowed.
C. RDP and HTTP traffic from 72.14.0.0/16
D. RDP traffic over port 3389 from 72.14.0.0/16 and HTTP traffic over port 80 from
0.0.00/0
D. When there are multiple security groups associated with an instance, all the rules are
aggregated.
Which of the following are features of enhanced networking? (Choose 3 answers) A. More Packets Per Second (PPS) B. Lower latency C. Multiple network interfaces D. Border Gateway Protocol (BGP) routing E. Less jitter
A, B, E. These are the benefits of enhanced networking.
You are creating a High-Performance Computing (HPC) cluster and need very low
latency and high bandwidth between instances. What combination of the following will
allow this? (Choose 3 answers)
A. Use an instance type with 10 Gbps network performance.
B. Put the instances in a placement group.
C. Use Dedicated Instances.
D. Enable enhanced networking on the instances.
E. Use Reserved Instances.
A, B, D. The other answers have nothing to do with networking.
Which Amazon Elastic Compute Cloud (Amazon EC2) feature ensures that your
instances will not share a physical host with instances from any other AWS customer?
A. Amazon Virtual Private Cloud (VPC)
B. Placement groups
C. Dedicated Instances
D. Reserved Instances
C. Dedicated Instances will not share hosts with other accounts.
Which of the following are true of instance stores? (Choose 2 answers)
A. Automatic backups
B. Data is lost when the instance stops.
C. Very high IOPS
D. Charge is based on the total amount of storage provisioned.
B, C. Instance stores are low-durability, high-IOPS storage that is included for free with
the hourly cost of an instance.
Which of the following are features of Amazon Elastic Block Store (Amazon EBS)?
(Choose 2 answers)
A. Data stored on Amazon EBS is automatically replicated within an Availability Zone.
B. Amazon EBS data is automatically backed up to tape.
C. Amazon EBS volumes can be encrypted transparently to workloads on the attached
instance.
D. Data on an Amazon EBS volume is lost when the attached instance is stopped.
A, C. There are no tapes in the AWS infrastructure. Amazon EBS volumes persist when
the instance is stopped. The data is automatically replicated within an Availability Zone.
Amazon EBS volumes can be encrypted upon creation and used by an instance in the
same manner as if they were not encrypted.
You need to take a snapshot of an Amazon Elastic Block Store (Amazon EBS) volume.
How long will the volume be unavailable?
A. It depends on the provisioned size of the volume.
B. The volume will be available immediately.
C. It depends on the amount of data stored on the volume.
D. It depends on whether the attached instance is an Amazon EBS-optimized instance.
B. There is no delay in processing when commencing a snapshot.
You are restoring an Amazon Elastic Block Store (Amazon EBS) volume from a snapshot.
How long will it be before the data is available?
A. It depends on the provisioned size of the volume.
B. The data will be available immediately.
C. It depends on the amount of data stored on the volume.
D. It depends on whether the attached instance is an Amazon EBS-optimized instance.
B. The volume is created immediately but the data is loaded lazily. This means that the
volume can be accessed upon creation, and if the data being requested has not yet been
restored, it will be restored upon first request.
You have a workload that requires 15,000 consistent IOPS for data that must be durable.
What combination of the following steps do you need? (Choose 2 answers)
A. Use an Amazon Elastic Block Store (Amazon EBS)-optimized instance.
B. Use an instance store.
C. Use a Provisioned IOPS SSD volume.
D. Use a magnetic volume.
A, C. B and D are incorrect because an instance store will not be durable and a magnetic
volume offers an average of 100 IOPS. Amazon EBS-optimized instances reserve network
bandwidth on the instance for IO, and Provisioned IOPS SSD volumes provide the
highest consistent IOPS.
Which of the following can be accomplished through bootstrapping?
A. Install the most current security updates.
B. Install the current version of the application.
C. Configure Operating System (OS) services.
D. All of the above.
D. Bootstrapping runs the provided script, so anything you can accomplish in a script you
can accomplish during bootstrapping.
How can you connect to a new Linux instance using SSH?
A. Decrypt the root password.
B. Using a certificate
C. Using the private half of the instance’s key pair
D. Using Multi-Factor Authentication (MFA)
C. The public half of the key pair is stored on the instance, and the private half can then
be used to connect via SSH