AWS CloudOps Engineer Associate · Domain 5 of 5 · 18% of the exam

AWS CloudOps Engineer Associate Domain 5: Networking and Content Delivery

36 free practice questions for Networking and Content Delivery in the AWS Certified CloudOps Engineer – Associate (SOA-C03) exam. Try each question first, then open "Show answer" for the correct option and explanation.

Networking and Content Delivery practice questions

  1. Question 1. Instances in a private subnet can't reach the internet for updates, though a NAT gateway exists. What should be checked first?

    1. The subnet's route table sends 0.0.0.0/0 to the NAT
    2. The instances have Elastic IPs attached
    3. The VPC has DNS hostnames enabled
    4. The NAT gateway is placed in the private subnet
    Show answer

    Answer: A. The subnet's route table sends 0.0.0.0/0 to the NAT

    NAT gateways live in a public subnet, and private subnets need a default route to them.

  2. Question 2. A NAT gateway must be resilient to an AZ failure. What is the recommended design?

    1. One NAT gateway shared by the whole VPC
    2. One NAT gateway per AZ, used by that AZ's subnets
    3. A NAT instance in each private subnet
    4. An internet gateway in each private subnet
    Show answer

    Answer: B. One NAT gateway per AZ, used by that AZ's subnets

    A NAT gateway is zonal. One per AZ avoids cross-AZ dependency and data charges.

  3. Question 3. Which feature records accepted and rejected IP traffic for network interfaces in a VPC?

    1. CloudTrail data events
    2. AWS Config configuration items
    3. ALB access logs
    4. VPC Flow Logs
    Show answer

    Answer: D. VPC Flow Logs

    Flow Logs capture traffic metadata and can go to CloudWatch Logs, S3, or Firehose.

  4. Question 4. Flow Logs show traffic rejected on the return path, though the security group allows it inbound. What is the likely cause?

    1. The security group is stateful and blocks returns
    2. The route table lacks a local route
    3. A network ACL that blocks the ephemeral ports for return traffic
    4. DNS resolution is disabled
    Show answer

    Answer: C. A network ACL that blocks the ephemeral ports for return traffic

    Network ACLs are stateless, so return traffic on ephemeral ports must be allowed explicitly.

  5. Question 5. Which statement about security groups and network ACLs is correct?

    1. Both are stateless and support deny rules
    2. Security groups apply to subnets; NACLs apply to instances
    3. NACLs evaluate all rules; security groups evaluate rules in order
    4. Security groups are stateful and allow-only; NACLs are stateless with allow and deny rules
    Show answer

    Answer: D. Security groups are stateful and allow-only; NACLs are stateless with allow and deny rules

    NACL rules are evaluated in number order, and the first match wins.

  6. Question 6. Which tool checks whether one resource can reach another based on route tables, security groups, and NACLs?

    1. VPC Reachability Analyzer
    2. AWS Trusted Advisor
    3. CloudWatch Synthetics
    4. AWS Config advanced queries
    Show answer

    Answer: A. VPC Reachability Analyzer

    Reachability Analyzer traces the configured path without sending traffic and shows the blocking component.

  7. Question 7. Which tool finds unintended network access paths into VPCs, such as ports open to the internet?

    1. VPC Reachability Analyzer only
    2. IAM Access Analyzer
    3. Network Access Analyzer
    4. AWS Budgets
    Show answer

    Answer: C. Network Access Analyzer

    Network Access Analyzer checks network paths against access scopes you define.

  8. Question 8. Many VPCs in different accounts need to connect to each other and to on-premises networks. What simplifies routing?

    1. Full-mesh VPC peering
    2. An internet gateway per VPC
    3. AWS Transit Gateway
    4. A NAT gateway per VPC
    Show answer

    Answer: C. AWS Transit Gateway

    Transit Gateway is a regional hub, avoiding a large mesh of peering connections.

  9. Question 9. VPC peering is set up but instances can't communicate. What is commonly missing?

    1. An internet gateway attached to each VPC
    2. A NAT gateway in each of the two VPCs
    3. A Transit Gateway attachment in each VPC
    4. Routes to the peer CIDR, and security group rules
    Show answer

    Answer: D. Routes to the peer CIDR, and security group rules

    Peering needs routes in both VPCs. Overlapping CIDRs aren't allowed.

  10. Question 10. EC2 instances must reach S3 without internet access and without NAT data processing charges. What should be used?

    1. A gateway VPC endpoint for S3
    2. An interface endpoint for EC2
    3. A public subnet for the instances
    4. An egress-only internet gateway
    Show answer

    Answer: A. A gateway VPC endpoint for S3

    Gateway endpoints for S3 and DynamoDB are free and added to route tables.

  11. Question 11. Private instances must call AWS Systems Manager without internet access. What should be created?

    1. A gateway endpoint for Systems Manager
    2. Interface endpoints for ssm, ssmmessages, and ec2messages
    3. An internet gateway in the private subnet
    4. A VPC peering connection to the AWS network
    Show answer

    Answer: B. Interface endpoints for ssm, ssmmessages, and ec2messages

    Interface endpoints use PrivateLink with private IPs in your subnets.

  12. Question 12. A company wants to offer its service privately to other VPCs without peering. What should it use?

    1. A PrivateLink endpoint service behind an NLB
    2. A public ALB with IP allow lists
    3. VPC peering with every consumer VPC
    4. A NAT gateway shared across the VPCs
    Show answer

    Answer: A. A PrivateLink endpoint service behind an NLB

    Consumers create interface endpoints to the endpoint service, and CIDRs can overlap.

  13. Question 13. Hosts in a VPC must resolve names in an on-premises DNS domain. What should be configured?

    1. A Route 53 public hosted zone for the domain
    2. An inbound endpoint only
    3. DHCP options pointing to 8.8.8.8
    4. A Route 53 Resolver outbound endpoint with a forwarding rule
    Show answer

    Answer: D. A Route 53 Resolver outbound endpoint with a forwarding rule

    Outbound endpoints forward queries for chosen domains to on-premises DNS servers.

  14. Question 14. On-premises servers must resolve records in a Route 53 private hosted zone. What should be configured?

    1. An outbound endpoint only
    2. A Route 53 Resolver inbound endpoint
    3. A public hosted zone with the same name
    4. A VPC peering connection
    Show answer

    Answer: B. A Route 53 Resolver inbound endpoint

    On-premises DNS servers forward queries to the inbound endpoint's IP addresses in the VPC.

  15. Question 15. A private hosted zone doesn't resolve from instances in a VPC. What should be checked?

    1. The zone has a public NS record for the domain
    2. The VPC has an internet gateway attached
    3. The instances have public IP addresses
    4. The zone is associated with the VPC, with DNS enabled
    Show answer

    Answer: D. The zone is associated with the VPC, with DNS enabled

    Private hosted zones only answer queries from associated VPCs with DNS resolution enabled.

  16. Question 16. Which Route 53 feature blocks DNS queries to known malicious domains from a VPC?

    1. Route 53 health checks
    2. Route 53 traffic flow
    3. Route 53 domain registration
    4. Route 53 Resolver DNS Firewall
    Show answer

    Answer: D. Route 53 Resolver DNS Firewall

    DNS Firewall uses domain lists, including AWS managed lists, to block or alert on queries.

  17. Question 17. Which record type lets an apex domain, such as example.com, point to a CloudFront distribution?

    1. A CNAME record at the apex
    2. An MX record
    3. A Route 53 alias record
    4. A TXT record
    Show answer

    Answer: C. A Route 53 alias record

    Alias records work at the zone apex and have no charge for queries to AWS resources.

  18. Question 18. A Route 53 change isn't visible to some users for an hour. What is the likely cause?

    1. The hosted zone was deleted
    2. Route 53 health checks are disabled
    3. The domain was transferred
    4. The previous record's TTL is cached by resolvers
    Show answer

    Answer: D. The previous record's TTL is cached by resolvers

    Lower the TTL before planned changes so caches expire quickly.

  19. Question 19. A company needs a dedicated, consistent private connection from its data center to AWS. What should be used?

    1. AWS Direct Connect
    2. An internet gateway
    3. VPC peering
    4. A NAT gateway
    Show answer

    Answer: A. AWS Direct Connect

    Direct Connect provides private connectivity with consistent performance, often with a VPN as backup.

  20. Question 20. A Direct Connect link must be backed up quickly and cheaply. What is a common approach?

    1. A second VPC peering connection
    2. A NAT gateway in each Region
    3. A Site-to-Site VPN as a backup path
    4. An S3 gateway endpoint in the VPC
    Show answer

    Answer: C. A Site-to-Site VPN as a backup path

    BGP can prefer Direct Connect and fail over to the VPN automatically.

  21. Question 21. A Site-to-Site VPN tunnel goes down regularly when idle. What can keep it up?

    1. Add a NAT gateway to the VPC
    2. Remove one of the two tunnels
    3. Tune dead peer detection or keep traffic flowing
    4. Change the VPC's primary CIDR block
    Show answer

    Answer: C. Tune dead peer detection or keep traffic flowing

    Idle tunnels may be dropped by the customer gateway. Tunnel options control DPD behavior.

  22. Question 22. Which service inspects and filters VPC traffic with stateful rules and intrusion prevention?

    1. Security groups
    2. AWS Network Firewall
    3. Network ACLs
    4. VPC Flow Logs
    Show answer

    Answer: B. AWS Network Firewall

    Network Firewall is deployed in firewall subnets, with routing that sends traffic through it.

  23. Question 23. A static website must be served globally with HTTPS and low latency. What is the standard setup?

    1. A public S3 bucket with website hosting only
    2. An EC2 web server running in each Region
    3. A Network Load Balancer with S3 targets
    4. CloudFront with a private S3 origin using OAC
    Show answer

    Answer: D. CloudFront with a private S3 origin using OAC

    Origin access control keeps the bucket private while CloudFront serves content from edge locations.

  24. Question 24. Updated files in S3 aren't showing on the CloudFront site. What should be done immediately?

    1. Delete and recreate the distribution
    2. Create an invalidation for the changed paths
    3. Enable versioning on the S3 bucket
    4. Change the Region of the S3 origin
    Show answer

    Answer: B. Create an invalidation for the changed paths

    Invalidations remove cached objects. Versioned file names avoid the need for invalidations.

  25. Question 25. CloudFront must add security headers, such as HSTS, to every response. What is the simplest option?

    1. A CloudFront response headers policy
    2. A Lambda@Edge function for every request
    3. An S3 bucket policy
    4. A WAF rate-based rule
    Show answer

    Answer: A. A CloudFront response headers policy

    Response headers policies add or override headers without code.

  26. Question 26. Lightweight URL rewrites must run at the edge for every viewer request at low cost. What fits?

    1. CloudFront Functions
    2. Lambda@Edge on the origin response
    3. An ALB listener rule
    4. Route 53 traffic flow
    Show answer

    Answer: A. CloudFront Functions

    CloudFront Functions run in sub-millisecond time for simple header and URL manipulation.

  27. Question 27. CloudFront access logs are needed to analyze viewer requests. What should be configured?

    1. CloudTrail data events for CloudFront
    2. VPC Flow Logs on the origin
    3. Standard logging to S3 or real-time logs to Kinesis
    4. AWS Config for the distribution
    Show answer

    Answer: C. Standard logging to S3 or real-time logs to Kinesis

    Standard logs deliver files periodically. Real-time logs stream within seconds.

  28. Question 28. Content must be restricted to users in certain countries. What CloudFront feature fits?

    1. Origin shield
    2. Field-level encryption
    3. Price class selection
    4. Geographic restrictions
    Show answer

    Answer: D. Geographic restrictions

    Geo restriction allows or blocks countries based on the viewer's location.

  29. Question 29. An ALB must route /api/* to one target group and /images/* to another. What should be configured?

    1. Two separate ALBs with the same DNS name
    2. Security group rules for each path
    3. Cross-zone load balancing
    4. Listener rules with path-based conditions
    Show answer

    Answer: D. Listener rules with path-based conditions

    ALB listener rules match paths, hosts, headers, and more to choose a target group.

  30. Question 30. A TCP-based service needs a static IP per AZ and very high throughput. Which load balancer fits?

    1. Network Load Balancer
    2. Application Load Balancer
    3. Classic Load Balancer
    4. Gateway Load Balancer
    Show answer

    Answer: A. Network Load Balancer

    NLBs operate at layer 4, support static and Elastic IPs, and handle millions of requests per second.

  31. Question 31. Third-party firewall appliances must inspect all traffic transparently. Which load balancer is designed for this?

    1. Application Load Balancer
    2. Network Load Balancer
    3. Classic Load Balancer
    4. Gateway Load Balancer
    Show answer

    Answer: D. Gateway Load Balancer

    Gateway Load Balancer uses GENEVE to send traffic through appliance fleets.

  32. Question 32. An ALB must redirect all HTTP requests to HTTPS. What should be configured?

    1. An HTTP listener with a redirect action to HTTPS
    2. A security group that blocks port 80
    3. A Route 53 alias to port 443
    4. A WAF rule that denies HTTP
    Show answer

    Answer: A. An HTTP listener with a redirect action to HTTPS

    The redirect action returns a 301 to the HTTPS URL.

  33. Question 33. A VPC is running out of IP addresses for new subnets. What can be done?

    1. Add a secondary IPv4 CIDR block to the VPC
    2. Resize the primary CIDR in place
    3. Delete the route table
    4. Move the VPC to another Region
    Show answer

    Answer: A. Add a secondary IPv4 CIDR block to the VPC

    VPCs can have additional CIDR blocks, which new subnets can use.

  34. Question 34. Which feature lets IPv6-only instances initiate outbound internet connections while blocking inbound connections?

    1. A NAT gateway for IPv4
    2. A gateway VPC endpoint
    3. An egress-only internet gateway
    4. A virtual private gateway
    Show answer

    Answer: C. An egress-only internet gateway

    Egress-only internet gateways are the IPv6 equivalent of NAT for outbound traffic.

  35. Question 35. Which tool monitors network performance between AWS Regions and Availability Zones?

    1. AWS Trusted Advisor performance checks
    2. Network Manager Infrastructure Performance
    3. Amazon Inspector network findings
    4. AWS Artifact compliance reports
    Show answer

    Answer: B. Network Manager Infrastructure Performance

    Infrastructure Performance shows latency between Regions and AZs, which helps tell AWS issues from application issues.

  36. Question 36. Multiple VPCs in an organization need to share subnets from a central networking account. What fits?

    1. VPC peering with every account in the org
    2. Copying the VPC into each account by hand
    3. VPC sharing with AWS Resource Access Manager
    4. A NAT gateway deployed per account
    Show answer

    Answer: C. VPC sharing with AWS Resource Access Manager

    RAM shares subnets so participant accounts launch resources into a centrally managed VPC.

AWS, Amazon Web Services, and AWS Certified are trademarks of Amazon.com, Inc. or its affiliates. These questions are original study material, not questions from the real exam.