Unit 2 - Practice Quiz

INT364

1 What is the maximum allowable CIDR block size for an Amazon VPC?

A. /8
B. /16
C. /24
D. /28

2 Which component is strictly required to make a subnet 'public' in an Amazon VPC?

A. NAT Gateway
B. Internet Gateway (IGW)
C. Virtual Private Gateway
D. VPC Peering Connection

3 In AWS networking, what is the scope of a VPC Security Group?

A. Subnet level
B. Instance (Network Interface) level
C. VPC level
D. Region level

4 Which of the following statements regarding Network Access Control Lists (NACLs) is TRUE?

A. They are stateful.
B. They support allow rules only.
C. They operate at the instance level.
D. They represent a stateless firewall at the subnet level.

5 You have a private subnet that needs to download software patches from the internet but should not accept incoming connection requests. Which component should you use?

A. Internet Gateway
B. Egress-Only Internet Gateway
C. NAT Gateway
D. Direct Connect

6 What is the primary constraint regarding VPC Peering and transitive routing?

A. Transitive routing is supported by default.
B. Transitive routing is not supported.
C. Transitive routing works only if both VPCs are in the same region.
D. Transitive routing works only with IPv6.

7 Which AWS service allows you to connect multiple VPCs and on-premises networks through a central hub, simplifying network topology?

A. VPC Peering
B. AWS Direct Connect
C. AWS Transit Gateway
D. AWS VPN CloudHub

8 Which type of VPC Endpoint uses AWS PrivateLink to connect securely to services like Amazon EC2 API, Kinesis, or ELB?

A. Gateway Endpoint
B. Interface Endpoint
C. Routing Endpoint
D. VPN Endpoint

9 Gateway Endpoints currently support which two specific AWS services?

A. Amazon S3 and Amazon DynamoDB
B. Amazon EC2 and Amazon S3
C. Amazon RDS and Amazon DynamoDB
D. Amazon SNS and Amazon SQS

10 What is the relationship between a Subnet and an Availability Zone (AZ)?

A. A subnet can span multiple AZs.
B. An AZ can only contain one subnet.
C. A subnet must reside entirely within one AZ.
D. Subnets are region-wide resources.

11 When configuring a Site-to-Site VPN, which component is deployed on the AWS side of the connection?

A. Customer Gateway
B. Virtual Private Gateway (VGW)
C. Internet Gateway
D. NAT Instance

12 What is a primary benefit of using AWS Direct Connect over a Site-to-Site VPN?

A. Direct Connect is always cheaper for low data volumes.
B. Direct Connect uses the public internet for transmission.
C. Direct Connect provides consistent network performance and low latency via a dedicated private connection.
D. Direct Connect does not require any physical infrastructure.

13 Which tool would you use to capture information about the IP traffic going to and from network interfaces in your VPC?

A. AWS CloudTrail
B. VPC Flow Logs
C. Amazon CloudWatch Metrics
D. AWS Config

14 You need to prevent a specific IP address from accessing your subnet. Which security layer should you use?

A. Security Group
B. Network Access Control List (NACL)
C. Route Table
D. Internet Gateway

15 If a Security Group has no outbound rules defined, what is the default behavior?

A. All outbound traffic is allowed.
B. All outbound traffic is denied.
C. Only HTTP outbound traffic is allowed.
D. Only SSH outbound traffic is allowed.

16 How does AWS ensure high availability for a NAT Gateway?

A. It automatically spans multiple AZs.
B. It must be manually configured in a cluster.
C. It is created in a specific AZ; for high availability, you must create a NAT Gateway in each AZ.
D. It uses a floating IP across regions.

17 Which VPC feature allows you to copy network traffic from an elastic network interface to a target for deep packet inspection?

A. VPC Flow Logs
B. Traffic Mirroring
C. VPC Peering
D. AWS Inspector

18 What happens if you attempt to peer two VPCs that have overlapping CIDR blocks?

A. The peering connection automatically resolves the overlap using NAT.
B. The peering connection creation fails.
C. Only the non-overlapping subnets can communicate.
D. One VPC effectively overwrites the other.

19 Which component represents the customer side of a Site-to-Site VPN connection in AWS configuration?

A. Virtual Private Gateway
B. Customer Gateway
C. Transit Gateway
D. Internet Gateway

20 In a default NACL, what is the default rule behavior?

A. Allow all inbound and outbound traffic.
B. Deny all inbound and outbound traffic.
C. Allow inbound, deny outbound.
D. Deny inbound, allow outbound.

21 How are rules evaluated in a Network ACL?

A. All rules are evaluated simultaneously.
B. By rule number, from lowest to highest, stopping at the first match.
C. By rule number, from highest to lowest.
D. Alphabetically by rule description.

22 What is required to allow instances in a private subnet to access S3 without traffic traversing the public internet?

A. NAT Gateway
B. Internet Gateway
C. VPC Endpoint (Gateway or Interface)
D. VPN Connection

23 Which of the following is a valid destination in a Route Table?

A. Specific Security Group ID
B. Peering Connection ID (pcx-xxxxx)
C. IAM Role ARN
D. S3 Bucket Name

24 When using AWS Direct Connect, what logical component allows you to access VPCs in multiple regions from a single Direct Connect connection?

A. Direct Connect Gateway
B. Virtual Private Gateway
C. Public VIF
D. Private VIF

25 Which Well-Architected Framework pillar emphasizes the use of multiple Availability Zones to withstand failures?

A. Cost Optimization
B. Performance Efficiency
C. Reliability
D. Security

26 How many IP addresses does AWS reserve in every subnet for internal networking purposes?

A. 1
B. 2
C. 3
D. 5

27 You have a stateful firewall requirement for your EC2 instances. Which feature provides this?

A. Network ACLs
B. Security Groups
C. Route Tables
D. Flow Logs

28 Can a single VPC Peering connection connect three VPCs (A, B, and C) simultaneously?

A. Yes, peering is a multi-party protocol.
B. No, peering is a one-to-one connection between two specific VPCs.
C. Yes, if they are in the same region.
D. Yes, if Transit Gateway is used.

29 Which networking feature enables IPv6 traffic from a private subnet to the internet but prevents internet initiation of connections?

A. NAT Gateway
B. Egress-Only Internet Gateway
C. Internet Gateway
D. Private Link

30 What is the primary function of a Route Table?

A. It acts as a firewall.
B. It assigns IP addresses to instances.
C. It contains a set of rules, called routes, that determine where network traffic is directed.
D. It encrypts traffic between subnets.

31 If you need to connect 100 VPCs in a full mesh topology, which solution offers the easiest management?

A. VPC Peering
B. VPN CloudHub
C. AWS Transit Gateway
D. Public Internet Routing

32 What is the default limit for the number of Security Groups per VPC?

A. 50
B. 100
C. 500
D. Unlimited

33 When configuring a security group rule, what can be specified as the source?

A. CIDR block or another Security Group ID
B. DNS Name
C. MAC Address
D. AMI ID

34 Which VPN option allows for a redundant connection using the BGP protocol for dynamic routing?

A. AWS Client VPN
B. Static Site-to-Site VPN
C. Dynamic Site-to-Site VPN
D. SSL VPN

35 To use a NAT Gateway, in which type of subnet must it be deployed?

A. Private Subnet
B. Public Subnet
C. VPN Subnet
D. Isolated Subnet

36 What happens to the Elastic IP (EIP) associated with a NAT Gateway if the gateway is deleted?

A. The EIP is deleted automatically.
B. The EIP remains allocated to your account but disassociated.
C. The EIP is transferred to the default VPC.
D. The EIP is blocked for 24 hours.

37 Which Direct Connect component is a logical interface used to access public AWS services (like S3) without using the internet?

A. Private Virtual Interface (VIF)
B. Public Virtual Interface (VIF)
C. Transit Virtual Interface (VIF)
D. Cross Connect

38 Which of the following creates a VPN connection between remote users (laptops/phones) and an AWS VPC?

A. AWS Site-to-Site VPN
B. AWS Client VPN
C. AWS Direct Connect
D. AWS Transit Gateway

39 In a VPC, does a custom Route Table come with any routes by default?

A. No, it is empty.
B. Yes, a route to the Internet Gateway.
C. Yes, a local route for communication within the VPC.
D. Yes, a route to the NAT Gateway.

40 Which tool in the AWS Network Manager helps you identify unintended network access to your resources?

A. VPC Reachability Analyzer
B. Network Access Analyzer
C. Route Analyzer
D. Traffic Mirroring

41 If you need to increase bandwidth for Direct Connect, what feature allows you to bundle multiple connections?

A. Link Aggregation Group (LAG)
B. Elastic Network Adapter (ENA)
C. VPC Peering
D. Transit Gateway

42 What is the 'Implicit Deny' rule in Security Groups?

A. It explicitly lists blocked IPs.
B. If there is no rule explicitly allowing traffic, it is denied.
C. It blocks all internal VPC traffic.
D. It blocks traffic from the root account.

43 Which DNS setting must be enabled in the VPC for Interface Endpoints to work via private DNS names?

A. DNS Resolution and DNS Hostnames
B. DHCP Options Set
C. Route Propagation
D. ClassicLink DNS

44 Can a subnet function as both Public and Private simultaneously?

A. Yes, if it has two route tables.
B. No, routing is determined by the single route table associated with the subnet.
C. Yes, if it uses IPv6.
D. No, but it can be in two Availability Zones.

45 Which architecture pattern involves a central VPC containing shared services (logging, security tools) that other VPCs peer with?

A. Hub and Spoke
B. Full Mesh
C. Daisy Chain
D. Isolated Model

46 When troubleshooting connectivity using VPC Flow Logs, what does a status of 'SKIPDATA' indicate?

A. Traffic was allowed.
B. Traffic was denied.
C. Some flow log records were skipped during the capture window.
D. The log format is invalid.

47 What is the maximum transmission unit (MTU) supported by Jumbo Frames within a VPC?

A. 1500 bytes
B. 9001 bytes
C. 4096 bytes
D. 65535 bytes

48 Which feature enables you to route traffic between your VPC and your on-premises network over a Direct Connect connection using private IP addresses?

A. Public VIF
B. Private VIF
C. Internet Gateway
D. NAT Gateway

49 For a Well-Architected network, how should you handle administrative access to EC2 instances?

A. Open port 22/3389 to 0.0.0.0/0.
B. Use a Bastion Host or AWS Systems Manager Session Manager.
C. Connect via the physical console.
D. Use unencrypted Telnet.

50 What allows a VPC to connect to services hosted by another AWS account (SaaS) securely within the AWS network?

A. AWS PrivateLink
B. VPN Peering
C. Internet Gateway
D. ClassicLink