SAA-C03 practice question 32 of 35
A company is designing a serverless application to process a large number of events within an AWS account. The application saves the events to a data warehouse for further analysis. The application sends incoming events to an Amazon SQS queue. Traffic between the application and the SQS queue must not use public IP addresses.
Full set: 972 questionsDomain Design Secure Architectures
The core requirement is to ensure traffic between an application in a VPC and an Amazon SQS queue does not traverse the public internet. The solution is to use an interface VPC endpoint for Amazon SQS. This creates an Elastic Network Interface (ENI) within your VPC, allowing resources to communicate with the SQS API endpoint using private IP addresses. All traffic remains securely on the AWS global network. To enforce this private-only access, an SQS queue policy can be configured to deny any requests that do not originate from the specified VPC endpoint, effectively blocking all public access.
B. Configure server-side encryption with SQS-managed keys (SSE-SQS). This encrypts data at rest within the queue. It does not address the requirement for private network connectivity (data in transit).
C. Configure AWS Security Token Service (AWS STS) to generate temporary credentials for resources that access the queue. This is an identity and access management best practice for authentication and authorization, but it does not control the network path of the traffic.
D. Configure VPC Flow Logs to detect SQS traffic that leaves the VPC. This is a detective control for monitoring IP traffic. It can report on traffic leaving the VPC but does not prevent it from using public IP addresses.
1. AWS Documentation
Amazon SQS Developer Guide: "Amazon SQS and interface VPC endpoints" - This document explicitly states
"You can connect directly to Amazon SQS API endpoints from within your virtual private cloud (VPC) by using an interface VPC endpoint... When you use an interface VPC endpoint
communication between your VPC and Amazon SQS is conducted entirely within the AWS network."
2. AWS Documentation
Amazon SQS Developer Guide: "Controlling access to Amazon SQS from virtual private clouds" - This guide provides an example policy demonstrating how to restrict access to an SQS queue to only a specific VPC endpoint. The example policy includes a Condition block with the aws:sourceVpce key to enforce this rule.
3. AWS Documentation
Amazon SQS Developer Guide: "Protecting data using server-side encryption (SSE) and AWS KMS" - This page details that SSE-SQS and SSE-KMS are for encrypting the body of a message within an SQS queue
which is encryption at rest
not in transit over a private network.
4. AWS Documentation
Amazon VPC User Guide: "Logging IP traffic using VPC Flow Logs" - This document describes VPC Flow Logs as a feature to "capture information about the IP traffic going to and from network interfaces in your VPC
" confirming its role as a monitoring tool
not a preventative network control.
Keep practicing
Take the free SAA-C03 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other SAA-C03 practice questions
- Question 1A solutions architect is designing the architecture for a two-tier web application. The w…
- Question 2A company has a VPC with multiple private subnets that host multiple applications. The ap…
- Question 3A company has established a new AWS account. The account is newly provisioned and no chan…
- Question 4A company wants a flexible compute solution that includes Amazon EC2 instances and AWS Fa…
- Question 5A company deployed a three-tier web application in a single Availability Zone in the us-e…
- Question 6A company serves its website by using an Auto Scaling group of Amazon EC2 instances in a …
