New notes Flashcards

1
Q

What is the scope of a Virtual Private Cloud (VPC)?

A

Regional

VPCs are regional. You create VPCs in each region separately.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

At which level do you attach an Internet gateway?

A

VPC

Internet Gateways are attached to the VPC. You then need to add entries to the route tables for your public subnets to point to the IGW.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

AWS Outposts

A

An Outpost is a pool of AWS compute and storage capacity deployed at a customer site, e.g. EC2 instances

AWS operates, monitors, and manages this capacity as part of an AWS Region. You can create subnets on your Outpost and specify them when you create AWS resources such as EC2 instances, EBS volumes, ECS clusters, and RDS instances.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

RAID 0 vs RAID 1 (on EBS)

A

RAID 0 = used for performance (splits data across volumes, but if one fails then whole thing fails)
RIAD 1 = fault tolerance/failover (mirrors data)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

GaurdDuty vs Inspector vs Macie

A

Inspector = Scanning for potential vulnerabilities

Guard Duty = Scanning for active intrusion attempts

Macie = identify and alert on sensative data such as PII (Personally Identifiable Information)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

VPC overview - part 1

A

VPC Peering
- Connect two or more VPC’s using AWS network (not transitive) over IPv4 or IPv6
- Private connection

VPC Endpoints
- Allows access from your VPC to AWS services (e.g. S3, DynamoDB)
- Private connection

Direct Connect (DX)
- connect VPC to customer data center (over IPv4 and IPv6)
- consistent network experience
- private connection

Direct Connect Gateway
- connect one customer data center to multiple VPC on AWS

AWS Site-to-Site VPN
- Connects customer data center to AWS VPC
- private encrypted connection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

VPC overview - part 2

A

Egress-only Internet Gateway
- allows outbound only connection to your VPC (private subnet) to the internet (IPv6 only)
- public network

AWS VPN CloudHub
- Connect multiple VPC’s to multiple Customer data centers
- public network

Transit Gateway
- Connecting multiple VPC services together (spoke and hub) and is transitive
- public network

Internet Gateway
-

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

SQS Visbility Timeout

A

SQS Visibility Timeout is a period of time during which Amazon SQS prevents other consumers from receiving and processing the message again.

In Visibility Timeout, a message is hidden only after it is consumed from the queue. Increasing the Visibility Timeout gives more time to the consumer to process the message and prevent duplicate reading of the message. (default: 30 sec., min.: 0 sec., max.: 12 hours)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

AWS App Runner

A

Similar to Beanstalk, but for containerised web apps

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Security Groups and NACL operate at which level?

A

Security Group = EC2 instance level

Network Access Control List (NACL) = subnet level

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Security Groups

A

Security groups are stateful, meaning if traffic can go out, then it can go back in.

Security Group = stateful (return traffic is automatcially allowed)

NACL = stateless (return traffic must be explicitily allowed by the rules)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Bastion Hosts

A

Bastion hosts should be deployed in a public subnet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

AWS Fargate

A

AWS Fargate is a serverless compute engine for containers that works with both Amazon Elastic Container Service (ECS) and Amazon Elastic Kubernetes (EKS).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Amazon EBS root device volumes

A

By default, Amazon EBS root device volumes are automatically deleted when the instance terminates.

You can preserve the volume by setting the value of DeleteOnTermination attribute of the EBS volumes to False.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

S3 Glacier retrival

A

Expedited retrievals allow you to quickly access your data when occasional urgent requests for a subset of archives are required. For all but the largest archives (250 MB+), data accessed using Expedited retrievals are typically made available within 1–5 minutes. Provisioned Capacity ensures that retrieval capacity for Expedited retrievals is available when you need it.

To make an Expedited, Standard, or Bulk retrieval, set the Tier parameter in the Initiate Job (POST jobs) REST API request to the option you want, or the equivalent in the AWS CLI or AWS SDKs. If you have purchased provisioned capacity, then all expedited retrievals are automatically served through your provisioned capacity.

Provisioned capacity ensures that your retrieval capacity for expedited retrievals is available when you need it. Each unit of capacity provides that at least three expedited retrievals can be performed every five minutes and provides up to 150 MB/s of retrieval throughput. You should purchase provisioned retrieval capacity if your workload requires highly reliable and predictable access to a subset of your data in minutes. Without provisioned capacity Expedited retrievals are accepted, except for rare situations of unusually high demand. However, if you require access to Expedited retrievals under all circumstances, you must purchase provisioned retrieval capacity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What will occur when an EC2 instance is stopped and started

A

– The underlying host for the instance is possibly changed.

– All data on the attached instance-store devices will be lost.

17
Q

Fargate

A

Fargate allocates the right amount of compute, eliminating the need to choose instances and scale cluster capacity. You only pay for the resources required to run your containers, so there is no over-provisioning and paying for additional servers.

By default, Fargate tasks are given a minimum of 20 GiB of free ephemeral storage, which meets the storage requirement in the scenario.

18
Q

AWS Cost Explorer

A

AWS Cost Explorer is a service provided by Amazon Web Services (AWS) that helps you visualize, understand, and analyze your AWS costs and usage. It provides a comprehensive set of tools and features to help you monitor and manage your AWS spending.

You can programmatically query your cost and usage data via the Cost Explorer API. You can query for aggregated data such as total monthly costs or total daily usage. You can also query for granular data, such as the number of daily write operations for DynamoDB database tables in your production environment.

19
Q

S3 Pre-signed URLs vs CloudFront Signed URLs vs Origin Access Identity (OAI) vs Origin Access Control (OAC)

20
Q

Dynamo DB auto scailing

A

DynamoDB auto scaling uses the AWS Application Auto Scaling service to dynamically adjust provisioned throughput capacity on your behalf, in response to actual traffic patterns. This enables a table or a global secondary index to increase its provisioned read and write capacity to handle sudden increases in traffic, without throttling.

21
Q

CIDR notation

A

/32 denotes one IP address
/0 refers to the entire network

22
Q

EBS costs incurred

A

EBS Volumes attached to stopped EC2 Instances incur costs

23
Q

Elastic Fabric Adapter (EFA)

A

An Elastic Fabric Adapter (EFA) is a network device that you can attach to your Amazon EC2 instance to accelerate High Performance Computing (HPC) and machine learning applications.

24
Q

Amazon Kinesis Data Streams

A

Amazon Kinesis Data Streams enables real-time processing of streaming big data. It provides ordering of records, as well as the ability to read and/or replay records in the same order to multiple Amazon Kinesis Applications.

Consumers are: EMR, EC2, Lambda, Amazon Kinesis Data Analytics

25
Q

S3 buckets

A

S3 buckets are region specific

They are stored in 3 AZ’s per region