SCS-C03 · Domain 5: Data Protection · 18% of the exam
Task 5.1: Design and implement controls for data in transit
Protecting data on the wire: requiring TLS through load balancer security policies and policy conditions, private paths with PrivateLink, VPC endpoints, Client VPN and Verified Access, and encryption between nodes inside EMR, EKS, SageMaker AI and Nitro instances.
Study it
Requiring TLS: load balancer security policies and policy conditions
Lesson coming
Private access: VPC endpoints, PrivateLink, Client VPN and Verified Access
Encryption between nodes: EMR, EKS, SageMaker AI and Nitro
Lesson coming
Sample questions
Try each one before opening the answer. Every option is explained, with the AWS documentation page that proves it.
Question 1 · choose 1
A bucket holds payment files that are read and written by applications in several AWS accounts. A new standard requires that every request to the bucket, from any principal, uses HTTPS with TLS 1.2 or later. What should the security team implement?
ATurn on S3 Block Public Access settings for the bucket and the account
BSet default encryption to SSE-KMS with a customer managed key and S3 Bucket Keys
CAttach an SCP that denies S3 actions whenever aws:SecureTransport is false
DBucket policy denies if aws:SecureTransport is false or s3:TlsVersion is below 1.2
Show the answer and why
ATurn on S3 Block Public Access settings for the bucket and the account
Incorrect
Block Public Access limits public grants. It does not control which protocol or TLS version a request uses.
BSet default encryption to SSE-KMS with a customer managed key and S3 Bucket Keys
Incorrect
Default encryption protects objects at rest. It says nothing about how requests travel to the bucket.
CAttach an SCP that denies S3 actions whenever aws:SecureTransport is false
Incorrect
An SCP applies only to principals in the organization's member accounts, not to every principal that can reach the bucket.
DBucket policy denies if aws:SecureTransport is false or s3:TlsVersion is below 1.2
Correct
The bucket policy applies to every request to the bucket; one deny blocks plain HTTP and the other blocks TLS versions older than 1.2.
Enforce transport rules where every request is evaluated: the bucket policy. aws:SecureTransport rules out HTTP, and s3:TlsVersion sets the minimum TLS version.
A team created an Application Load Balancer with an HTTPS listener through CloudFormation, giving only the protocol, port and ACM certificate. A security scan reports that the listener accepts TLS 1.0 connections. The standard requires TLS 1.2 or later. What explains the finding, and what fixes it?
ARequest a new ACM certificate, because the current one was issued for TLS 1.0
BSet SslPolicy to a TLS13-1-2 policy; the template's default allows older TLS
CChange the target group protocol from HTTP to HTTPS so that TLS 1.2 is used end to end
DAssociate an AWS WAF web ACL with a rule that blocks requests that use TLS 1.0
Show the answer and why
ARequest a new ACM certificate, because the current one was issued for TLS 1.0
Incorrect
A certificate does not decide which TLS versions a listener accepts; the listener's security policy does.
BSet SslPolicy to a TLS13-1-2 policy; the template's default allows older TLS
Correct
Outside the console the default policy is ELBSecurityPolicy-2016-08, which still allows older protocols. Naming a TLS13-1-2 policy limits clients to TLS 1.2 and 1.3.
CChange the target group protocol from HTTP to HTTPS so that TLS 1.2 is used end to end
Incorrect
The target group protocol governs load balancer to target traffic, not the TLS versions that clients can negotiate with the listener.
DAssociate an AWS WAF web ACL with a rule that blocks requests that use TLS 1.0
Incorrect
The listener's security policy decides which TLS versions are negotiated. Web ACL rules inspect web requests and are not where allowed protocols are set.
The console and the API have different default security policies. Always set the policy explicitly in templates; AWS recommends the TLS 1.3 policies, including the post-quantum ones.
EC2 instances in private subnets with no internet access must upload files to an S3 bucket. The traffic must stay on the AWS network, the endpoint must add no hourly charge, and the bucket must reject any request that does not arrive through that endpoint. Which actions meet these requirements? (Choose TWO.)
AAdd a NAT gateway and a default route to it from the private subnets
BBucket policy that allows only the private subnets' CIDR ranges in aws:SourceIp
CCreate a gateway VPC endpoint for S3 on the private subnets' route tables
DBucket policy that denies requests unless aws:SourceVpce is the endpoint ID
ECreate an interface VPC endpoint for S3 with private DNS turned on
Show the answer and why
AAdd a NAT gateway and a default route to it from the private subnets
Incorrect
A NAT gateway sends traffic to S3's public endpoint and adds hourly and data processing charges.
BBucket policy that allows only the private subnets' CIDR ranges in aws:SourceIp
Incorrect
For requests through a VPC endpoint, aws:SourceIp is not available; VPC-specific keys must be used instead.
CCreate a gateway VPC endpoint for S3 on the private subnets' route tables
Correct
A gateway endpoint adds a route to S3 through a prefix list, and there is no additional charge for gateway endpoints.
DBucket policy that denies requests unless aws:SourceVpce is the endpoint ID
Correct
aws:SourceVpce names the endpoint the request came through, so the deny blocks every other path.
ECreate an interface VPC endpoint for S3 with private DNS turned on
Incorrect
Interface endpoints are billed per hour and per GB, which the requirement rules out.
Gateway endpoints are free and route by prefix list. Lock the bucket to the endpoint with aws:SourceVpce, and remember that this also blocks console access that does not come through the endpoint.
A tightly coupled simulation runs on Hpc7a instances that exchange data constantly. Security requires that this traffic is encrypted in transit, with no application changes and no loss of network performance. Which deployment keeps the instances' automatic encryption in effect?
AInstances in the same VPC that communicate directly with each other
BInstances in two VPCs connected through a transit gateway
CInstances in the same VPC that send traffic through a Network Load Balancer
DInstances of any instance type placed in the same Availability Zone
Show the answer and why
AInstances in the same VPC that communicate directly with each other
Correct
Supported Nitro instance types encrypt traffic between instances in the same VPC or peered VPCs, with no impact on network performance.
BInstances in two VPCs connected through a transit gateway
Incorrect
Automatic encryption between instances does not apply when traffic passes through a transit gateway.
CInstances in the same VPC that send traffic through a Network Load Balancer
Incorrect
Traffic that passes through a load balancer is not covered by the automatic encryption between instances.
DInstances of any instance type placed in the same Availability Zone
Incorrect
Only listed instance types encrypt traffic between instances; the Availability Zone does not decide it.
Nitro-based in-transit encryption has three conditions: supported instance types, the same Region, and the same or peered VPCs with no virtual network device in the path.
A branch office without Direct Connect must reach a VPC over an encrypted connection across the internet, using its existing router. What should the team set up?
AVPC peering between the office and the VPC
BA Site-to-Site VPN connection using IPsec
CA NAT gateway in the VPC
DAn internet gateway with an open security group
Show the answer and why
AVPC peering between the office and the VPC
Incorrect
VPC peering connects VPCs, not on-premises networks.
BA Site-to-Site VPN connection using IPsec
Correct
Site-to-Site VPN supports IPsec VPN connections between your network and your VPC.
CA NAT gateway in the VPC
Incorrect
NAT gives private resources outbound access; it is not a site link.
DAn internet gateway with an open security group
Incorrect
That exposes resources to the internet without encryption.
Each Site-to-Site VPN connection has two tunnels for redundancy.
Partners upload files to the company with plain FTP today. The company wants a managed service that receives the files into Amazon S3 over an encrypted protocol. What should it use?
AAWS Transfer Family with an SFTP endpoint
BAWS Transfer Family with an FTP endpoint only
CS3 Transfer Acceleration on the bucket
DAn EC2 instance running an FTP server
Show the answer and why
AAWS Transfer Family with an SFTP endpoint
Correct
Transfer Family is a managed service for file transfers over SFTP and other protocols directly into AWS storage.
BAWS Transfer Family with an FTP endpoint only
Incorrect
FTP sends data and credentials unencrypted.
CS3 Transfer Acceleration on the bucket
Incorrect
Acceleration speeds up uploads; partners would still need S3 access and tools.
DAn EC2 instance running an FTP server
Incorrect
That is self-managed and still unencrypted.
Transfer Family also supports FTPS and AS2 when partners need those protocols.
A data science team runs a distributed Amazon SageMaker AI training job on four ML compute instances in a private VPC. A compliance review requires SageMaker AI to encrypt all communication between those instances during training. What should the team set when it creates the job?
AA KMS key in VolumeKmsKeyId of the job's resource configuration
BEnableNetworkIsolation set to True for the training job
CEnableInterContainerTrafficEncryption set to True for the job
DA KMS key in the job's output data configuration
Show the answer and why
AA KMS key in VolumeKmsKeyId of the job's resource configuration
Incorrect
This key encrypts data on the storage volumes attached to the training instances, which is data at rest.
BEnableNetworkIsolation set to True for the training job
Incorrect
Network isolation blocks the container's other network calls but still allows calls between peers in the cluster; it does not encrypt them.
CEnableInterContainerTrafficEncryption set to True for the job
Correct
This setting encrypts all communications between the ML compute instances in distributed training.
DA KMS key in the job's output data configuration
Incorrect
This key encrypts the model artifacts at rest in Amazon S3.
Inter-container traffic encryption can lengthen training for deep learning jobs that exchange a lot of data, and the VPC security group must allow UDP 500 and ESP between the instances.
A team is choosing an Amazon ElastiCache for Valkey deployment and requires in-transit encryption from day one without managing extra settings. Which statement is correct?
AIn-transit encryption is never available for Valkey
BNode-based clusters encrypt in transit unless turned off
CEncryption at rest also encrypts client traffic
DServerless caches always have in-transit encryption
Show the answer and why
AIn-transit encryption is never available for Valkey
Incorrect
ElastiCache supports TLS for Valkey and Redis OSS.
BNode-based clusters encrypt in transit unless turned off
Incorrect
Node-based clusters encrypt in transit only when you turn it on: set it when you create the replication group, or modify an existing one on Valkey 7.2 or later or Redis OSS 7 or later.
CEncryption at rest also encrypts client traffic
Incorrect
At-rest encryption does not protect data in transit.
DServerless caches always have in-transit encryption
Correct
All Valkey or Redis OSS serverless caches have in-transit encryption enabled.
Clients must connect with TLS once in-transit encryption is on.