AWS Flashcards

1
Q

AWS SDKs Languages

A

Java Script, Python, PhP, Ruby, Go, C++, Java

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

What does AWS CLI stand for?

A

Command Language Interface

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

What are the benefits of using Amazon EC2 instances compared to a physical servers in your infrastructure?

A
  1. Pay only for the capacity you use.

2. The ability to have different storage requirements

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

What does AS3 stand for?

A

Amazon Storage Service

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

What is AS3?

A
  1. Managed cloud storage service
  2. Store virtually unlimited number of objects
    a. Objects can be any data type I.e. snapshots
  3. Access any time, from anywhere
  4. Rich Security controls
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Describe the object in S3

A

Key -> Object -> My_bucket_name

  1. When the object/file is stored in an AS3 bucket, the file is stored in multiple regions/multiple facility. This ehlps ensure that if one facility goes down, you still have the file saved and retrievable.
  2. S3 - scalable and billed for what you use
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How can you access S3?

A
  1. AWS management console
  2. aws cli
  3. aws SDK.
  4. Can also access through a link which therefore means the bucket needs to be a globally unique name
    ie. https://awsexamplebucket/s3-us-west-2.amazonaws.com/docs/hello.txt

awsexamplebucket - unique bucket name
s3-us-west-2 - region
docs/hello.txt - object key

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

S3 Common Use Cases

A
  1. Storing application assets
  2. static web hosting
  3. durable - backup & disaster recovery
  4. scalable - staging area for big data
  5. many more
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

AWS Global Infrastructure Region Zones

A

Deploy resources , you pick the region or multiple regions to gain experience globally.

Regions are separate entities from other regions. Therefore they might not share the same services and resources.

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

AWS Global Infrastructure - Availability zones

A

Collection of data centers in a region
Supplied by different grids from utility grids
Isolating the availability zones creates productivity

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

AWS Global Infrastructure - Edge Location

A

Amazon Cloud Front - Provides content to the users

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

Which components of the AWS infrastructure can be described as multiple, isolated locations within one geographic area?

A

Availability zones

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

Amazon Virtual Private Cloud (VPC)

A
  1. private, virtual network in the aws cloud
  2. Allows complete control of network configuration
    a. ability to isolate and expose resources inside vpc
  3. Offers several layers of security controls
    a. ability to allow and deny specific internet and internal traffic
  4. other aws services deploy into VPC
    a. services inherent security built into network
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does AWS Security Groups do?

A

Security groups act as a firewall and provides control what traffic is allowed and denied. Such as keeping a n instance private or public.

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

Where do you create the security group in the aws console?

A

Under EC2 Security Groups

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

Which of the following statements is true of Amazon VPC?

A. A vpc acts as a physical firewall for your cloud infrastructure.

B. You can create many subnets in a VPC though fewer is recommended to limit complexity

C. Each VPC is a private, dedicated network connection from your premises to AWS

D. Each AWS account can have only one VPC associated with it

A

B. You can create many subnets in a VPC though fewer is recommended to limit complexity

17
Q

What is the load balancer?

A

Second type of load balancer service to allow for elasticity and enhancements

18
Q

What are enhance features of Load Balancer?

A
  1. Supported Protocols
    a. HTTP, HTTPS, HTTP/2, WebSockets
  2. CloudWatch Metrics
    a. Additional load balance metrics and target group metric dimension
  3. Access Logs
    a. ability to see connection details for WebSocket connections
  4. Health Checks
    a. Insight into target and application health at more granular level.
19
Q

Why use the application load balancer?

A

Ability to use containers to host your micro-services and route to those applications from a single load application.

20
Q

What are Listeners?

A

A listener is a process that checks for connection requests, using the protocol and port that you configure. The rules that you define for a listener determine how the load balancer routes requests to the targets in one or more target groups.

21
Q

What is a Target?

A

A target is a destination for traffic based on the established listener rules.

22
Q

What is a target group?

A

Each target group routes requests to one or more registered targets using the protocol and port number specified. A target can be registered with multiple target groups. Health checks can be configured on a per target group basis.

23
Q

What is Auto Scaling?

A

Helps you ensure the correct number of Amazon EC2 instances available to handle the load for your application.

Autoscaling can adjust the number of EC2 instances based on conditions you define such as a schedule.

24
Q

Scalable

A

How can I ensure that my workload has enough EC2 resources to meet fluctuating performance requirements?

25
Q

Automation

A

How can I automate EC2 resources provisioning to occur on-demand?

26
Q

What is scaling out versus scaling in?

A

Scaling out adds more EC2 instances and scaling in removes/terminates EC2 instances.

27
Q

How do you AutoScale?

A
  1. Launch Configuration
  2. Auto Scaling Group
  3. Auto Scaling Policy
28
Q

What is Launch Configuration?

A

Defining what will be launched by autoscaling.

AMI, Instance Type, security Groups, Roles

29
Q

What is Auto Scaling Group?

A

Defining WHERE deployment takes place and creating boundaries for the deployment.

VPC and subnet(s), Load Balancer, Minimum instances, maximum instances, desired capacity.

30
Q

What is Scaling Policy?

A

Specifying when to schedule to activate or terminate instances. Create a schedule time and date or threshold for instances activity.

Scheduled, On-Demand, Scale-Out policy, Scale-in policy

31
Q

What is Route 53?

A

Domain Registration, multiple routing algorithms,

32
Q

You have an application composed of individual services. you need to route a request to a service based on the content of the request. Which service should you use?

A. Elastic Load Balancing
B. EC2 Auto Scaling
C. AWS CloudTrail
D. Amazon Route 53

A

A. Elastic Load Balancing