Amazon EC2 Overview Quiz
40 Questions
1 Views

Amazon EC2 Overview Quiz

Created by
@FastGrowingBaltimore5920

Questions and Answers

What is the primary purpose of Amazon EC2?

  • To provide a database management system in the cloud
  • To provide a virtual storage service in the cloud
  • To provide resizable compute capacity in the cloud (correct)
  • To provide a content delivery network in the cloud
  • What is an Amazon Machine Image (AMI)?

  • A virtual server instance in the AWS cloud
  • A preconfigured template for launching EC2 instances (correct)
  • A security group for EC2 instances
  • A type of EC2 instance with high processing power
  • What is the purpose of EC2 compute units (ECUs)?

  • To measure the networking capacity of an EC2 instance
  • To measure the storage capacity of an EC2 instance
  • To measure the memory capacity of an EC2 instance
  • To provide a relative measure of the integer processing power of an EC2 instance (correct)
  • What is the default setting for public IP assignment when launching an EC2 instance?

    <p>Use the subnet setting</p> Signup and view all the answers

    What is the purpose of instance types in Amazon EC2?

    <p>To provide a wide selection of resources that can be customized for different use cases</p> Signup and view all the answers

    What is termination protection in Amazon EC2?

    <p>A feature that prevents you from terminating an instance</p> Signup and view all the answers

    What is the purpose of key pairs in Amazon EC2?

    <p>To securely connect to EC2 instances</p> Signup and view all the answers

    What is the default monitoring period for EC2 instances?

    <p>5-minute periods</p> Signup and view all the answers

    What is the primary purpose of the Elastic Fabric Adapter (EFA)?

    <p>To enhance inter-node communication performance for applications requiring high-throughput.</p> Signup and view all the answers

    Under what circumstance can you modify an EC2 instance's attributes?

    <p>When the instance is in a stopped state.</p> Signup and view all the answers

    Which of the following is NOT a feature of Enhanced Networking using Elastic Network Adapter (ENA)?

    <p>Ability to add multiple ENIs to increase network bandwidth.</p> Signup and view all the answers

    What is the default network interface created when launching an EC2 instance?

    <p>eth0</p> Signup and view all the answers

    What is the benefit of using BYOIP (Bring Your Own IP)?

    <p>It allows you to use your own IP addresses within an AWS VPC.</p> Signup and view all the answers

    When can you attach a network interface to an EC2 instance in a different subnet?

    <p>Only if the subnets are in the same Availability Zone.</p> Signup and view all the answers

    What happens to manually added network interfaces when an EC2 instance is terminated?

    <p>They are automatically detached from the instance but remain active.</p> Signup and view all the answers

    What is the main difference between an Elastic Network Adapter (ENA) and an Elastic Fabric Adapter (EFA)?

    <p>EFA is designed for high-throughput inter-node communication while ENA focuses on general network performance.</p> Signup and view all the answers

    What is the primary purpose of using a placement group in AWS EC2?

    <p>To improve the performance of applications by grouping instances with low latency and high bandwidth.</p> Signup and view all the answers

    Which of the following is NOT a valid placement group configuration in AWS EC2?

    <p>Distributed</p> Signup and view all the answers

    What is the recommended way to achieve the best performance when communicating between instances within a placement group?

    <p>Using private IP addresses.</p> Signup and view all the answers

    Which of the following is a benefit of using IAM roles for EC2 instances instead of access keys?

    <p>All of the above.</p> Signup and view all the answers

    What is the purpose of a bastion host in AWS EC2?

    <p>To provide a secure gateway for accessing instances within a VPC.</p> Signup and view all the answers

    Which of the following statements about EC2 status checks is TRUE?

    <p>System status checks are used to detect problems that require user involvement to repair.</p> Signup and view all the answers

    What is the maximum number of IAM roles that can be attached to an EC2 instance at any given time?

    <p>1</p> Signup and view all the answers

    Which of the following AWS services can be used as an alternative to bastion hosts for managing EC2 instances?

    <p>AWS Systems Manager Session Manager</p> Signup and view all the answers

    What is a recommended approach for rebooting an EC2 instance?

    <p>Using EC2</p> Signup and view all the answers

    What is the purpose of AWS CloudTrail?

    <p>To provide a record of actions taken by a user, role, or an AWS service</p> Signup and view all the answers

    What is the maximum number of tags that can be assigned to an AWS resource?

    <p>50</p> Signup and view all the answers

    What is the purpose of Amazon Route 53 health checks?

    <p>To redirect traffic in case of failure</p> Signup and view all the answers

    What is the purpose of VM Import/Export?

    <p>To convert EC2 instances to VMware, Microsoft, or XEN VMs</p> Signup and view all the answers

    What is AWS Server Migration Service (SMS) used for?

    <p>To automate, schedule, and track incremental replications of live server volumes</p> Signup and view all the answers

    What is a benefit of using Reserved Instances?

    <p>To guarantee resources will be available when needed</p> Signup and view all the answers

    What is the purpose of the unified CloudWatch agent?

    <p>To enable logging and auditing</p> Signup and view all the answers

    When an EC2 instance is stopped, what happens to its public IPv4 address?

    <p>It is lost, but a new one is assigned when the instance is restarted.</p> Signup and view all the answers

    Which pricing model allows users to pay a discounted rate for instances in exchange for committing to a certain usage period?

    <p>Reserved</p> Signup and view all the answers

    What is the maximum number of On-Demand instances that can be run across an instance family in a single region?

    <p>20</p> Signup and view all the answers

    What is the purpose of an Elastic IP address?

    <p>To provide a static public IP address that can be reassigned to different instances.</p> Signup and view all the answers

    What is the difference between dedicated instances and dedicated hosts?

    <p>Dedicated instances provide access to a dedicated physical server, while dedicated hosts provide access to a dedicated logical partition within a physical server.</p> Signup and view all the answers

    What is the primary difference between EBS volumes and Instance Store volumes?

    <p>EBS volumes are persistent, while Instance Store volumes are temporary.</p> Signup and view all the answers

    When are EC2 instances billed?

    <p>Only when they are in a running state.</p> Signup and view all the answers

    Which type of IP address is assigned to EC2 instances by default?

    <p>Private IPv4</p> Signup and view all the answers

    Study Notes

    Amazon EC2 Overview

    • Amazon EC2 provides resizable compute capacity in the cloud
    • Launch virtual server instances (instances) on the AWS cloud using preconfigured templates (Amazon Machine Images, AMIs)
    • Each AMI includes information needed to launch an EC2 instance (operating system, software packages, etc.)

    EC2 Instances

    • Each instance type includes one or more instance sizes, allowing for scalability
    • Choose an AMI, instance type, and configure settings (e.g., public IP, IAM role, monitoring)
    • Instances can be assigned to IAM roles for access to AWS resources
    • Termination protection can be enabled to prevent accidental termination

    Storage Options

    • Additional volumes can be added to instances
    • Choose volume type (e.g., EBS, instance store)
    • Use Amazon Elastic File System (EFS) for mounting a shared filesystem to multiple EC2 instances
    • Root and non-root volumes can be encrypted

    Billing and Provisioning

    • On-demand, Reserved, and Spot pricing models available
    • On-demand instances are charged by the hour or second
    • Reserved instances provide a discount for committed usage
    • Spot instances are discounted, but can be interrupted by AWS

    Networking

    • Three types of IP addresses: public IPv4, private IPv4, and IPv6
    • Elastic IP addresses are static public IP addresses that can be remapped between instances
    • IP addresses can be assigned, reassigned, or detached from instances
    • Elastic Network Interfaces (ENIs) represent virtual network cards
    • Enhanced Networking (ENA) provides higher bandwidth and lower latency
    • Elastic Fabric Adapter (EFA) enables high-performance inter-node communications

    Placement Groups

    • Placement groups are logical groupings of instances for low-latency communication
    • Three types: Cluster, Spread, and Partition
    • Recommended for applications that benefit from low latency and high bandwidth

    IAM Roles

    • IAM roles provide secure access to AWS services
    • Roles can be attached to instances at launch or later
    • Only one IAM role can be attached to an instance at a time

    Monitoring and Logging

    • EC2 status checks detect problems with instances
    • System status checks detect problems requiring AWS involvement
    • Instance status checks detect problems requiring user involvement
    • CloudWatch alarms can be triggered by status checks
    • Unified CloudWatch Agent enables logging and monitoring

    Security and Auditing

    • AWS CloudTrail provides a record of actions taken in AWS
    • CloudTrail captures API calls for EC2 and EBS as events
    • Trails enable continuous delivery of events to an S3 bucket

    Tagging and Resource Management

    • Tags are labels assigned to AWS resources for metadata
    • Tags can be used for cost allocation, security, automation, and more
    • Resource groups are mappings of AWS assets defined by tags

    High Availability Approaches

    • Up-to-date AMIs are critical for rapid fail-over
    • Horizontally scalable architectures are preferred for spreading risk
    • Reserved instances guarantee resource availability when needed
    • Auto Scaling and Elastic Load Balancing work together for automated recovery

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Description

    Test your knowledge of Amazon EC2, including its features, instance types, and configuration settings.

    More Quizzes Like This

    Amazon EC2 Purchasing Options Quiz
    10 questions
    Amazon EC2 Essentials Quiz
    5 questions

    Amazon EC2 Essentials Quiz

    DarlingNovaculite1672 avatar
    DarlingNovaculite1672
    AWS Cloud Infrastructure and Pricing
    12 questions
    Use Quizgecko on...
    Browser
    Browser