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. /28
B. /16
C. /8
D. /24

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

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

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

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

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

A. They represent a stateless firewall at the subnet level.
B. They operate at the instance level.
C. They are stateful.
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. Egress-Only Internet Gateway
B. NAT Gateway
C. Internet Gateway
D. Direct Connect

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

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

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 VPN CloudHub
C. VPC Peering
D. AWS Transit Gateway

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. VPN Endpoint
C. Interface Endpoint
D. Gateway Endpoint

9 Gateway Endpoints currently support which two specific AWS services?

A. Amazon EC2 and Amazon S3
B. Amazon S3 and Amazon DynamoDB
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 must reside entirely within one AZ.
B. Subnets are region-wide resources.
C. A subnet can span multiple AZs.
D. An AZ can only contain one subnet.

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

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

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

A. Direct Connect uses the public internet for transmission.
B. Direct Connect does not require any physical infrastructure.
C. Direct Connect is always cheaper for low data volumes.
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. VPC Flow Logs
D. AWS CloudTrail

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. Internet Gateway
D. Route Table

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

A. Only HTTP outbound traffic is allowed.
B. All outbound traffic is denied.
C. Only SSH outbound traffic is allowed.
D. All 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. One VPC effectively overwrites the other.
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. Virtual Private Gateway
B. Internet Gateway
C. Customer Gateway
D. Transit Gateway

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

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

21 How are rules evaluated in a Network ACL?

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 encrypts traffic between subnets.
D. It contains a set of rules, called routes, that determine where network traffic is directed.

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

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

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

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

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

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

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

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

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

A. Public Subnet
B. Isolated Subnet
C. VPN Subnet
D. Private 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. Public Virtual Interface (VIF)
B. Transit Virtual Interface (VIF)
C. Cross Connect
D. Private Virtual Interface (VIF)

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 Transit Gateway
C. AWS Client VPN
D. AWS Direct Connect

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

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

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

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

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

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

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

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

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

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

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. Full Mesh
B. Hub and Spoke
C. Daisy Chain
D. Isolated Model

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

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

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

A. 9001 bytes
B. 4096 bytes
C. 65535 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. Internet Gateway
B. Public VIF
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. 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. Internet Gateway
B. AWS PrivateLink
C. ClassicLink
D. VPN Peering