Unit 2: Networking and Connectivity in AWS - Practice Quiz

INT364 — Cloud Architecture And Implementation-Ii 50 Questions
0 Correct 0 Wrong 50 Left
0/50

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

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

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

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

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 represent a stateless firewall at the subnet level.
C. They operate at the instance level.
D. They support allow rules only.

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. NAT Gateway
B. Internet Gateway
C. Direct Connect
D. Egress-Only Internet Gateway

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

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

9 Gateway Endpoints currently support which two specific AWS services?

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

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

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

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

A. Customer Gateway
B. Internet Gateway
C. Virtual Private Gateway (VGW)
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 Config
B. Amazon CloudWatch Metrics
C. AWS CloudTrail
D. VPC Flow Logs

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

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

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. Only HTTP outbound traffic is allowed.
D. All outbound traffic is denied.

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

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

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

A. AWS Inspector
B. VPC Flow Logs
C. Traffic Mirroring
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. The peering connection creation fails.
C. The peering connection automatically resolves the overlap using NAT.
D. Only the non-overlapping subnets can communicate.

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

A. Transit Gateway
B. Virtual Private Gateway
C. Internet Gateway
D. Customer 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. Deny inbound, allow outbound.
D. Allow inbound, deny outbound.

21 How are rules evaluated in a Network ACL?

A. By rule number, from highest to lowest.
B. All rules are evaluated simultaneously.
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. VPN Connection
D. VPC Endpoint (Gateway or Interface)

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

A. IAM Role ARN
B. Specific Security Group ID
C. Peering Connection ID (pcx-xxxxx)
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. Public VIF
B. Private VIF
C. Virtual Private Gateway
D. Direct Connect Gateway

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

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

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

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

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

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

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

A. Yes, if they are in the same region.
B. No, peering is a one-to-one connection between two specific VPCs.
C. Yes, peering is a multi-party protocol.
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 contains a set of rules, called routes, that determine where network traffic is directed.
B. It encrypts traffic between subnets.
C. It assigns IP addresses to instances.
D. It acts as a firewall.

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

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

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

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

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

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

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

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

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

A. Private Subnet
B. Isolated Subnet
C. VPN Subnet
D. Public 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 is transferred to the default VPC.
C. The EIP remains allocated to your account but disassociated.
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. Public Virtual Interface (VIF)
B. Private 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. Yes, a local route for communication within the VPC.
B. Yes, a route to the Internet Gateway.
C. No, it is empty.
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. Traffic Mirroring
B. VPC Reachability Analyzer
C. Network Access Analyzer
D. Route 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. Link Aggregation Group (LAG)
D. VPC Peering

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

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

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

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

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

A. Yes, if it has two route tables.
B. No, but it can be in two Availability Zones.
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. Daisy Chain
B. Full Mesh
C. Hub and Spoke
D. Isolated Model

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

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

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

A. 65535 bytes
B. 1500 bytes
C. 4096 bytes
D. 9001 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. Connect via the physical console.
C. Use unencrypted Telnet.
D. Open port 22/3389 to 0.0.0.0/0.

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. AWS PrivateLink
D. Internet Gateway