PDF Download
AWS ELASTIC CLOUD COMPUTE (EC2) EXAM QUESTIONS
Actual Qs and Ans Expert-Verified Explanation
This Exam contains:
-Guarantee passing score -84 Questions and Answers -format set of multiple-choice -Expert-Verified Explanation
Question 1: True or False. Recommended practice is to store access keys on EC2
instances.
Answer:
False. Recommended practice is to give permissions to a role allowing proper access, then assign the role to the instance. More secure and easier to maintain.Question 2: True or False. If you allow an inbound port in a security group, you must also manually allow the same outbound port.
Answer:
False. Ports are stateful. If you allow it inbound, it'll be allowed outbound too.
Question 3: What is a Security Group?
Answer:
Acts as a virtual firewall that controls the traffic for one or more instances. Associate 1+ security groups with an instance. Add rules to each security group allowing traffic to/from associated instances.
Question 4: What is Lambda?
Answer:
Compute service where you can upload code and create a function. AWS takes care of provisioning and managing underlying host servers.
Question 5: What instance type is best for small web servers or small DBs (SQLite)?
Answer:
T2. Lowest cost, general purpose.
Question 6: What is ELB?
Answer:
Elastic Load Balancer. Automatically distributes incoming application traffic across multiple Amazon EC2 instances in the cloud.
Question 7: What can I do with CloudWatch?
Answer:
- Dashboards,
- Alarms that trigger actions or send notifications,
- Events allowing you to respond to changes,
- Install an agent on your instance that will aggregate, monitor, and store logs
Question 8: What is an on demand instance?
Answer:
Pay for compute capacity by the hour with no long-term commitments. Good for users that want low cost w/out up-front payment or commitment. Good for short term or spikey work loads that cannot be interrupted.Question 9: True or False. Volumes restored from encrypted snapshots are also encrypted.
Answer:
True
Question 10: What are the benefits of RAID 10?
Answer:
Striping and mirroring, good redundancy and performance.
Question 11: EC2
Answer:
Elastic Compute Cloud. Web service providing resizeable compute capacity in the cloud. Reduces the time required to obtain and boot the new server to mins.
Question 12: If I have 2 instances in different AZs or regions, how will I be charged?
Answer:
Each instance is charged for its data in and data out. Therefore, if data is transferred between these two instances, it is charged out for the first instance and in for the second instance.
Question 13: PV
Answer:
Paravirtual Machine. Run on host hardware that does not have explicit support for virtualization. Cannot take advantage of special hardware extensions. Once performed better than HVM, but new HVM enhancements equalized the gap.
Question 14: What length are the new EC2 and EBS instance IDs?
Answer:
17 characters (
Question 15: What is an AMI?
Answer:
Amazon Machine Image. A copy of a VM with info required to launch a virtual server in the cloud.Question 16: What instance types are best for video encoding, machine learning, or application streaming?
Answer:
G2. Graphics and general purpose GPU.
Question 17: EBS
Answer:
Elastic Block Storage. Persistent block level storage volumes for use with Amazon EC2 instances.Auto-replicated w/in AZ. Can install a file system, run DB, or otherwise use like normal drive.Question 18: If you take a snapshot of a volume, what storage service is it saved on?
Answer:
In S3
Question 19: What are billable EC2 instance-hours?
Answer:
Any time your instances are in the 'running' state. Must stop or terminate the instance to avoid being billed.
Question 20: True or False. You can only have 50 intances in a security group.
Answer:
False. You can have any number of instances within a security group.
Question 21: What is an EC2 Compute Unit
Answer:
The amount of CPU that is allocated to a particular instance is expressed in terms of these EC2 Compute Units. A consistent and predictable amount of CPU capacity used for billing purposes.
Question 22: What storage service do snapshots exist on?
Answer:
Simple Storage Service (S3) (object storage)
Question 23: True or False. All inbound traffic is allowed by defualt.
Answer:
False. All inbound traffic is blocked by default.
Question 24: True or False. AMIs are regional.
Answer:
True. They are snapshots, so they cannot be used across regions. Must first be copied to the target region.Question 25: True or False. You can delete a snapshot of an EBS volume that is used as the root device of a registered AMI.
Answer:
False. You must deregister the AMI before deleting it.
Question 26: What instance types are best for NoSQL DBs or data warehousing?
Answer:
I2. High speed storage.
17>