CCSF AWS Cloud Practitioner Flashcards
How many bits is an IPv4 address, and what does an IPv4 address look like?
An IPv4 address is 32 bits long. It consists of four numbers separated by periods, with each number ranging from 0 to 255. For example: 192.168.1.100.
4 by . 0 to 255
MATSGRM”
Each letter represents a key use of “por”:
MATSGRM”
Each letter represents a key use of “por”:
M: Movimiento (movement: through, along, around, by, about)
A: Apoyo (support: for, in favor of)
T: Tiempo y duración (time and duration: during, for)
S: Soporte (agent after a passive verb: by)
G: Gratitud o disculpa (gratitude or apology: for)
R: Razón (cause or reason: because of)
M: Medios de transporte (means of transportation: by)
“PRDET”
Each letter represents a key use of “para”:
P: Propósito (purpose: in order to, for the purpose of)
R: Recipiente (recipient: for, directed to)
D: Dirección (direction: to a specific place)
E: Especificar tiempo (specific time: for, by)
T: Tener contraste inesperado (unexpected contrast: for)
How many bits is an IPv6 address, and what does an IPv6 address look like?
An IPv6 address is 128 bits long. It consists of eight groups of four hexadecimal digits, separated by colons. For example: 2001:0db8:85a3:0000:0000:8a2e:0370:7334.
8 x 4 Hex w :
What does a CIDR notation show, and what does it look like?
CIDR (Classless Inter-Domain Routing) notation shows the number of bits used for the network portion of an IP address. It is represented as the IP address followed by a slash and the number of network bits. For example: 192.168.1.0/24.
Network Portion of IP address //////
What does a CIDR notation show, and what does it look like?
How CIDR Notation Works
Network and Host Bits
CIDR divides the IP address into two parts:
Network Prefix: Identifies the network. The length of the network prefix is specified by the number after the slash.
Host Identifier: Identifies individual devices within the network.
Subnet Mask
The subnet mask for /24 is 255.255.255.0, which corresponds to the binary representation of the network prefix.
Network Portion of IP address //////
Photo. What does a CIDR notation show, and what does it look like?
Photo
CIDR IN AWS
What does a CIDR notation show, and what does it look like?
CIDR in AWS
In AWS, CIDR notation is used extensively to define IP address ranges for Virtual Private Clouds (VPCs) and subnets. Here are some key points:
VPC CIDR Block: When creating a VPC, you specify a CIDR block, such as 10.0.0.0/16, which provides 65,536 IP addresses.
Subnet CIDR Block: Within a VPC, you can create subnets with smaller CIDR blocks, such as 10.0.1.0/24, which provides 256 IP addresses.
Example in AWS
VPC CIDR Block: 10.0.0.0/16
This allows for 65,536 IP addresses.
Subnet CIDR Block: 10.0.1.0/24
This allows for 256 IP addresses within the VPC.
Wha the OSI model, how many layers are there, and which layers does Amazon handle and which layers does the customer handle?
The OSI (Open Systems Interconnection) model is a conceptual framework that standardizes communication functions into 7 layers. Amazon handles the physical (layer 1), data link (layer 2), network (layer 3), and some transport (layer 4) layers. Customers handle the remaining layers: session (layer 5), presentation (layer 6), and application (layer 7).
Transport Layer End to End
Photo. What is the OSI model, how many layers are there, and which layers does Amazon handle and which layers does the customer handle?
DR DRE inter host.
Segment E to E Packet Frame Bit
Photo
IPv6 address Purpose details 1
Larger Address Space: IPv6 provides a significantly larger address space compared to IPv4, which is crucial as the internet continues to grow and the number of connected devices increases. This helps in managing large-scale deployments and future-proofing infrastructure.
Dual Stack and IPv6-Only Configurations: AWS supports both dual stack (IPv4 and IPv6) and IPv6-only configurations. This flexibility allows for seamless communication between IPv4 and IPv6 resources within the same VPC infrastructure, facilitating easier network management and transition to IPv6.
Enhanced Networking for Kubernetes: For services like Amazon Elastic Kubernetes Service (EKS), IPv6 helps in managing large-scale Kubernetes clusters by providing a unique IP address for each pod, which is essential due to the limited IPv4 address space.
IPv6 address Purpose details 2
Macie for PII, IPAM BYOIPv6, DNS 4 and 6
Improved Security and Compliance: IPv6 addresses are supported in AWS Identity and Access Management (IAM) policies and Amazon Macie for personally identifiable information (PII), enhancing security and compliance capabilities.
Optimized IP Address Management: AWS services like Amazon VPC IP Address Manager (IPAM) allow for optimal allocation and management of IPv6 address space, which simplifies routing and security posture management. This is particularly useful for organizations bringing their own IPv6 address space (BYOIPv6).
DNS Resolution: Services like Amazon Route 53 Resolver support dual-stack and IPv6-only configurations, enabling seamless DNS query resolution for both IPv4 and IPv6 addresses. This is crucial for maintaining connectivity and service availability in mixed or transitioning environments.
In summary, IPv6 addresses in AWS provide a scalable, secure, and efficient way to manage network resources, support large-scale deployments, and ensure future readiness as the demand for IP addresses continues to grow.
PHOTO ipv 6 kubernete pod
What is Amazon VPC?
range subnets route table NTWK gateway
Amazon Virtual Private Cloud (VPC) is a virtual network that closely resembles a traditional data center network. It allows you to launch AWS resources in a logically isolated environment with defined IP address ranges, subnets, routing tables, and network gateways.
logically isolated environment with defined IP address ranges, subnets, routing tables, and network gateways.
Photo Mnemonic. What is the OSI model, how many layers are there, and which layers does Amazon handle and which layers does the customer handle?
Photo Mnemonic
IPv6 address Purpose
NODE OR INTERFACE
To identify and locate a network interface on a computer or network node in computer networks using IPv6.
Photo with more context. What is the OSI model, how many layers are there, and which layers does Amazon handle and which layers does the customer handle?
Photo with more context.
IPv6 address Successor Of
Internet Protocol version 4 (IPv4)
IPv6 address Address Size
REV
EC2, VPC, and Route 53
128 bits
Hexadecimal Notation: Each hexadecimal digit represents 4 bits, so 8 groups of 4 hexadecimal digits each make up a total of 128 bits. IPv6 provides improved routing and network autoconfiguration capabilities.
What is Amazon VPC? Photo
EC2 ENI SUB PRIVATE LINK AWS
SUBNET /VPC
Photo
IPv6 address Significant Difference
Has a vastly enlarged address space compared to IPv4.
IPv6 address Function in Packet?
Routing Header with Source and Destination
IP addresses are used in the packet header to indicate the source and destination, guiding IP packet routing to other networks.
IPv6 address Function in Packet?
3 x 3 x 2
Routing Header with Source and Destination
IPv6 address Use in Networking
HEADER SOURCE DESTINATION
Part of the packet header to identify source and destination of packets in a network.
What does Amazon VPC allow you to select or enable?
IP SUBNET NTWK GATEWAY ROUTE TABLE SECURITY
Amazon VPC allows you to select or enable IP address ranges, create subnets, configure route tables, network gateways, and security settings. It enables you to launch AWS resources in a logically isolated virtual network that you define.
How many regions and how many availability zones can a VPC span?
AZs not Multiple Regions
A VPC spans all Availability Zones within a single AWS region. It cannot span multiple regions.
What is a subnet, and how can they be classified?
PP VPN ISO
A subnet is a range of IP addresses in your VPC. Subnets can be classified as public, private, VPN-only, or isolated based on their routing configuration and access to the internet or other networks.
How many availability zones can a subnet span?
Subnet = 1AZ not multiple
A subnet must reside entirely within one Availability Zone and cannot span multiple zones.
Can you change an address range after you create the VPC?
You can add additional cider but mod or delete
Once a VPC has been created, you cannot change the original address range. You can add additional CIDR blocks to the VPC, but you cannot modify or delete the original CIDR block
What is the difference between a public subnet and a private subnet?
PUB= RT TO IG / PRIV=NO IG EC TO NAT GATEWAY NAT INSTANCE
A public subnet is associated with a route table that has a route to an Internet Gateway, allowing instances in the subnet to communicate directly with the internet. A private subnet does not have a route to an Internet Gateway, and instances in the subnet can only access the internet through a NAT gateway or NAT instance in a public subnet.
What is the smallest and what is the largest IPv4 CIDR block that you may use?
The smallest IPv4 CIDR block you can use is a /28, which provides 16 IP addresses. The largest IPv4 CIDR block you can use is a /16, which provides 65,536 IP addresses.
How many IP addresses within a CIDR block are reserved for AWS use and not available to the customer?
AWS reserves 5 IP addresses within each subnet CIDR block. These addresses are not available for use by the customer.
What are the reserved addresses and what are they used for?
The reserved addresses are: 1. Network address (first IP) 2. VPC router (second IP) 3. DNS server (third IP) 4. Future use (fourth IP) 5. Network broadcast address (last IP). These addresses are used for network management and internal AWS operations.
What is an elastic IP address, and what is the benefit of using an elastic IP address?
Static public ipv4 dynamic MASK Failure
An Elastic IP address is a static, public IPv4 address designed for dynamic cloud computing. It allows you to mask the failure of an instance by rapidly remapping the address to another instance in your VPC. This provides a consistent IP address for your resources, even if you need to replace or restart instances
What is an elastic network interface?
An Elastic Network Interface (ENI) is a virtual network interface card that you can attach to an instance in a VPC. It allows you to connect your instances to a VPC securely and can include attributes such as a primary private IPv4 address, one or more secondary private IPv4 addresses, one Elastic IP address per private IPv4 address, a MAC address, and one or more security groups.
What is a route table and what are the 2 designations or columns that each route table has?
DT iP range and gateway and network interface.
A route table is a set of rules, called routes, that determine where network traffic is directed. Each route table has two key designations: the destination (the range of IP addresses where you want traffic to go) and the target (the gateway, network interface, or connection through which to send the destination traffic).
Does a subnet require a route table, and how many route tables can be associated with each subnet?
Yes, each subnet in a VPC must be associated with a route table. A subnet can only be associated with one route table at a time.
Can the same route table be used by another subnet?
Yes, the same route table can be associated with multiple subnets within the same VPC.
When you use the VPC wizard, what are the 4 VPC configuration options and when is each configuration most appropriate?
2 web application and backend 3hardware vpn on premise to cloud. 4 private backend service.
The 4 VPC configuration options are: 1. VPC with a Single Public Subnet: Suitable for simple web applications. 2. VPC with Public and Private Subnets: Ideal for web applications that require backend servers in private subnets. 3. VPC with Public and Private Subnets and Hardware VPN Access: Used for extending your on-premises network to the cloud. 4. VPC with a Private Subnet Only and Hardware VPN Access: Suitable for private, backend services that do not need direct internet access.
What is an Internet gateway (igw)?
An Internet Gateway (IGW) is a horizontally scaled, redundant, and highly available VPC component that allows communication between your VPC and the internet. It supports both IPv4 and IPv6 traffic and provides a target in your VPC route tables for internet-routable traffic
What 2 things are needed in order to make a subnet public?
Attach and update
To make a subnet public, you need to: 1. Attach an Internet Gateway (IGW) to your VPC. 2. Update the subnet’s route table to include a route to the Internet Gateway.
What is a Network Address Translation (NAT) gateway (nat-gw)?
Private to public but nit vice versa for instances
A NAT gateway is a managed service that allows instances in a private subnet to connect to the internet or other AWS services, but prevents the internet from initiating connections with those instances.
Where does a nat-gw live and what else do you need to associate with the nat-gw?
A NAT gateway must be created in a public subnet. You also need to associate an Elastic IP address with the NAT gateway to enable internet access.
What is VPC sharing and what is used to permit sharing? (note: within 1 VPC)
Create resources in central VPC via RAM
VPC sharing allows multiple AWS accounts to create their application resources (such as EC2 instances) in shared, centrally managed VPCs. AWS Resource Access Manager (RAM) is used to permit sharing.
What is VPC peering and what is used to make the connection? (note: between multiple VPCs)
Private requesting and accessing
VPC peering is a networking connection between two VPCs that enables you to route traffic between them using private IP addresses. The connection is made using a VPC peering connection request and acceptance process.
What are 2 ways to connect your AWS VPC with your on-premise data center, and what type of gateway and connection are used for each?
DC via VPN gateway
S to S via IPsec customer gateway
- AWS Direct Connect: Uses a dedicated network connection and a Virtual Private Gateway. 2. AWS Site-to-Site VPN: Uses an IPsec VPN connection and a Customer Gateway
What 2 things are needed in order to make a subnet public?
IGW to VPC update subnet route to IG
To make a subnet public, you need to: 1. Attach an Internet Gateway (IGW) to your VPC. 2. Update the subnet’s route table to include a route to the Internet Gateway.
What is a Network Address Translation (NAT) gateway (nat-gw)?
Private to Public subnets not vice versa
A NAT gateway is a managed service that allows instances in a private subnet to connect to the internet or other AWS services, but prevents the internet from initiating connections with those instances.
Where does a nat-gw live and what else do you need to associate with the nat-gw?
Public Sub with elastic IP
A NAT gateway must be created in a public subnet. You also need to associate an Elastic IP address with the NAT gateway to enable internet access.
What is VPC sharing and what is used to permit sharing? (note: within 1 VPC)
Multiple accounts create resources apps in shared VPC via RAM.
VPC sharing allows multiple AWS accounts to create their application resources (such as EC2 instances) in shared, centrally managed VPCs. AWS Resource Access Manager (RAM) is used to permit sharing.central
What is VPC peering and what is used to make the connection? (note: between multiple VPCs)
2 VPC talk via private via VPC peering connections request and acceptance
VPC peering is a networking connection between two VPCs that enables you to route traffic between them using private IP addresses. The connection is made using a VPC peering connection request and acceptance process.
What are 2 ways to connect your AWS VPC with your on-premise data center, and what type of gateway and connection are used for each?
- AWS Direct Connect: Uses a dedicated network connection and a Virtual Private Gateway. 2. AWS Site-to-Site VPN: Uses an IPsec VPN connection and a Customer Gateway.
What is an elastic network interface?
An Elastic Network Interface (ENI) is a virtual network interface card that you can attach to an instance in a VPC. It allows you to connect your instances to a VPC securely and can include attributes such as a primary private IPv4 address, one or more secondary private IPv4 addresses, one Elastic IP address per private IPv4 address, a MAC address, and one or more security groups.
What is a route table and what are the 2 designations or columns that each route table has?
A route table is a set of rules, called routes, that determine where network traffic is directed. Each route table has two key designations: the destination (the range of IP addresses where you want traffic to go) and the target (the gateway, network interface, or connection through which to send the destination traffic).
Does a subnet require a route table, and how many route tables can be associated with each subnet?
Yes and 1 route table.
Yes, each subnet in a VPC must be associated with a route table. A subnet can only be associated with one route table at a time.
Can the same route table be used by another subnet?
Yes, the same route table can be associated with multiple subnets within the same VPC.
When you use the VPC wizard, what are the 4 VPC configuration options and when is each configuration most appropriate?
The 4 VPC configuration options are: 1. VPC with a Single Public Subnet: Suitable for simple web applications. 2. VPC with Public and Private Subnets: Ideal for web applications that require backend servers in private subnets. 3. VPC with Public and Private Subnets and Hardware VPN Access: Used for extending your on-premises network to the cloud. 4. VPC with a Private Subnet Only and Hardware VPN Access: Suitable for private, backend services that do not need direct internet access.
What is an Internet gateway (igw)?
An Internet Gateway (IGW) is a horizontally scaled, redundant, and highly available VPC component that allows communication between your VPC and the internet. It supports both IPv4 and IPv6 traffic and provides a target in your VPC route tables for internet-routable traffic.
What 2 things are needed in order to make a subnet public?
To make a subnet public, you need to: 1. Attach an Internet Gateway (IGW) to your VPC. 2. Update the subnet’s route table to include a route to the Internet Gateway.
What is a Network Address Translation (NAT) gateway (nat-gw)?
A NAT gateway is a managed service that allows instances in a private subnet to connect to the internet or other AWS services, but prevents the internet from initiating connections with those instances.
Where does a nat-gw live and what else do you need to associate with the nat-gw?
A NAT gateway must be created in a public subnet. You also need to associate an Elastic IP address with the NAT gateway to enable internet access.
What is VPC sharing and what is used to permit sharing? (note: within 1 VPC)
Mult AWS account to create resources with RAM
VPC sharing allows multiple AWS accounts to create their application resources (such as EC2 instances) in shared, centrally managed VPCs. AWS Resource Access Manager (RAM) is used to permit sharing.
What is VPC peering and what is used to make the connection? (note: between multiple VPCs)
Private traffic vpc request and accept
VPC peering is a networking connection between two VPCs that enables you to route traffic between them using private IP addresses. The connection is made using a VPC peering connection request and acceptance process.
What are 2 ways to connect your AWS VPC with your on-premise data center, and what type of gateway and connection are used for each?
- AWS Direct Connect: Uses a dedicated network connection and a Virtual Private Gateway. 2. AWS Site-to-Site VPN: Uses an IPsec VPN connection and a Customer Gateway.
What type of VLAN standard is used for AWS Direct Connect?
AWS Direct Connect uses the IEEE 802.1Q VLAN standard for creating virtual local area networks (VLANs).
When do you use a VPC endpoint (vpcep-id)?
You use a VPC endpoint to privately connect your VPC to supported AWS services and VPC endpoint services powered by AWS PrivateLink without requiring an internet gateway, NAT device, VPN connection, or AWS Direct Connect connection.
Vpc private connection to AWS services and endpoint services power by AWS Private Link
NO IG NAT VPN DC
What are the 2 types of endpoints?
The two types of endpoints are: 1. Interface Endpoints: Used to connect to services over AWS PrivateLink. 2. Gateway Endpoints: Used for S3 and DynamoDB.
Are security groups stateful or stateless and what type of traffic must be defined?
Security groups are stateful, meaning that if you send a request from your instance, the response traffic for that request is allowed to flow in regardless of inbound security group rules. You must define both inbound and outbound traffic rules.
Where does the Network Access Control List (Network ACL) act at?
Network ACLs act at the subnet level, controlling traffic to and from one or more subnets within a VPC.
What are the default rules for Network ACLs?
The default rules for Network ACLs allow all inbound and outbound IPv4 traffic and, if applicable, IPv6 traffic. Custom Network ACLs start with no inbound or outbound rules, meaning they deny all traffic by default.
Are Network ACLs stateful or stateless, and what type of traffic must be defined?
Network ACLs are stateless, meaning that they do not automatically allow return traffic. You must define both inbound and outbound traffic rules separately.
What is Amazon Route 53 used for?
Amazon Route 53 is a scalable and highly available Domain Name System (DNS) web service. It is used to route end-user requests to internet applications hosted on AWS and to manage DNS records for domain names.
What types of routing does Route 53 support and how is each routing option different?
Route 53 supports several routing policies: Simple, Weighted, Latency-based, Failover, Geolocation, Geoproximity, and Multi-Value Answer. Each routing option differs in how it routes traffic based on factors like health checks, geographic location, latency, and predefined weights
What is an AWS Transit Gateway, and what topology is used with it?
An AWS Transit Gateway is a service that enables you to connect your VPCs and on-premises networks through a central hub. It uses a hub-and-spoke topology.
What are the 2 firewall options to secure traffic coming in and out of your network?
The two firewall options are Security Groups and Network Access Control Lists (NACLs).
Where does the security group act at and what specifically do you attach it to?
Security groups act at the instance level and are attached to Elastic Network Interfaces (ENIs) associated with instances.
What is the default rule for security groups?
The default rule for security groups is to allow all outbound traffic and deny all inbound traffic unless explicitly allowed by a rule.
Are security groups stateful or stateless and what type of traffic must be defined?
Security groups are stateful, meaning that if you send a request from your instance, the response traffic for that request is allowed to flow in regardless of inbound security group rules. You must define both inbound and outbound traffic rules
Where does the Network Access Control List (Network ACL) act at?
Network ACLs act at the subnet level, controlling traffic to and from one or more subnets within a VPC.