Unit 2 - Practice Quiz

INT364 50 Questions
0 Correct 0 Wrong 50 Left
0/50

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

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

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

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

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

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

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

A. They support allow rules only.
B. They are stateful.
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. Direct Connect
C. NAT Gateway
D. Egress-Only Internet Gateway

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

A. Transitive routing is supported by default.
B. Transitive routing works only if both VPCs are in the same region.
C. Transitive routing is not supported.
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. AWS Transit Gateway
B. AWS VPN CloudHub
C. AWS Direct Connect
D. VPC Peering

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

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

9 Gateway Endpoints currently support which two specific AWS services?

A. Amazon RDS and Amazon DynamoDB
B. Amazon EC2 and Amazon S3
C. Amazon S3 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. Subnets are region-wide resources.
D. A subnet must reside entirely within one AZ.

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 does not require any physical infrastructure.
B. Direct Connect is always cheaper for low data volumes.
C. Direct Connect uses the public internet for transmission.
D. Direct Connect provides consistent network performance and low latency via a dedicated private connection.

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. Amazon CloudWatch Metrics
C. VPC Flow Logs
D. AWS Config

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

A. Route Table
B. Network Access Control List (NACL)
C. Security Group
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. Only SSH outbound traffic is allowed.
C. All outbound traffic is denied.
D. Only HTTP outbound traffic is allowed.

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

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

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. AWS Inspector
D. VPC Peering

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

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

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

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

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

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

21 How are rules evaluated in a Network ACL?

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

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. S3 Bucket Name
B. Specific Security Group ID
C. Peering Connection ID (pcx-xxxxx)
D. IAM Role ARN

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. Reliability
B. Security
C. Performance Efficiency
D. Cost Optimization

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

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

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

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

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

A. Yes, peering is a multi-party protocol.
B. Yes, if they are in the same region.
C. No, peering is a one-to-one connection between two specific VPCs.
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. Private Link
B. Internet Gateway
C. NAT Gateway
D. Egress-Only Internet Gateway

30 What is the primary function of a Route Table?

A. It assigns IP addresses to instances.
B. It contains a set of rules, called routes, that determine where network traffic is directed.
C. It acts as a firewall.
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. VPN CloudHub
B. Public Internet Routing
C. VPC Peering
D. AWS Transit Gateway

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

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

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

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

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

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

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

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

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

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

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. Transit Virtual Interface (VIF)
C. Cross Connect
D. Public Virtual Interface (VIF)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

A. 4096 bytes
B. 65535 bytes
C. 9001 bytes
D. 1500 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. Internet Gateway
C. Private VIF
D. NAT Gateway

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

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

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

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