Exam Pro Cheat Sheets Flashcards
How does S3 provide high availability?
Replicate data across at least 3 AZs
What size can S3 objects be?
Between 0 Bytes and 5 Terraytes
True or False; S3 Bucket names must be unique across all accounts?
True
What is used to automatically move S3 objects between storage classes and automatically delete based on a schedule?
Lifecycle Managment
True or False; S3 MFA delete requires versioning to be turned on?
True
True or False; you can turn off versioning on S3?
False; once versioning is turned on it cannot be turned off, only suspended
True or False; all new S3 Buckets are private by default?
True
Two ways access is controlled in S3 Buckets?
- Bucket Policies
- Access Control Lists (ACL) (LEGACY)
How are Bucket Policies defined?
Using JSON documents
What is security in transit (S3)?
Uploading files over SSL
What does SSE stand for?
Server Side Encryption
What are the 3 options for S3 server side encryption?
- SSE-AES
- SSE-KMS
- SSE-C
True or False; for CRR in S3, you must have versioning turned on in the source and destination bucket?
True
True or False; using CRR in S3, you can replicate to a bucket in another AWS account?
True
What S3 option provides faster and secure uploads from anywhere in the world using a distinct URL and an Edge Location?
Transfer Acceleration
What are commonly used to access private S3 objects?
Presigned URLs
What 2 ways can you use to generate S3 presigned URLs?
- AWS CLI
- AWS SDK
What provides temporary access to write or download object data in S3
Presigned URLs
6 different S3 storage classes
- Standard
- Intelligent Tiering
- Standard Infrequent Access
- Infrequent Access One Zone
- Glacier
- Glacier Deep Archive
Which S3 tier should you use if you access your files less than once a month?
Standard Infrequently Accessed
What availability is S3 One Zone IA?
99.5%
How long is data retrieval for Glacier?
Minutes to hours
How long is data retrieval for Glacier Deep Archive?
12 hours
What size does Snowballs come in?
- 50TB
- 80TB
What size does Snow Edges come in?
- 100TB
- 100TB clustered
What size does a Snowmobile come in?
100PB
True or False; You can use Snowballs or Snowmobiles to both export and import data?
True
Which member of the Snow family can undertake local processing and edge-computing workloads?
Snowball Edge
3 Snowball Edge device configurations:
- Storage optimised (24 vCPUs)
- Compute optimised (54 vCPUs)
- GPU (54 vCPUs)
Which service helps keep traffic between AWS services within the AWS network?
VPC Endpoints
What are the 2 types of VPC Endpoints?
- Interface Endpoint
- Gateway Endpoint
True or False; Interface Endpoints are free?
False
True or False; Gateway Endpoints are free?
True
Which type of VPC Endpoint uses an Elastic Network Interface (ENI) with Private IP?
Interface Endpoint
Which type of VPC Endpoint is a target for a specific route in your route table?
Gateway Endpoint
True or False; Interface Endpoints support many AWS Services?
True
True or False; Gateway Endpoints support many AWS Services?
False, Gateway Endpoints only support S3 and DynamoDB
Which VPC service monitors the in-and-out traffic of your Network Interfaces within your VPC?
VPC Flow Logs
At which 3 levels can you utilise VPC Flow Logs
- VPC
- Subnet
- Network Interface
True or False; you can change the configuration of a flow log after it’s created?
False
True or False; you cannot enable flow logs for VPCs which are peered with your VPC?
True, unless it is in the same account
Where can VPC Flow Logs be delivered to?
- S3
- CloudWatch Logs
What two pieces of information are contained in VPC Flow Logs?
- Source IP address
- Destination IP address
Which pieces of instance traffic are not monitored by VPC Flow Logs (5)?
- Instance traffic generated by contacting the AWS DNS servers
- Windows license activation traffic
- Traffic between instance metadata address (169.254.169.254_
- DHCP Traffic
- Any traffic to the reserved IP address of the default VPC router
What does NACL stand for?
Network Access Control List
What rules are automatically given to the default NACL?
- Allow all outbound and inbound traffic
True or False; each subnet within a VPC must be associated with a NACL?
True
True or False; subnets can only be associated with 1 NACL at a time?
True, associating a subnet with a new NACL will remove the previous association
True or False; NACLs have inbound and outbound rules?
True
True or False; NACLs can either allow or deny traffic?
True
True or False; NACLs are stateful?
False, NACLs are stateless
What does stateless mean?
Responses to outbound traffic are not automatically allowed, they’re subject to inbound traffic rules. And Vice versa.
What does statefull mean?
Response to outbound / inbound traffic are automatically allowed
True or False; when you create a NACL it will deny all traffic by default?
True
True or False; NACLs contain a numbered list of rules that gets evaluated in order from lowest to highest?
True
True or False; NACLs can be used to block a single IP address?
True, NACLs have both allow and deny rules
What acts as a firewall at the instance level?
Security Groups
True or False; in security groups all inbound traffic is allowed by default?
False, inbound traffic is blocked by default
True or False; in security groups all outbound traffic is allowed by default?
True
Security Groups are stateful or stateless?
Security Groups are statefull
True or False; EC2 instances can belong to multiple security groups?
True
True or False; security groups can contain multiple EC2 instances?
True
True or False; you can block specific IP addresses using Security Groups?
False, you would need to use NACLs to do this
How many Security Groups can you have per region?
10,000 (default 2,500)
How many rules can you have per Security Group?
60 inbound and 60 outbound
How many security groups can be associated with an ENI?
16 (default is 5)
Which AWS service connects on-premise storage to cloud storage?
Storage Gateway
3 types of storage gateways:
- File Gateway
- Volume Gateway
- Tape Gateway
Which type of storage gateway acts as a local file system using NFS or SMB, extending your local hard drive to S3?
File Gateway
Which type of storage gateway is used for backups?
Volume Gateway
What are the two types of Volume Gateway?
- Stored Volume Gateway
- Cached Volume Gateway
Which type of Volume Gateway has the primary data on-premise?
Stored Volume Gateway
Which type of Volume Gateway continuously backs up local storage to S3 as EBS Snapshots?
Stored Volume Gateway
Which type of Volume Gateway has the primary stored on S3?
Cached Volume Gateway
Which type of Volume Gateway cached the frequently used files on-premise?
Cached volume Gateway
How big are stored volumes for Volume Storage Gateway?
1GB to 16TB
How big are cached volumes for Cached Volume Gateway?
1GB to 32GB
Which type of storage gateway backs up virtual tapes to S3 Glacier for long archive storage?
Tape Gateway
True or False; when creating a NAT instance you must disable source and destination checks on the instance?
True
True or False; NAT instances must exist in a private subnet?
False, NAT instances must exist in a public subnet?
True or False; you must have a route out of the private subnet to the NAT instance?
True
True or False; the size of a NAT instance determines how much traffic can be handled?
True
True or False; NAT Gateways are redundant inside an Availability Zone?
True, they can survive failure of an EC2 instance
True or False; you can have multiple NAT Gateways inside an AZ?
False, you can only have 1 NAT Gateway in an AZ, which cannot span AZs
What speeds can a NAT Gateway get?
5 Gbps to 45 Gbps
True or False; when creating a NAT Gateway you must disable source and destination checks on the instance?
False, for NAT Instances this is True
True or False; NAT Gateways are automatically assigned a public IP address?
True
True or False; resources in multiple AZs sharing a Gateway will lose internet access if the Gateway goes down?
True, unless you create a Gateway in each AZ and configure route tables accordingly
Which AWS service is used to manage access to users and resources?
IAM
What does IAM stand for?
Identity Access Management
True or False; new IAM accounts have no permissions by default?
True
3 parts to IAM:
- IAM Users
- IAM Groups
- IAM Roles
What is the name for JSON documents which grant permissions for a specific user, group, or role to access services?
IAM Policies
What is the name for IAM policies provided by AWS and cannot be edited?
Managed Policies
What is the name for IAM policies created by you the customer, which you can edit?
Customer Managed Policies
What is the name for IAM policies which are directly attached to a user?
Inline Policies
Which AWS service would you use when you need to easily add authentication to your mobile and desktop app?
Cognito
What part of AWS Cognito allows users to authenticate using OAuth to IpD such as Facebook, Google, Amazon to connect to web-applications?
User pools
What do Cognito User Pools use to persist authentication?
JWTs (JSON web tokens)
How do Cognito Identity Pools allow access to AWS services?
Using temporary AWS credentials
What does Cognito Sync snyc across devices with one line of code?
User data and preferences
What is OIDC?
A type of Identity Provider which uses OAuth
What is SAML?
A type of Identity Provider which is used for Single Sign-on
What does DNS (Domain Name System) do?
An internet service that converts domain names into routable IP addresses
How many bits are in an IPv4 address?
32 bits
How many bits are in an IPv6 address?
128 bits
Give an example of a top-level domain
amazon.com (the .com)
give an example of a second-level domain
amazon.co.uk (the .co)
What is the name of 3rd party companies who you register domains through?
Domain Registrars
What is a Name Server
The server(s) which contain the DNS records for a domain
What is a Start of Authority (SOA)?
Contains information about the DNS zone and associated DNS records
What does an A record do?
Directly converts a domain name into an IP address
What does a CNAME record do?
Lets you convert a domain name into another domain name
What is Time to Live (TTL)?
The time that a DNS record will be cached for
7 Route53 routing policies:
- Simple Routing
- Weighted Routing
- Latency-Based Routing
- Failover Routing
- Geolocation Routing
- Geo-proximity Routing
- Multi-Value Routing
Which Route53 tool is a visual editor, for chaining routing policies which allows versioning for easy rollback?
Traffic Flow