Network Security & Name Resolution Flashcards

1
Q

You need to allow inbound DNS client queries to a VPC subnet. Which port should you allow in the Network ACL rule?

25

443

23

53

A

53

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

Which type of DNS record routing rule allows sending a percentage of traffic to a specific host?

Weighted

Simple

Latency

Geolocation

A

Weighted

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

You are registering a new DNS domain through Route 53. What must you supply when registering the domain?

Contact details

VPC ID

Account ID

EC2 instance ID

A

Contact details

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

Which records exist automatically in a new hosted DNS zone?

SOA

NS

AAAA

A

A

SOA

NS

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

Which of the following statements is correct?

Network ACLs are associated with EC2 instances

Network ACL rules have a priority number

Security group rules have a priority number

Security groups are associated with subnets

A

Network ACL rules have a priority number

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

Which of the following statements is correct? Choose two.

Network ACL rules have a priority number

Security group rules have a priority number

Security groups are associated with EC2 instances

Network ACLs are associated subnets

A

Network ACL rules have a priority number

Network ACLs are associated subnets

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

You are using the AWS management console to create a new Network ACL. What must the ACL be associated with?

VPC

EC2 instance

DNS zone

Security group

A

VPC

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

You have created a network ACL. You now need to create ACL rules using the CLI. Which command should you use?

aws vpc create-network-acl-entry

aws ec2 create-network-acl-entry

aws vpc create-acl-entry

aws ec2 create- acl-entry

A

aws ec2 create-network-acl-entry

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

Which PowerShell statement is used to create a Network ACL?

New-VPCNetworkAcl -VpcId

New-VPCNetworkAcl -SubnetId

New-EC2NetworkAcl -SubnetId

New-EC2NetworkAcl -VpcId

A

New-EC2NetworkAcl -VpcId

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

Which AWS objects can Elastic IPs be associated with? Choose two.

Instance

Network interface

EC2 instance

VPC subnet

A

Instance

Network interface

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

You are using the AWS management console to create a new Security Group. What must the security group be associated with?

VPC

DNS zone

EC2 instance

Security group

A

VPC

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

Which CLI command is used to list AWS Security Groups?

aws ec2 show-security-groups

aws ec2 get-security-groups

aws ec2 describe-security-groups

aws ec2 list-security-groups

A

aws ec2 describe-security-groups

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

You need to allow port 3389 traffic to pass into an EC2 instance. Which PowerShell cmdlet should you use to modify the security group associated with the instance?

Add-SecurityGroupIngress

Add-EC2SecurityGroupIngress

Grant-EC2SecurityGroupIngress

Grant-SecurityGroupIngress

A

Grant-EC2SecurityGroupIngress

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

Which term best describes the role of an AWS Internet Gateway?

Proxy

Routing table

Pass-through

Packet filtering

A

Pass-through

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

You have created an Internet Gateway in VPC1, yet EC2 instances in VPC1 subnets cannot reach the Internet. What should you do?

Add a route from the subnets

Associate the Internet Gateway with each subnet

Restart the instances

Associate the Internet Gateway with each EC2 instance

A

Add a route from the subnets

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

Which term best describes the role of an AWS NAT Gateway?

Proxy

Routing table

Packet filtering

Pass-through

A

Proxy

17
Q

Which two items must a new NAT gateway be associated with?

Elastic IP

VPC

EC2 instance

Subnet

A

Elastic IP

Subnet