Basics Flashcards

1
Q

What is an availability zone

A

It’s basically a data center or a group of them

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

What is a Region

A

It is a distinct physical area with two or more availability ZOne

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

What is an Edge Location?

A

It a smaller location used to supplement region mostly to cache content. There are more edge locations than regions Example: CloudFront and Amazons Content Delivery Network

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

key terminologies for IAM

A

Users, Groups, Policies and Rules

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

What is root account

A

its the email address we signed up with

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

explain User ,role, group and permissions

A

Users:
Are the users we create, as such they don’t have any permissions.
Groups and Roles:
Users can belong to multiple groups and roles.
Permissions:
These are policies we attach to role or Group, for example S3 full access or ec2 full admin.

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

How to stop an account from going over a threshold

A

Use Billing alarm inside cloudwatch

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

Standard way to create users

A

1) Create users with least privilege
2) Give them security credentials
3) Add them to a group and manage permissions for the group.
4) Optionally give them Login profile.

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

What are the IAM entities?

A

Users, roles and groups. Permissions can be given to these entities to access resources

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

How are permissions given to entities?

A

Permissions are given in terms of Policies. Policies contain Resource,Action,conditions and effect.

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

What are IAM roles?

A

They allow delegating access to users who normally don’t have access to the resources. Normally Ec2 inctances when they connect to other services, they will have to sign the request with credentials, which is cumbersome to manage for many instances.Thats where roles come in. Roles can be created separately with policies to enable access to services(like S3) and we can attach roles to Ec2 instances.When this happens the Ec2 instances will be provided with access id and Token from the metadataservice and they can communicate with teh intended services.

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

How to create an EC2 instance with a role, having access to S3

A

1) Create a role.
2)Attach a readonly policy to s3 for that role.
3)Launch an Ec2 instance and select this newly created role from teh launch wizard.
Now this Ec2 instance has readonly access to the s3 bucket. Basically a temp access key and token are provided to the EC2 inctance to achieve this.

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

What are the security services available in AWS

A

IAM,KMS(Key management service),Cognito, WAF

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

What is a Prinicipal in IAM?

A

It could be a user or a role

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