EC2 Flashcards
<p><p>What is the use case for C4 instances?</p></p>
<p><p>CPU intensive apps or databases</p></p>
<p><p>What is a cloud watch dashboard?</p></p>
<p><p>a page of customized charts which provide data on cloud watch monitoring</p></p>
<p><p>What is CORS?</p></p>
<p><p>Cross Origin Resource Sharing
When one AWS resource needs to access another AWS resorts which uses a different domain name, you must enable CORS for it to work</p></p>
<p><p>What are the five EBS volume types?</p></p>
<p><p>General purpose SSD (GP2) for up to 10,000 IOPS
Provisioned IOPS SSD (IO1) For more than 10,000 IOPS
Throughput optimized HDD (ST1) used for big data, data warehouses - cannot be a boot volume
Cold HDD (SC1) lowest cost storage for infrequently accessed workloads
Magnetic (standard) lowest cost per gigabyte. I deal for workloads when data is accessed in frequently and applications with the lowest storage cost is important
</p></p>
<p><p>What file system is supported by EFS?</p></p>
<p><p>NFS version 4</p></p>
<p><p>True or false: Groups can assume roles</p></p>
<p><p>False</p></p>
<p><p>What is the use case for G2 instances?</p></p>
<p><p>Video encoding, 3d application streaming</p></p>
<p><p>What is an ec2 dedicated host?</p></p>
<p><p>It is a physical ec2 server dedicated for use. It allows you to use existing server – bound software licenses</p></p>
<p><p>What is the difference between basic monitoring and detailed monitoring on an instance?</p></p>
<p><p>Basic monitoring pings the instance every five minutes while detailed monitoring is every minute and encourages additional charges</p></p>
<p><p>What is the use case for M4 instances?</p></p>
<p><p>Application servers</p></p>
<p>Which type of ELB supports TCP protocol?</p>
<p>Classic Load Balancer</p>
<p><p>True or false: it is recommended that instances within a placement group are homogenous</p></p>
<p><p>True</p></p>
<p><p>What command do you type from the CLI to retrieve instance metadata?</p></p>
<p><p>Curl http://169.254.169.254/latest/meta-data
This retrieves a list of variables that can be added to the command, such as
/public-ipv4</p></p>
<p><p>How can you move an EBS volume from one region to another</p></p>
<p><p>Create a snapshot of the first volume then make a copy of the snapshot which you can designate for another region, Then you create an image from that copied snapshot</p></p>
<p><p>True or false: there is a many to many relationship between instances and security groups</p></p>
<p><p>True</p></p>
<p><p>True or false: elastic load balancers can be called using a public IP address</p></p>
<p><p>False. You must use the DNS name associated with the load balancer, as Amazon does not publish the public IP for load balancers</p></p>
<p><p>Explain Amazon EBS</p></p>
<p><p>Elastic Block Store allows you to create storage volumes and attach them to EC2 instances</p></p>
<p><p>What is Amazon Polly?</p></p>
<p><p>It is a text to audio translation service</p></p>
<p><p>Can you share encrypted Snapshots?</p></p>
<p><p>No, because the keys are associated with your account</p></p>
<p><p>What is the CLI?</p></p>
<p><p>AWS Command Line</p></p>
<p><p>Can you assign an IAM role to an ec2 instance that is already running?</p></p>
<p><p>Yes</p></p>
<p><p>Explain on-demand ec2</p></p>
<p><p>It allows you to pay a fixed rate by the hour or by the second with no time commitment</p></p>
<p><p>What kind of instance is best for data warehousing and NoSQL database?</p>
</p>
<p><p>I2</p>
| </p>
<p><p>Do EBS Snapshots exist on S3?</p></p>
<p><p>Yes</p></p>
<p><p>What is the difference between EFS and EBS/S3 in terms of provisioning storage?</p></p>
<p><p>S3 and EFS allocate storage based on your usage, while EBS volumes need the size to be pre-defined</p></p>
<p><p>True or false: Termination Protection is turned on by default for new instances</p></p>
<p><p>False</p></p>
<p><p>What is an IAM role?</p></p>
<p><p>An entity that defines a set of permissions for making AWS service requests</p></p>
<p><p>Describe the two ways in which lambda is used</p></p>
<p><p>1. As an event driven compute service where AWS lambda runs your code in response to events. These events could be changes to data in an Amazon S3 bucket or an Amazon Dynamo DB table.
2. As a compute service to run your code in response to HTTP requests using Amazon API gateway or API calls made using AWS SDKs</p></p>
<p><p>Which EBS volume types can be used as boot volumes?</p></p>
<p><p>SSD General purpose (GP2)
SSD provisioned IOPS (IO1
HDD Magnetic</p></p>
<p><p>What are some differences between EBS volumes and Instance Store volumes?</p></p>
<p><p>EBS volumes can be backed up with snapshots
EBS volumes can be removed from instances and reattached to other instances
EBS volumes support encryption
EBS volumes preserve their data through instant stops and terminations
Instance store volumes can’t be stopped at all, only rebooted</p></p>
<p><p>True or false: users can assume service – linked roles</p></p>
<p><p>False</p></p>
<p><p>What is the use case for I2 instances?</p></p>
<p><p>NoSQL databases, data warehousing</p></p>
<p><p>Explain “serverless“ as it applies to Lambda</p></p>
<p><p>It means that there is no server or infrastructure required to run code in a lambda function</p></p>
<p><p>What are the five different EBS volume types?</p></p>
<p><p>SSD, general purpose - GP2 SSD, provisioned IOPS - IO1 HDD, throughput optimized - ST1 HDD, Cold, - SC1 HDD magnetic, low cost</p></p>
<p><p>Can you associate multiple IAM roles with an instance?</p></p>
<p><p>No. An instance can only be associated with one IAM role at a time</p></p>
<p><p>When launching a new instance from an instance store AMI, can you add instance store volumes after it is created?</p></p>
<p><p>No. After the instance is created you can still attach additional EBS volumes, but not instance store volumes. You can still add instance store volumes to the instance before it is initially launched</p></p>
<p><p>True or false: roles incur additional charges</p></p>
<p><p>False. IAM roles are free of charge</p></p>
<p><p>What is the use case for F1 instances?</p></p>
<p><p>Hardware acceleration</p></p>
<p><p>Do EBS volumes exist on S3?</p></p>
<p><p>No</p></p>
<p><p>What is the use case for D2 instances?</p></p>
<p><p>File servers, data warehousing, Hadoop</p></p>
<p><p>What traffic is blocked and allowed by default in a security group?</p></p>
<p><p>By default, all inbound traffic is blocked, and all outbound traffic is allowed</p></p>
<p><p>What is the best instance type for video encoding and 3D application streaming?</p>
</p>
<p><p>G2</p>
| </p>
<p><p>What is the data consistency model for EFS?</p></p>
<p><p>Read after Write, same as S3</p></p>
<p><p>What is Lambda?</p></p>
<p><p>A compute service where you can upload your code and create a Lambda function. Lambda takes care of provisioning and managing the servers that you use to run the code. You don’t have to worry about operating systems, patching, scaling etc.</p></p>
<p><p>What kind of instance is best for Machine learning?</p>
</p>
<p><p>P2</p>
| </p>
<p><p>True or false: a placement group can span multiple availability zones</p></p>
<p><p>False</p></p>
<p><p>Describe cloud watch alarms</p></p>
<p><p>Cloud watch alarms allow you to notify or otherwise take action when a metric reaches a certain threshold which you define</p></p>
<p><p>What are the two different AMI root volume types?</p></p>
<p><p>EBS volumes and Instance Stores</p></p>
<p><p>Can you encrypt the root volume of an instance?</p></p>
<p><p>Not by default, although you can use third-party tools such as bit locker to encrypt the route volume, or you can create your own AMI with an encrypted root volume and use that for your instance</p></p>