AWS :- Elastic Compute Cloud ( EC2 ) and Elastic Block Store ( EBS ) :- Review Questions

Review Questions

  1. 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.
  2. 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.
  3. 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)
  4. 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.
  5. 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 block 0.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
  6. 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
  7. 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. ( yes )
    • C. Use Dedicated Instances.
    • D. Enable enhanced networking on the instances.
    • E. Use Reserved Instances.
  8. 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
  9. 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. 
  10. Which of the following are features of Amazon Elastic Block Store (Amazon EBS) ?
    • 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
  11. 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.
  12. 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.
  13. 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.
  14. 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.
  15. 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)
  16. VM Import/Export can import existing virtual machines as: (Choose 2 answers)
    • A. Amazon Elastic Block Store (Amazon EBS) volumes
    • B. Amazon Elastic Compute Cloud (Amazon EC2) instances
    • C. Amazon Machine Images (AMIs)
    • D. Security groups
  17. Which of the following can be used to address an Amazon Elastic Compute Cloud (Amazon EC2) instance over the web? (Choose 2 answers)
    • A. Windows machine name
    • B. Public DNS name
    • C. Amazon EC2 instance ID
    • D. Elastic IP address
  18. Using the correctly decrypted Administrator password and RDP, you cannot log in to a Windows instance you just launched. Which of the following is a possible reason?
    • A. There is no security group rule that allows RDP access over port 3389 from your IP address. 
    • B. The instance is a Reserved Instance.
    • C. The instance is not using enhanced networking.
    • D. The instance is not an Amazon EBS-optimized instance.
  19. You have a workload that requires 1 TB of durable block storage at 1,500 IOPS during normal use. Every night there is an Extract, Transform, Load (ETL) task that requires 3,000 IOPS for 15 minutes. What is the most appropriate volume type for this workload?
    • A. Use a Provisioned IOPS SSD volume at 3,000 IOPS.
    • B. Use an instance store.
    • C. Use a general-purpose SSD volume.
    • D. Use a magnetic volume.
  20. How are you billed for elastic IP addresses?
    • A. Hourly when they are associated with an instance
    • B. Hourly when they are not associated with an instance
    • C. Based on the data that flows through them
    • D. Based on the instance type to which they are attached

 

Referenced Work

  1. AWS
    • Amazon EC2 Instance Types
      • Instance Features
        Link
    • Script
      • AWS Documentation » Amazon EC2 » User Guide for Linux Instances » Amazon EC2 Instances » Configuring Your Amazon Linux Instance » Running Commands on Your Linux Instance at Launch
        • Running Commands on Your Linux Instance at Launch
          Link
    • Amazon EC2 Instance Types
      • AWS Documentation » Amazon EC2 » User Guide for Linux Instances » Storage
        • Block Device Mapping
          Link
    • Elastic Block Store
      • AWS Documentation » Amazon EC2 » User Guide for Linux Instances » Storage » Amazon Elastic Block Store (Amazon EBS) » Amazon EBS Snapshots » Creating Amazon EBS Snapshots
        • Creating Amazon EBS Snapshots
          Link
      • AWS Documentation » Amazon EC2 » User Guide for Linux Instances » Storage » Amazon Elastic Block Store (Amazon EBS) » Amazon EBS Volumes
        • Restoring an Amazon EBS Volume from a Snapshot
          Link
    • Instance Store
      • AWS Documentation » Amazon EC2 » User Guide for Linux Instances » Storage
        • Amazon EC2 Instance Store
          Link
    • Enhanced Networking
      • AWS Documentation » Amazon EC2 » User Guide for Linux Instances » Network and Security
        • Enhanced Networking on Linux
          Link
    • EC2
      • EC/2 Instance
        • How do I move my EC2 instance to another subnet, Availability Zone, or VPC?
          Link
      • EC/2 Instance Metadata
        • EC2 Instance Metadata Query Tool
          Link
    • Elastic IP
      • Premium Support / Knowledge Center
        • Why am I being billed for Elastic IP addresses when all my instances are terminated?
          Link
    • AWS Compute Blog
      • Jeff Bartley
        • Recovering files from an Amazon EBS volume backup
          Link
  2. A Cloud Guru
    • A Cloud Guru > Course taking > Other
      • AWS EC2 Instance Store vs. EBS
        Link
  3. RightScale
    • RightScale Docs / Cloud Management / Dashboard User’s Guide / clouds / Amazon Web Services (AWS)
      • EC2 Elastic IPs
        Link
  4. Scale Your Code
    • Christophe Limpalair
      • Complete guide to launching your first free AWS EC2 instance
        Link

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s