Courseiva

SCS-C03 · domain

Infrastructure Security

Infrastructure Security on SCS-C03 covers network isolation and encryption in transit across VPC, EC2, and hybrid links. Questions present concrete architectures — ALB-fronted instances, Direct Connect, VPC endpoints, subnet NACLs — and ask you to choose controls that restrict traffic, encrypt data, or grant private access without breaking connectivity.

45 questions8 easy20 medium17 hard

Focused practice

Practice Infrastructure Security questions

Scored sessions drawing only from this domain — pick a length below.

Start 20-question practice test →

What this domain covers

What to know about Infrastructure Security

Be able to design VPC traffic control with security groups, NACLs, and endpoint policies, and encrypt hybrid links. The single most important thing: know which control operates at which layer — instance, subnet, or connection — and whether it is stateful.

Security groups and NACLs: stateful vs stateless rules, subnet-level allow/deny, ephemeral port ranges

ALB and EC2 traffic restriction using security group references as source instead of CIDR blocks

Direct Connect encryption with MACsec or IPsec VPN over the dedicated connection

Interface VPC endpoints and PrivateLink for Systems Manager Session Manager without internet egress

Watch out for

Common Infrastructure Security exam traps

  • ▸Relying only on security groups when the question requires subnet-level deny rules that NACLs provide, or forgetting NACLs are stateless and need both directions.
  • ▸Referencing a load balancer's security group as source in the target group's security group but using the wrong group ID or a CIDR that also matches other clients.
  • ▸Assuming Direct Connect is encrypted by default; MACsec or an IPsec VPN overlay is required for network-layer encryption.

Question index

All Infrastructure Security questions (45)

Click any question to see the full explanation, or start a practice session above.

1

An organization is deploying a multi-tier application. Which TWO of the following configurations are required to ensure that the backend application tier in a private subnet can securely communicate with an RDS database instance while preventing direct internet access?

Hard
2

A security engineer must give an EC2 fleet in a private subnet outbound-only access to a third-party SaaS API at a fixed public IP range, while guaranteeing that no workload can ever initiate an inbound connection from the internet. The instances must not have public IP addresses. Which combination of VPC components should the engineer deploy?

Medium
3

A company hosts a public web application on EC2 instances behind an Application Load Balancer. The security team wants to block known malicious IP addresses and common exploit patterns before requests reach the instances, and wants the ability to add custom rules quickly. Which service should be deployed on the load balancer?

Medium
4

A company hosts a static website on Amazon S3 and uses Amazon CloudFront for content delivery. The security team must ensure that the website is only accessible to users in specific European countries and that users cannot bypass CloudFront to access the S3 bucket directly. Which configuration fulfills these requirements most securely?

Medium
5

A company wants to eliminate the need for managing SSH keys and bastion hosts while still allowing administrators to securely access EC2 instances in private subnets. Which AWS service provides this capability and allows for centralized IAM-based access control?

Easy
6

A security engineer needs to ensure that all EC2 instances are patched against critical vulnerabilities without exposing them to the public internet. Which architecture is most appropriate for this task?

Medium
7

A security engineer must allow an on-premises application to access an Amazon RDS for MySQL database in a private subnet without exposing the database to the internet. The company uses AWS Site-to-Site VPN. The database security group currently allows traffic only from an application security group in the same VPC. The engineer needs the on-premises application to connect on port 3306. Which change should the engineer make?

Hard
8

A security engineer stores database credentials in AWS Secrets Manager. An application running on Amazon EC2 instances in an Auto Scaling group must retrieve the secret at startup without embedding credentials in the AMI. The security team wants to avoid long-lived IAM user access keys and wants retrieval to work even if the secret is rotated. Which approach best meets these requirements?

Hard
9

A company wants to ensure that all Amazon EBS volumes attached to EC2 instances are encrypted at rest. The security engineer needs to enforce this requirement across all accounts in an AWS Organizations organization. Which approach provides the most comprehensive enforcement with the least ongoing effort?

Easy
10

A company is experiencing a high volume of SQL injection attempts against its web application. The application is behind an Application Load Balancer (ALB). The security team wants to block these attacks while ensuring that legitimate traffic containing technical documentation (which may include SQL-like snippets) is not accidentally blocked. What is the best approach?

Medium
11

A security engineer is setting up AWS Systems Manager Session Manager to provide secure shell access to EC2 instances in private subnets without opening inbound SSH ports. The instances are in a VPC with no internet gateway, but they have a NAT gateway for outbound internet access. The engineer wants to avoid using a NAT gateway for Session Manager traffic to reduce cost and improve security. What should the engineer do?

Medium
12

An organization requires that their API Gateway instances only accept requests from a specific private VPC. Which strategy should be used to enforce this network-level constraint?

Hard
13

A security engineer must protect a multi-tier web application hosted in Amazon EC2 instances inside a private subnet. The application requires outbound internet access to download software updates, but malicious actors must never be able to initiate inbound connections to the instances. Which architecture satisfies these requirements securely?

Medium
14

A security engineer is designing a VPC to host a sensitive application. The VPC must have strict network isolation, and all traffic to and from the VPC must be inspected by a centralized security appliance. The engineer plans to use AWS Transit Gateway to connect multiple VPCs. Which TWO configurations are required to ensure that all inter-VPC traffic is inspected by the security appliance? (Choose two.)

Hard
15

A security engineer wants to ensure that all EC2 instances are launched only with approved, encrypted AMIs and that any instance with an unencrypted volume is automatically flagged. Which service is best suited for this continuous compliance monitoring?

Easy
16

A large organization needs to connect its on-premises data center to 50 different VPCs across multiple AWS accounts. The solution must support encrypted transit, centralize outbound internet traffic through a security VPC for inspection, and minimize the number of VPN connections. Which TWO components are essential to this architecture?

Hard
17

A security engineer must restrict access to an Amazon S3 bucket so that only requests originating from a specific VPC are permitted. Which policy approach should be implemented to ensure this constraint is enforced effectively?

Medium
18

A security engineer is configuring AWS Network Firewall to protect a VPC. They need to implement a rule that inspects the 'Host' header of HTTP traffic to block specific unauthorized domains. Which type of rule group should be used?

Medium
19

A security engineer is tasked with restricting access to Amazon S3 and Amazon DynamoDB so that traffic never leaves the AWS private network. Which TWO types of VPC endpoints should be used to achieve this for these specific services? (Select TWO.)

Medium
20

A company needs to log all DNS queries made by EC2 instances within their VPC to identify potential data exfiltration via DNS tunneling. Which feature should the security engineer enable?

Medium
21

A company is evaluating AWS Shield to protect its public-facing web applications from Distributed Denial of Service (DDoS) attacks. Which TWO features are provided exclusively by AWS Shield Advanced that are not available in the Standard tier?

Medium
22

A company stores sensitive objects in an Amazon S3 bucket. A security engineer must ensure that objects are encrypted at rest with a customer managed AWS KMS key and that the bucket rejects any PUT request that does not specify that key. Which combination of settings should the engineer use?

Easy
23

A security engineer is configuring AWS Network Firewall to protect a VPC that hosts a web application. The engineer wants to inspect and control traffic flowing between the public subnets and the private application subnets, and must ensure that the firewall is actually in the data path. Which TWO actions must the engineer take? (Choose two.)

Medium
24

A security engineer must ensure that data stored on Amazon EBS volumes attached to production EC2 instances is encrypted at rest with a customer managed AWS KMS key rather than the default AWS managed key. New volumes are created from snapshots and from AMIs. Which action most directly enforces this requirement?

Easy
25

A company is designing a hub-and-spoke network architecture using AWS Transit Gateway. They want to centralize inbound and outbound internet traffic inspection using a fleet of firewalls in a dedicated 'Security VPC'. Which TWO steps are required to ensure traffic is correctly routed for inspection? (Select TWO.)

Hard
26

An application is experiencing unauthorized access via an Elastic Load Balancer (ELB). The security team wants to restrict access so that only requests originating from a specific CloudFront distribution are accepted. How should this be implemented?

Hard
27

A security team runs a containerized workload on Amazon ECS with AWS Fargate tasks in private subnets. They must ensure that task credentials are never exposed to the application code and that the container image cannot reach untrusted registries. Which configuration best satisfies both requirements?

Hard
28

A company requires all outbound internet traffic from its VPC to be inspected by a fleet of third-party firewall appliances. The solution must scale horizontally and ensure that traffic is symmetric, meaning requests and responses pass through the same firewall instance. Which architecture should the security engineer implement?

Hard
29

Which service should be used to protect a web application hosted on an Application Load Balancer from Layer 7 DDoS attacks and common web exploits like SQL injection?

Easy
30

A security engineer is hardening an Amazon VPC environment. To achieve defense-in-depth, the engineer needs to implement network filtering mechanisms that apply stateful inspection at the instance level and stateless inspection at the subnet boundary. Which TWO AWS features should the engineer configure to meet these requirements? (Choose two)

Hard
31

A security engineer is building a two-tier web application in a VPC. The public-facing Application Load Balancer (ALB) must only accept TCP 443 from the internet, and the backend Amazon EC2 instances must only accept TCP 443 from the ALB. The engineer has already created a security group for the ALB that allows 0.0.0.0/0 on port 443. Which configuration should the engineer use for the EC2 instances' security group to meet these requirements with the LEAST administrative overhead?

Hard
32

A security engineer is deploying a web application on Amazon EC2 instances behind an Application Load Balancer. The engineer must ensure that the application servers accept traffic only from the load balancer and that clients cannot bypass the load balancer by connecting directly to the instances. The instances are in private subnets. Which configuration should the engineer use?

Hard
33

A security engineer is deploying a VPC endpoint for AWS Systems Manager Session Manager so that administrators can start shell sessions on EC2 instances in private subnets without internet access. Instances must reach the SSM service endpoints but must never be reachable from the internet. Which combination of configuration steps will meet these requirements?

Medium
34

A security engineer manages a VPC with three subnets. Web servers run in subnet A, and a database cluster runs in subnet B. A network ACL on subnet B currently has only the default allow-all rule. The engineer needs to permit database traffic only from the web tier while blocking all other sources, including other subnets in the same VPC. Which approach meets the requirement?

Hard
35

A security engineer must ensure that an Amazon RDS for MySQL database in a private subnet is reachable only from a specific application tier and that all connections are encrypted in transit. The application tier runs on EC2 instances in a different subnet of the same VPC. Which configuration achieves both goals?

Hard
36

A security engineer is hardening a VPC that hosts a public Application Load Balancer in front of EC2 web servers. The engineer must ensure that instances can only accept traffic from the load balancer and that instance metadata cannot be retrieved by server-side request forgery attacks from the application. Which change accomplishes both goals?

Medium
37

A security engineer must monitor and record all rejected TCP connection attempts to a fleet of EC2 instances within a private subnet. The logs must be stored in a durable manner for three years to meet regulatory compliance. Which solution meets these requirements with the least operational overhead?

Medium
38

Which THREE actions are essential to harden an Amazon EC2 Linux instance against unauthorized SSH access?

Hard
39

A security engineer is deploying a three-tier application on Amazon EC2 instances in a VPC. The database tier must be reachable only by the application tier, and the application tier must be reachable only by the web tier. All tiers are in separate subnets within the same VPC. The security engineer needs to enforce these restrictions with the least operational overhead. Which solution should the security engineer implement?

Medium
40

Refer to the exhibit. A user is attempting to connect to a web server from the IP address 203.0.113.5 on port 80. Based on the provided Network ACL and Security Group configurations, what will be the result of this connection attempt?

Medium
41

A security engineer needs to protect an internal Application Load Balancer that fronts a microservices application so that only requests carrying a valid client certificate issued by the company's internal certificate authority are accepted. The engineer wants to enforce this at the load balancer without modifying application code. What should the engineer configure?

Easy
42

A company is migrating to a multi-VPC architecture. To ensure secure cross-VPC communication, the company wants to use a Transit Gateway. What is the most appropriate configuration to minimize the risk of unauthorized lateral movement?

Medium
43

A financial services company is concerned about large-scale DDoS attacks affecting its public-facing DNS and web applications. Which TWO AWS services or features provide automatic protection or mitigation against Layer 3, Layer 4, and Layer 7 DDoS attacks? (Select TWO.)

Medium
44

A company stores credentials used by an on-premises application to call AWS APIs. The security engineer wants the credentials to be rotated automatically at a defined interval without any application code change, and the credentials must never be stored in the application's configuration files. Which solution meets these requirements with the least operational effort?

Easy
45

An organization is using AWS Direct Connect to link their on-premises data center to their AWS VPC. They have a strict requirement that all data in transit over the Direct Connect link must be encrypted at the network layer. Which solution should they implement?

Hard

Frequently asked questions

What does the Infrastructure Security domain cover on the SCS-C03 exam?
Be able to design VPC traffic control with security groups, NACLs, and endpoint policies, and encrypt hybrid links. The single most important thing: know which control operates at which layer — instance, subnet, or connection — and whether it is stateful.
How many questions are in this domain?
This page lists all 45 Infrastructure Security questions in the SCS-C03 question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
What is the best way to practise this domain?
Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
Can I practise only Infrastructure Security questions?
Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.
AWS Certified Security - Specialty SCS-C03 Infrastructure Security Practice Questions