What is the relationship between security groups and EC2 instances in AWS?
In AWS, a security group can accommodate an unlimited number of EC2 instances. Conversely, each EC2 instance can be associated with multiple security groups, facilitating flexible and granular control over network access and security configurations.
What is the default configuration for inbound and outbound traffic in an AWS security group?
The default configuration for an AWS security group entails allowing all outbound traffic while blocking all inbound traffic.
What does ENI stand for in AWS networking?
ENI stands for Elastic Network Interface. For basic networking. For example, an EC2 instance can have multiple ENIs, enabling it to connect to different networks simultaneously.
What is EFA and where is it applied in AWS networking?
Elastic Fabric Adapter (EFA) is tailored for High-Performance Computing (HPC), and machine learning applications. It facilitates direct communication between instances, bypassing the OS network stack. This benefits tightly coupled tasks like simulations and machine learning training.
What is Enhanced Networking?
Enhanced Networking involves optimizing network performance by leveraging technologies like SR-IOV, enabling speeds from 10 Gbps to 100 Gbps for data transfer.
What are Placement Groups?
Placement Groups determine how EC2 instances are positioned on the underlying hardware.
Name 5 characteristics of placement groups in AWS.
What are Dedicated Hosts?
An Amazon EC2 Dedicated Host is a physical server with EC2 instance capacity fully dedicated to your use. Dedicated Hosts allow you to use your existing per-socket, per-core, or per-VM software licenses.
What are Spot instances and where can be used?
How can you extend your private VMware Cloud into AWS public cloud?
By deploying vCenter on the AWS cloud using VMware.
How can you extend AWS to your data center?
With AWS Outposts rack for large deployments and AWS Outposts servers for small deployments.
What charges generate a stopped instance?
Charges for the storage of the EBS volumes attached to the instance.
Is Amazon EC2 a global, regional, or Availability Zone (AZ) service within AWS?
Amazon EC2 is an Availability Zone (AZ) service within AWS.
What is the difference between Rebooting an EC2 instance, and stopping it and starting it again?
When rebooting an EC2 instance will start again on the same physical host.
It keeps the following:
- Public DNS name (IPv4)
- Private IPv4 address
- Public IPv4 address
- IPv6 address (if applicable)
- Any data on its instance store volumes
Stopping and starting an instance may affect its public IPv4 address (unless you use an Elastic IP) and results in the loss of data on instance store volumes. However, the private IPv4 address and other associated information typically remain the same.
Can an ec2 instance have attached an EBS from a different AZ in the same region?
No, an EC2 instance cannot have attached an EBS volume from a different Availability Zone (AZ) in the same region.
EBS volumes are tied to a specific AZ and cannot be moved to another AZ. This is because EBS volumes are replicated across multiple servers in the same AZ, which ensures high availability and performance.
What is EC2 good for?
What are the four most common first letters of the instance types in EC2 instance types?
C (Compute Optimized), M (General Purpose), R (Memory Optimized), and T (Burstable Performance)
If you need to accelerate machine learning or 3D rendering tasks, which EC2 instance family should you consider?
The “G” family, like “g4dn.xlarge,” includes GPU instances for GPU-accelerated workloads.
What EC2 instance family is designed for storage-intensive applications with high storage density?
The “D” family, such as “d2.xlarge,” is Density-Optimized and provides high storage density at a lower cost per gigabyte.
What are EC2 Instance Connect Service Endpoints?
Instance Connect Service Endpoints are public IP addresses that are used by the Instance Connect service to communicate with EC2 instances. They are located in the same region as the EC2 instance that you are connecting to.
What is EC2 Hibernation?
Can 2 ENIs in the same EC2 instance be deployed in 2 different subnets?
Yes, but the subnets should be in the same AZ.
What are the 3 options for an AMI that can be set to use?
When creating an AMI from an EC2 instance, are the ebs volumes included?
When creating an AMI from an EC2 instance, you can choose to include or exclude Elastic Block Store (EBS) volumes. The default behavior is to include all EBS volumes attached to the instance in the block device mapping.