AWS Ec2 Flashcards

learn Aws

1
Q

What is NACL

A

Security at Subnet level,Multiple ec2

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

What is security at Ec2

A

Security Groups

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

what is private subnet

A

group ec2 without out internet access

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

what is public subnet

A

common to all private subnets and entry point to request from outside

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

How request flows into ec2

A

user->Internetgateway–>public subnet–>elb>routetable–>security group–>ec2

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

What is internet gateway or natgateway

A

A way where request comes from internet to vpc and then to public subnet

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

last point of security is served by

A

security group and NACL

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

Will aws by deafult create a security group and VPC

A

yes

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

Are there any defaults for security groups

A

complete outbound traffic is allowed excepts port 25 and full inbound is blocked

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

why port 25 is blocked in outbound security group rules

A

because port 25 is used by mailing service.To avoid spam activity

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

What is the practical use of NAcl

A

By default if Apllication teams allows any access which is not supposed to be ,Admins can block it at NACL level

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

how rules work in nacl

A

less rule number will be excueted first if executed then others are ignored

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

login to ec2 from local termins ssh -i

A

ssh -i pem file ubuntu@ip

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

Secure copy

A

scp -i pem file of bastion pem file ec2 in private subnet ubuntu@ ipof bastion :path where it should be copied

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