Community Q&A
SAA-C03 — frequently asked questions
Community-vetted answers to 693 common questions about this exam, each traced back to a specific practice question.
Questions from real practice questions
Each Q&A comes from a specific question — follow the link for the full analysisAWS Storage Gateway Cached vs Stored Volumes
Why not use Stored Volumes for low latency?
Stored Volumes keep the entire dataset on-premises, violating the 'limited space' constraint and offering no latency advantage over cached volumes for hot data.
Can S3 File Gateway replace block storage apps?
No, S3 File Gateway provides file-level interfaces (NFS/SMB), whereas the question requires block storage (iSCSI) compatibility for existing applications.
Cost-Effective Resilient DynamoDB Architecture
Why is On-Demand capacity not the best choice here?
On-Demand is priced higher per request. For gaming traffic which can be predicted or scaled, Provisioned with Auto Scaling offers significant cost savings.
Can I use DynamoDB Streams for cross-region replication?
Yes, but it requires custom code to handle conflict resolution and replication logic, making it less robust and more complex than managed Global Tables.
Optimizing API Latency with AWS Global Accelerator
Why not use CloudFront for dynamic API acceleration?
CloudFront caches content at edges. For dynamic ERP data that changes frequently, caching provides little benefit and risks serving stale data. Global Accelerator optimizes the network path without caching.
Is Global Accelerator more expensive than Direct Connect?
Yes, per-unit costs vary, but Direct Connect requires dedicated physical lines for each customer, which is prohibitively expensive for a public API. Global Accelerator uses shared AWS infrastructure, making it far more cost-effective for this scenario.
AWS Systems Manager Patching with ALB IP Target Groups
Why doesn't the default Systems Manager patch document work?
It doesn't know about the ALB IP target group registration, so it patches the instance while traffic is still routed to its IP.
Can I just change the target group to Instance type?
While possible, it changes your architecture. The question asks to resolve errors within the current setup, making Automation the direct fix.
Optimize S3 Encryption Costs with Bucket Keys
Why not choose SSE-S3 (Option A) since it's free?
While SSE-S3 is free, the question specifies the company currently uses AWS KMS and wants to optimize THAT cost structure. S3 Bucket Keys allow you to keep the flexibility of KMS (like custom policies) while drastically cutting the per-request cost.
Does S3 Bucket Key affect security or performance?
It maintains the same security level as SSE-KMS but improves performance and reduces latency because S3 doesn't have to wait for a remote KMS API call for every single object upload.
Scaling EC2 Based on SQS Queue Depth
Why not use CPU utilization to scale?
CPU utilization might remain high even if there are no messages, or low if a single message is complex. Queue depth directly reflects the backlog needing processing.
Can ElastiCache solve this delay issue?
No. ElastiCache speeds up database reads. It does not help the processing tier consume messages from SQS faster, which is the stated bottleneck.
EKS IRSA Pod Access Control with IAM Roles
Why is Option A insecure for EKS pod isolation?
Attaching multiple policies to the EC2 instance profile grants all pods on that node access to all associated AWS resources, violating least privilege.
Does IRSA support direct pod-to-IAM attachment?
No. IRSA works by binding a Kubernetes Service Account to an IAM Role, which the pod then assumes via the OIDC provider.
Least Overhead Identity Integration with On-Prem AD
Why not use AWS Managed Microsoft AD?
Managed AD requires replicating directory data and managing a separate Windows Server instance, which creates high operational overhead compared to the lightweight AD Connector proxy.
Can AD Connector be used with IAM Identity Center?
Yes, AD Connector serves as an identity source for IAM Identity Center, allowing you to map on-premises AD groups to AWS permissions sets across multiple accounts.
API Gateway Resource Policy for IP Restriction
Can I use a Security Group to restrict API Gateway?
No, API Gateway is a managed service and does not support Security Groups. You must use Resource Policies or AWS WAF.
What is the difference between Private Integration and Resource Policy?
Private Integration restricts backend connectivity within a VPC, while a Resource Policy restricts who can call the API endpoint from the internet.
AWS Forecast vs SageMaker for Time-Series Prediction
Why is SageMaker not suitable here?
SageMaker requires ML expertise to train models and deploy endpoints, conflicting with the 'no ML experience' requirement.
Is Amazon Forecast still available?
No, it is closed to new customers as of July 2024, but it remains the correct answer for this specific legacy exam question.
Shared Storage for Multi-AZ Web App with Strong Consistency
Can Amazon EBS be shared across multiple Availability Zones?
No, standard EBS volumes are bound to a single AZ. While EBS Multi-Attach allows multiple instances to attach, it is restricted to the same AZ and specific instance families.
Is AWS DataSync suitable for real-time content updates?
No, DataSync is designed for periodic, scheduled data transfers between endpoints. It does not provide the low-latency, continuous synchronization required for frequent web content changes.
Route 53 Latency-Based Routing for High Performance
Why not use Geoproximity for better performance?
Geoproximity uses geographic location and can apply biases, but it doesn't measure real-time network latency. Latency-based routing directly optimizes for the fastest response time.
Should I use CNAME or Alias for ALB?
While the question options use A/CNAME, AWS recommends using Alias records for Application Load Balancers because they are free and resolve to IP addresses dynamically. However, the routing policy is the key exam concept here.
S3 Server-Side Encryption with Customer-Specific KMS Keys
Why doesn't an S3 bucket policy suffice for data isolation?
A bucket policy controls object access (GetObject) but cannot stop a user with KMS permissions from decrypting the data. You must restrict the KMS key usage directly.
Is ACM suitable for encrypting data at rest in S3?
No. ACM manages certificates for TLS/HTTPS (data in transit). For data at rest, use SSE-KMS or SSE-S3.
Handling Inbound Web Traffic for Private EC2 Instances
Why can't I just use a NAT Gateway for inbound traffic?
A NAT Gateway only allows outbound internet traffic from private instances. It does not support unsolicited inbound connections from the internet.
Can an EC2 instance in a private subnet have a public IP?
No, instances in private subnets do not automatically get public IPs. They require a gateway like an ALB to be reachable from the internet.
AWS Fargate Persistent Storage with EFS
Can I mount S3 as a persistent volume in Fargate?
No, S3 is an object store and cannot be mounted as a native filesystem volume in Fargate tasks. You must use EFS or FSx for Windows File Server.
Why is EBS not suitable for Fargate?
EBS volumes are tied to specific EC2 instances. Since Fargate abstracts away the underlying infrastructure and tasks can move between hosts, EBS cannot be reliably attached to Fargate tasks.
AWS Global Accelerator and NLB for TCP/UDP Gaming
Why not use Route 53 Geolocation Routing alone?
Route 53 only resolves DNS names and doesn't optimize the actual network path. Global Accelerator uses AWS's private backbone to reduce latency significantly.
Can Global Accelerator work with Application Load Balancers?
Yes, but for TCP/UDP gaming apps, NLBs are preferred because they handle raw packet traffic better and preserve source IPs without Layer 7 overhead.
FSx for Lustre with Snowball Edge and S3 Integration
Can Snowball Edge write directly to FSx for Lustre?
No. Snowball Edge devices upload data to Amazon S3. FSx for Lustre must be configured as a linked repository pointing to that S3 bucket.
Why is EFS not suitable for this HPC scenario?
Amazon EFS is a general-purpose file system. For HPC workloads requiring sub-millisecond latency and massive throughput, FSx for Lustre is the specialized, high-performance choice.
AWS SCP Deployment for Selective Account Restrictions
Can I attach an SCP to a single IAM role?
No, SCPs apply to Organizations roots, OUs, or member accounts. They do not apply to individual IAM roles or users.
Why is attaching to the Root OU wrong here?
Attaching to the Root applies the policy to ALL accounts in the organization, including the production account, which violates the exclusion requirement.
Route 53 Resolver for Hybrid DNS Resolution
Why can't I just use a Private Hosted Zone?
Private hosted zones store records locally in AWS. They cannot resolve names that reside on your on-premises DNS servers unless you manually replicate them, which defeats the purpose of hybrid integration.
What is the difference between inbound and outbound endpoints?
Outbound endpoints forward queries FROM the VPC TO on-premises. Inbound endpoints allow queries TO come FROM on-premises INTO the VPC. You need outbound here.
ALB Least Outstanding Requests Routing Algorithm
Why is RequestCount not suitable for this scenario?
RequestCount is an aggregate metric for the entire Load Balancer, not individual targets. It cannot tell you which specific EC2 instance is overloaded.
When should I use Least Outstanding Requests over Round Robin?
Use Least Outstanding Requests when request processing times vary significantly or when instances have different capacities, ensuring balanced load distribution.
Monitoring Compute Savings Plans Coverage with AWS Budgets
Why is Option D (Savings Plans Alerts) incorrect?
Savings Plans Alerts only notify about plan expiration and queued purchases. They do not provide notifications for daily coverage or utilization drops.
Does AWS Budgets support Savings Plans coverage tracking?
Yes, you can create a Savings Plans budget in AWS Budgets to track coverage percentage and set thresholds to trigger SNS or email notifications.
Enabling Public Access for Amazon MSK with Operational Efficiency
Can I use an NLB to expose MSK to the internet?
No, MSK is designed to handle client connections directly. Using an NLB adds complexity and cost without providing the necessary functionality for Kafka protocol handling.
Why is creating a new VPC not the best choice?
Creating a new VPC requires additional setup like VPC peering and route table updates, which reduces operational efficiency compared to simply changing the subnet type of the existing cluster.
AWS Transfer Family SFTP Internal Server and Managed Workflows
Why not use S3 Event Notifications instead of Transfer Family managed workflows?
While S3 Event Notifications work, Transfer Family managed workflows provide a tighter integration specifically designed for file transfer events, ensuring immediate and reliable invocation of Lambda functions upon upload.
When should I choose an Internet-Facing vs Internal SFTP server?
Choose Internal when clients connect via private network links (Direct Connect/VPN) to enhance security. Choose Internet-Facing only if clients must access the server over the public internet.
AWS Outposts for On-Premises Hadoop and Spark Processing
Why can't I just use Site-to-Site VPN to connect to on-prem HDFS?
VPN creates network connectivity but does not solve the management complexity or scalability of the Hadoop cluster itself. You still manage the on-prem Hadoop nodes, which contradicts the goal of reducing operational complexity.
Is Amazon EMR on Outposts different from standard Amazon EMR?
Yes, EMR on Outposts runs on dedicated Outposts hardware within your data center, allowing you to use the same EMR APIs and tools but with data staying on-premises and low-latency access.
FSx for NetApp ONTAP Multi-Protocol Access
Why not use S3 File Gateway for least overhead?
S3 File Gateway requires managing a virtual appliance and adds latency. FSx for ONTAP is a fully managed native file system with lower operational overhead for in-region EC2 access.
Does EFS support SMB protocol?
No, Amazon EFS only supports the NFS protocol. It cannot be mounted by Windows instances using SMB.
AWS Lambda for Serverless Microservices in SAA-C03
Is Lambda considered a microservice?
Yes, AWS Lambda allows you to deploy individual functions as independent services, fitting the microservices pattern without container overhead.
Why not use Elastic Beanstalk?
Elastic Beanstalk manages EC2 instances behind the scenes, requiring more operational effort than Lambda's fully managed serverless environment.
AWS Systems Manager Default Host Configuration Management
Why can't I attach two IAM roles to one EC2 instance?
AWS restricts each EC2 instance to a single IAM role/instance profile at any given time. To add permissions, you must replace the role or use a feature like DHCM that handles this automatically.
Does Default Host Configuration affect existing instances?
Yes, when enabled, it automatically registers existing unmanaged EC2 instances in the region as managed instances and attaches the necessary IAM role.
Improve RDS Performance for Real-Time Geospatial Data
Can I use DAX to accelerate RDS PostgreSQL?
No. DAX is exclusively for Amazon DynamoDB. It cannot connect to or cache data from RDS instances.
Why is Multi-AZ not the right answer for performance?
Multi-AZ ensures high availability and failover capability, but it does not increase read/write throughput or reduce latency for application requests.
AWS Storage Gateway Cached vs Stored Volumes
Why can't I use Stored Volumes if I need immediate retrieval?
Stored volumes require the entire dataset to reside on-premises. Since the company is 'running out of storage capacity,' storing everything locally is not feasible without expanding hardware, which violates the migration goal.
Does cached volume incur additional retrieval costs from S3?
No. Data stored in S3 Standard (the default for cached volumes) allows for immediate retrieval at no additional cost beyond standard storage and request fees, unlike Glacier which has retrieval fees and delays.
Cost-Effective Caching for Repeated DB Reads
Why not just add more Aurora read replicas?
Read replicas increase capacity but do not eliminate the overhead of repeated database queries. Caching serves the data directly from memory, which is faster and cheaper for identical requests.
Is ElastiCache always cheaper than Aurora scaling?
For high-frequency identical reads, yes. The cost of a small cache node is usually less than running additional full-sized Aurora instances that still process the same redundant queries.
S3 Multi-Region Access Point and Replication Strategy
Why is bidirectional replication required instead of one-way?
Bidirectional replication ensures that any upload from any region is instantly available everywhere. One-way replication would force users in other regions to upload to the primary region, causing high latency.
Can S3 Multi-Region Access Point handle uploads?
Yes, MRAP supports both read and write operations. It automatically routes write requests to the nearest region, which then replicates the data to other regions.
Optimizing Low-Latency Content Uploads to AWS S3
Can CloudFront be used for uploads instead of Transfer Acceleration?
Standard CloudFront is optimized for caching and delivering content. While it supports POST/PUT methods, it does not provide the same optimized network routing and latency reduction as S3 Transfer Acceleration for uploads.
Why not use regional S3 buckets to reduce distance?
While storing data closer reduces physical distance, S3 Transfer Acceleration optimizes the network path through CloudFront edges, providing better performance than just selecting a nearby region without accelerated routing.
API Gateway Fanout to Multiple Lambda Functions with Filtering?
Why is SNS with SQS queues (option A) not the least-overhead solution?
SNS can filter and fan out, but every Lambda needs an SQS queue and polling, adding components and configuration that EventBridge rules do not require.
Does EventBridge's five-targets-per-rule limit invalidate option B?
No. The limit is per rule, and you can create additional rules to reach more targets while still avoiding SQS queues and polling overhead.
Encrypting Data in Transit for Amazon RDS MySQL
Does enabling IAM database authentication automatically encrypt data in transit?
No. IAM authentication changes how users log in. While it supports SSL/TLS, you must still explicitly configure clients to use the AWS-provided certificates to ensure encryption.
Why not use self-signed certificates for RDS transit encryption?
AWS provisions its own SSL certificates for RDS instances. Using AWS-provided certificates ensures compatibility and trust without the overhead of managing custom CA infrastructure.
Which Load Balancer Provides a Static IP for Client Whitelisting?
Why can't an Application Load Balancer use an Elastic IP address?
ALB nodes use dynamic public IPs, and AWS does not support assigning Elastic IPs to an ALB. That makes ALB unsuitable when clients must whitelist fixed addresses.
Why is a Route 53 A record pointing to an Elastic IP not the answer?
An A record only maps a DNS name to an address; it does not attach that Elastic IP to the ELB. The web service itself still needs a static IP that clients can authorize.
Cross-Account CloudWatch Observability with AWS Organizations
Why can't I just use IAM Roles instead of the CloudFormation template?
While IAM Roles are used under the hood, the CloudFormation template automates the creation and trust relationship configuration across all accounts, ensuring consistency and reducing manual errors.
Does Option B work if I attach an SCP allowing CloudWatch actions?
No. SCPs only define permission boundaries (deny lists). They do not grant permissions or enable the actual data flow and visualization capabilities required for cross-account dashboards.
Blocking Malicious IPs with AWS WAF and CloudFront
Why can't I use Security Groups to block the IP?
Security Groups are stateful virtual firewalls that only support allow rules. You cannot specify a 'deny' rule for a specific IP in a Security Group.
Is WAF better than NACLs for this scenario?
Yes. NACLs operate at the subnet level and are less granular for web traffic analysis. WAF inspects HTTP/S requests and is the designated service for protecting web applications from threats like SQL injection and IP abuse.
AWS Transfer Family with Amazon EFS for Batch Processing
Can AWS Transfer Family integrate with EFS?
Yes, AWS Transfer Family supports mounting to Amazon EFS file systems, allowing users to transfer files directly to EFS volumes.
Why not use S3 instead of EFS for this scenario?
While S3 is highly available, it uses an object API. EFS provides a native POSIX-compliant file system interface, allowing existing batch applications to access files without code modification.
How Do You Add Static IPs and AWS WAF to a Multi-Region HTTP App?
Why can't AWS WAF be attached to a Network Load Balancer in options A and C?
AWS WAF is only supported on Application Load Balancers, CloudFront, API Gateway, and AppSync. An NLB works at layer 4, so it has no HTTP request context for WAF to inspect.
Why doesn't CloudFront meet the static IP address requirement in option D?
CloudFront serves content from large sets of dynamically changing edge IP addresses, so no fixed address can be published. Global Accelerator instead provides two static anycast IPs as a permanent entry point.
S3 Object Lambda for Redacting PII with Least Overhead
Why is S3 Object Lambda better than batch processing?
Object Lambda processes data on-demand during retrieval, eliminating the need for scheduled jobs, EC2 instance management, and storage of duplicate redacted files, thus reducing operational overhead.
Does S3 Object Lambda support random sample access?
Yes, the external provider can request specific objects or ranges from the Object Lambda Access Point just like a standard S3 bucket, allowing them to pick samples as needed while receiving redacted content.
EC2 Instance Recovery with CloudWatch Alarms
Why can't I use Multi-AZ for a single EC2 instance?
AWS EC2 instances are bound to a single Availability Zone. Multi-AZ is supported by managed services like RDS or ElastiCache, not raw EC2 instances. You would need two separate instances and a load balancer to achieve Multi-AZ redundancy.
Does RAID protect against EC2 instance failure?
No. RAID (Redundant Array of Independent Disks) only protects against physical disk failures. If the OS crashes, the application hangs, or the underlying host fails, RAID cannot restore service. CloudWatch alarms are required to detect and recover these states.
Optimizing S3 Storage for Streaming Demand | SAA-C03
Why can't we use Glacier Expedited Retrieval for 10GB files?
Expedited Retrieval is strictly limited to objects up to 250 MB. For larger objects, even Expedited mode cannot guarantee the 1-5 minute retrieval window.
Is S3 Standard-IA cheaper than Glacier for infrequent data?
Glacier is cheaper for storage but incurs high retrieval costs and latency. Standard-IA balances cost and performance for data that needs instant access when requested.
Serverless Docker Container with Temporary Storage
Why not use AWS Lambda for the container?
Lambda is limited to 15-minute executions and has strict storage caps (max 10GB total). It is not suitable for long-running containerized applications or large temporary file processing.
Is EFS considered temporary storage?
EFS is a durable file system, but in this exam context, it acts as the persistent network storage layer for the container's working directory, satisfying the 50GB requirement without managing servers.
Three-Tier MySQL Migration to AWS with PITR
Why is Amazon Aurora MySQL not the best choice for fewest changes?
Aurora is MySQL-compatible but is a different engine, so it may require schema or feature changes. Amazon RDS for MySQL uses the same engine as on-premises MySQL, minimizing changes.
Does Amazon RDS for MySQL support point-in-time recovery?
Yes, RDS for MySQL supports point-in-time recovery to any second within the backup retention period (up to 35 days), so it meets the restore requirement without Aurora.
AWS Storage Gateway Volume vs File Gateway for On-Premises
Why not use File Gateway for researcher file access?
While researchers use files, the prompt specifies 'storage arrays' (block level). File Gateway serves file protocols (NFS/SMB) and doesn't utilize the specific 'cached volume' block-caching mechanism optimized for this hybrid array scenario.
Does DataSync provide real-time access?
No, DataSync is a data transfer service for migration or replication. It does not provide an active, mountable storage endpoint for applications requiring immediate, low-latency read/write access.
How to Optimize EC2 Costs for Production and Nonproduction Instances?
Why not use Reserved Instances for the nonproduction instances?
Nonproduction runs only during weekday business hours, so a one- or three-year Reserved Instance commitment would cover many idle nights and weekends.
Do Compute Savings Plans apply to the Lambda functions in this architecture?
Yes. Compute Savings Plans cover EC2, Lambda, and Fargate usage, so they fit the event-driven Lambda portion as well as the steady EC2 production load.
Running Docker Containers with AWS Fargate ECS EKS
Why can't I use AWS Lambda to run Docker containers?
Lambda supports container images but is designed for short-lived, event-driven functions, not for managing long-running containerized applications or services that require orchestration.
What is the difference between ECS and EKS with Fargate?
Both use Fargate for serverless execution, but ECS is simpler and native to AWS, while EKS provides Kubernetes compatibility for more complex orchestration needs.
Most Cost-Effective EC2 Scaling for Sudden Seasonal Sale Traffic?
Why is CloudFront plus ElastiCache (option C) not the most cost-effective choice?
ElastiCache nodes and CloudFront caching of dynamic content add ongoing cost and complexity, while demand-based Auto Scaling pays only for EC2 capacity actually used during the sale.
Why doesn't stopping half the instances inside an Auto Scaling group (option A) work?
Stopped instances still count toward the group's desired capacity and are treated as unhealthy, so the group replaces them instead of using them as spare scale-out capacity.
Which Caching Layer Fixes Slow RDS Metadata Reads for a Mobile Game?
Why is ElastiCache for Redis chosen over ElastiCache for Memcached here?
Redis supports replication, snapshots and persistence, while Memcached is a pure volatile cache with neither. The question explicitly requires replication and snapshots, so Redis is the only cache option that qualifies.
Why not migrate the RDS metadata to DynamoDB with global tables?
DynamoDB meets the sub-millisecond and replication goals, but it requires re-platforming the relational metadata model and global tables solve multi-Region writes, which this workload does not need. Caching in front of the existing RDS database is faster to deliver and lower risk.
Migrating 80 Offices' 1 PB Data to S3 Within 4 Weeks?
Why is AWS Snowmobile wrong for 80 globally distributed offices?
Snowmobile is designed for 10 PB or more in a single location and was retired by AWS in March 2024, so it cannot serve 80 separate 1 PB sites cost-effectively.
Can AWS Storage Gateway Volume Gateway move 1 PB per office in 4 weeks?
No; at 1–2 Gbps per office, internet transfer cannot move 1 PB within four weeks, and Volume Gateway is not an offline bulk migration tool.
How to Prevent EFS Dataset Modification with IAM Access Control
Why is option C wrong if it also uses IAM to deny ClientWrite?
Option C describes an identity policy attached to the EFS file system, but identity policies attach only to IAM users, groups, or roles. The deny must come from an EFS resource policy (option B).
Does denying elasticfilesystem:ClientWrite still allow the EC2 instances to read the dataset?
Yes. ClientWrite controls write and delete permissions, while ClientMount grants read access when the EFS file system uses IAM authorization with the instance role.
How to Prevent Duplicate Lambda Payments with SQS FIFO?
Why is DynamoDB Streams not sufficient to prevent duplicate payments?
Each stream record appears once, but Lambda stream consumers are at-least-once and can retry a batch, so the same payment could be reprocessed without an idempotency check.
Can an SQS FIFO queue handle millions of payments per day for Lambda?
Yes. Millions per day is low average throughput; FIFO high-throughput mode supports up to 3,000 messages per second per partition with batching, and Lambda scales by message group.
AWS Control Tower Proactive Controls for CloudFormation
Why can't SCPs block CloudFormation stacks with specific IAM policies?
SCPs evaluate API calls at the Organization level and typically cannot parse the complex JSON structures within CloudFormation templates to block specific inline policy definitions.
What is the difference between Proactive and Detective controls?
Proactive controls prevent resource creation if they violate rules, while Detective controls only identify and report non-compliant resources after they have been successfully created.
Amazon Cognito User Pools for API Gateway Authentication
Why not use Identity Pools for user authentication?
Identity Pools provide temporary AWS credentials for accessing AWS services, whereas User Pools handle user registration and sign-in for applications.
Is Lambda Authorizer less efficient than Cognito Authorizer?
Yes, Lambda Authorizers require managing code and incur cold start latency, making them more operationally intensive than the native Cognito integration.
Prevent KMS Key Deletion with EventBridge and SSM Automation
Why can't I use AWS Config to prevent KMS key deletion?
AWS Config evaluates resource state against rules but cannot directly intercept and cancel active API operations like DeleteKey. It is best for compliance checking, not real-time prevention.
Is Lambda required to prevent KMS key deletion?
No, using Lambda adds significant operational overhead for maintenance and error handling. SSM Automation Runbooks are pre-built, managed templates designed exactly for this type of automated remediation.
Cost-Effective Serverless Reporting with AWS Lambda
Why not use EC2 Spot Instances for lower cost?
Spot Instances can be interrupted with short notice. For monthly reports where timing matters, interruptions could cause delays or failures, making Lambda's reliability superior.
Is Lambda too expensive if reports take 10+ minutes total?
Lambda charges per millisecond of execution. Even for multiple reports totaling ~30 minutes, the cost is negligible compared to paying for always-on EC2 or ECS instances.
Preventing Unwanted Image Uploads Without ML Training
Why is SageMaker Autopilot incorrect?
Autopilot creates custom ML models, but the question explicitly forbids training a machine learning model.
Can I use Amazon Comprehend for images?
No, Comprehend is for natural language processing of text, not for analyzing visual content like photos.
Serverless Data Lake to MPP Warehouse Solution
Why is AWS Glue preferred over EMR here?
AWS Glue is fully serverless and managed, fitting the 'serverless wherever possible' constraint better than EMR, which typically involves managing clusters unless EMR Serverless is specified.
What is Amazon Redshift ML?
It allows you to create, train, and deploy machine learning models using standard SQL commands on your Redshift data warehouse without needing other ML tools.
Migrating On-Premises NFS to AWS Cost-Effectively
Why not use EFS Standard-IA for cost savings?
EFS is more expensive than S3. For large-scale archival or infrequent access, S3's lifecycle policies to Glacier are far more cost-effective than EFS IA.
Does File Gateway support NFS?
Yes, Amazon S3 File Gateway provides both NFS (for Linux/macOS) and SMB (for Windows) interfaces, making it ideal for migrating existing file shares.
How to Reduce Lambda Compute Costs While Maintaining Latency?
Why is reserved concurrency (option B) wrong if reserved concurrency is free?
Reserved concurrency only carves a concurrency budget out of the account limit and does not pre-initialize execution environments, so cold-start latency remains and a marketing-event burst can be throttled.
Does increasing Lambda memory really reduce compute cost for CPU-intensive code?
Yes. Lambda allocates vCPU proportionally to memory, so CPU-bound functions finish faster; the shorter GB-second duration often outweighs the higher per-millisecond rate.
Amazon ECR Scan on Push for CVE Scanning
Does ECR Basic Scan detect CVEs?
Yes, ECR Basic Scan detects Common Vulnerabilities and Exposures (CVEs) for Linux-based container images.
Why is S3 + Lambda not the best choice?
It requires building and maintaining custom code (Lambda) and managing event notifications, whereas ECR provides a fully managed, native scanning feature.
How to Invoke a Third-Party HTTP API After an AWS Batch Job Succeeds?
Why is EventBridge Scheduler wrong for triggering on an AWS Batch job SUCCEEDED event?
EventBridge Scheduler only runs on cron or rate schedules; it cannot match service events. You need an EventBridge rule with an event pattern for AWS Batch job state changes.
Can an EventBridge API destination store the third-party username and password?
Yes. The API destination uses a connection resource that holds authorization credentials, including basic auth with a username and password, which EventBridge injects into the HTTP request.
Amazon Managed Grafana VPC Connection for RDS
Why can't I create an AMG workspace inside a VPC?
AMG is a fully managed service that runs outside your account's VPC. It connects to your VPC via PrivateLink interfaces.
Is a Private Link endpoint the same as a VPC endpoint?
Yes, AWS PrivateLink allows you to expose services privately using Interface Endpoints (VPC Endpoints) within your VPC.
Real-time Data Ingestion to S3 using Kinesis
Why not use AWS DataSync for real-time ingestion?
DataSync is optimized for transferring large datasets of file-based data, not for continuous, low-latency real-time ingestion from multiple third-party sources.
Does the application running on EC2 affect the ingestion choice?
No. The EC2 instances host the application, but the data ingestion path is separate. Third-party apps send data directly to Kinesis, bypassing the EC2 instances.
S3 Encryption with Automatic Key Rotation
Why can't I use SSE-S3 for automatic rotation?
SSE-S3 rotates keys automatically, but AWS does not disclose the rotation schedule or allow you to enforce a specific frequency like 'every year'. KMS CMKs allow you to enable explicit annual rotation.
Can I rotate KMS keys with imported material automatically?
No. If you import your own key material into a KMS key, you must manage the rotation manually. Automatic rotation is only supported for KMS keys where AWS generates the key material.
Optimize Aurora PostgreSQL Storage for High Traffic
Why is Aurora Standard storage not cost-effective here?
Aurora Standard charges extra for I/O operations after a free tier. For high-traffic apps, these fees accumulate quickly, making I/O-Optimized cheaper.
Is Provisioned IOPS better for performance?
Provisioned IOPS guarantees latency but doesn't solve the I/O cost issue. Aurora I/O-Optimized provides high performance without per-request fees, fitting the 'cost-effective' requirement.
Amazon EventBridge Input Transformer for Subset Data
Why can't SNS message filtering be used to send only a subset of data?
SNS filtering selects which subscribers receive the message based on attributes, but it forwards the complete, unmodified message body to every matching subscriber.
Is EventBridge better than SQS for this scenario?
Yes, because EventBridge provides native input transformation capabilities out-of-the-box, whereas SQS requires a separate Lambda function to parse and transform messages before forwarding them.
Direct Connect Public VIF vs S3 Interface Endpoint for Cost
Why is a Public VIF cheaper than an S3 Interface Endpoint?
Public VIFs have no hourly configuration fee and typically lower data transfer costs compared to the hourly charge and data processing fees of Interface Endpoints.
Does a Public VIF expose traffic to the internet?
No, traffic to AWS public services via a Public VIF stays on the AWS backbone network and does not traverse the public internet, maintaining security.
AWS Lambda S3 Access Without Internet Traversal
Why isn't a NAT Gateway sufficient here?
A NAT Gateway still sends traffic out to the public internet (or through the NAT appliance's public interface). The question explicitly requires avoiding internet traversal.
Can I use a Transit Gateway for S3 access?
No, Transit Gateway is for inter-VPC or hybrid cloud connectivity. For direct S3 access from a VPC, a Gateway Endpoint is the dedicated and optimized solution.
AWS Global Accelerator for TCP Stream Acceleration
Why not CloudFront for live video streaming?
CloudFront optimizes HTTP/HTTPS traffic. The question specifies TCP acceleration for RTMP, which Global Accelerator handles better via its Anycast IP routing.
Does Global Accelerator support RTMP?
Yes, Global Accelerator supports both TCP and UDP protocols, making it suitable for RTMP streams that require low-latency connection acceleration.
Most Cost-Effective 7-Year Retention for EBS Snapshots?
Why is copying monthly EBS snapshots to S3 Glacier Deep Archive not the best answer?
No native copy exists from EBS snapshot to S3 Glacier; you must create volumes from snapshots, attach them to EC2, and copy files, adding significant admin overhead and delays.
Can Amazon Data Lifecycle Manager automate EBS snapshot archiving?
Yes, DLM lifecycle policies automatically move monthly EBS snapshots to the archive tier and can delete them after the 7-year retention period.
Cost-Effective EFS Cross-Region Replication Solution
Is EFS-to-EFS replication considered an AWS managed service?
Yes, it is a native feature of Amazon EFS that requires no infrastructure management, fitting the definition of an AWS managed service.
Why is AWS Backup not the most cost-effective choice here?
AWS Backup stores snapshots, incurring ongoing storage costs. Native replication maintains a live copy which can be more efficient for continuous availability needs without extra backup tier fees.
AWS Migration: Highly Available Scalable Web App with SQL Database
Why is Option A incorrect if it includes Read Replicas?
Read Replicas help scale read operations but do not provide automatic high availability for write operations or dynamic scaling for the web tier, unlike Auto Scaling Groups.
Does RDS Multi-AZ improve performance?
Multi-AZ primarily improves availability and durability through synchronous replication and automatic failover, not necessarily performance, though it can offload some I/O.
AWS Storage Gateway for On-Premises SMB File Copy
Why can't I use Amazon FSx for Windows File Server?
FSx is designed for cloud workloads. Storage Gateway is specifically built as a hybrid appliance to extend on-premises file servers to AWS object storage seamlessly.
Does Storage Gateway require changing the application code?
No. The application continues to interact with the local gateway instance via standard SMB protocols, unaware that the backend storage is in AWS S3.
How to Proactively Scale an Auto Scaling Group for an Annual Holiday Peak
Why is a CloudWatch CPU alarm not proactive enough for the holiday spike?
A CloudWatch alarm is reactive: it scales only after CPU utilization crosses the threshold, so users may already experience degraded performance during the demand spike.
Does raising the Auto Scaling group's maximum size automatically add capacity before the peak?
No. Raising the maximum is a manual capacity limit change; it does not schedule or trigger additional EC2 instances ahead of the known peak like a recurring scheduled action does.
Amazon Neptune for IT Infrastructure Security Graphs
Why not use Amazon RDS for infrastructure mapping?
RDS is relational. Querying deep dependency chains requires complex recursive SQL joins, which are harder to manage and less efficient than native graph traversal in Neptune.
Is SPARQL required for Neptune?
Neptune supports both Gremlin and SPARQL. SPARQL is ideal for RDF-based graph queries, which are common in semantic web and security ontology contexts.
Cost-Optimized Managed PostgreSQL for Developers
Why isn't Option B better for providing separate databases?
Option B uses provisioned Aurora instances which run 24/7 and incur full hourly costs even when idle. For intermittent use, this is far less cost-effective than Aurora Serverless, which scales to zero.
Does Aurora Serverless support logical separation for multiple developers?
Yes. You can create multiple logical databases within a single Aurora Serverless cluster. Each developer gets their own schema/database namespace, satisfying the 'separate' requirement without needing separate physical instances.
AWS Trusted Advisor RDS Cost Optimization in Organizations
Can the Management Account view Trusted Advisor for member accounts?
Yes, the Management Account can view aggregated Trusted Advisor recommendations for all linked member accounts, providing a centralized view for cost optimization.
Why not use the Idle DB Instances check for high utilization?
The Idle DB Instances check identifies underutilized resources. Since the prompt specifies 'high utilization,' these instances are actively used and thus unsuitable for the 'idle' check, making RI optimization the correct path.
How to design AWS RDS MySQL for high-volume write imports?
Why doesn't ElastiCache solve the high-volume write problem for MySQL?
ElastiCache is an in-memory cache best for repeated read queries; it does not absorb the regular imports and write operations that are overloading the MySQL database.
When should I choose Provisioned IOPS SSD for Amazon RDS?
Choose Provisioned IOPS SSD when the database needs sustained high IOPS, such as write-heavy transactional imports, rather than burst-only General Purpose SSD performance.
Aurora Read Replica for Scalability and Cost
Why can't I use DAX for Aurora?
DAX is a caching service built specifically for Amazon DynamoDB. It cannot connect to or cache data from Amazon Aurora or other RDS databases.
Is a Read Replica more cost-effective than a second cluster?
Yes. A Read Replica shares the same underlying storage infrastructure as the primary instance (in some configurations) or is simply a lighter-weight copy, making it significantly cheaper and faster to provision than a whole new secondary cluster.
Cross-Account IAM Role Trust Policy for AWS
Can I use an IAM Group in a Role's trust policy?
No, IAM Groups cannot be principals in a trust policy. You must use specific Users, Roles, or the entire Account.
Why create the role in Production instead of Development?
Best practice dictates roles reside in the account they grant access to. This simplifies permission management and follows the principle of least privilege.
Automating OS Patching and Vulnerability Scanning with AWS Systems Manager
Why not use AWS Security Hub instead of Amazon Inspector?
Security Hub aggregates findings from other tools like Inspector. It does not perform the initial vulnerability scanning itself, so you still need Inspector to generate the data.
Can AWS Config automate patch installations?
No. AWS Config tracks configuration changes and compliance status. It cannot install patches or updates on instances; that is the role of Systems Manager Patch Manager.
Minimal Downtime DR with Auto Scaling and DynamoDB Global Tables
Why is CloudFormation not suitable for minimal downtime?
CloudFormation creates resources on-demand during a disaster event. The time taken to launch EC2 instances, attach volumes, and start applications introduces significant latency, violating the 'minimal downtime' requirement.
Does DynamoDB Global Table handle failover automatically?
DynamoDB Global Tables replicate data across regions with low latency. However, application-level failover (routing traffic via Route 53) must still be configured manually or via automation to direct users to the active region.
Cost-Effective Private S3 Access via VPC Endpoint
Why is an S3 Interface Endpoint not the best choice here?
While Interface Endpoints provide private access, they incur hourly charges and data processing fees. Since the question asks for the MOST cost-effective solution, the free Gateway Endpoint is superior.
Can a NAT Gateway be used to access S3 privately?
A NAT Gateway allows outbound internet access but does not inherently keep S3 traffic off the public internet. Without a VPC endpoint, traffic would still traverse the public internet unless a specific endpoint is configured.
AWS Account Root User Email and Alternate Contacts Security
Why is an email alias better than a distribution list for the root user?
An alias allows you to hide the actual destination and change the backend recipient without changing the public-facing email address, providing flexibility and security against personnel turnover.
Can I use one distribution list for all alternate contacts?
No, best practice dictates separate distribution lists for Billing, Operations, and Security to ensure segregation of duties and prevent unauthorized access to sensitive data across teams.
Cost-Effective Scalable Ecommerce Architecture with SQS
Why is ElastiCache not suitable for purchase transactions?
ElastiCache is optimized for read-heavy workloads. Purchase transactions involve writes, making cache invalidation complex and inefficient for this use case.
Does RDS Proxy replace the need for SQS?
No. RDS Proxy optimizes database connections, while SQS buffers incoming requests. They solve different bottlenecks: one for DB load, the other for application throughput.
CloudFront Caching and Invalidation for Static Sites
Why isn't Cache-Control private used for caching?
Cache-Control private tells shared caches like CloudFront NOT to cache the object. Since the goal is to improve performance via caching, this option would defeat the purpose.
Does CloudFront ignore S3 Cache-Control headers?
Not entirely. CloudFront uses origin headers unless overridden by Cache Policy settings like Default TTL or Minimum TTL. Invalidation bypasses TTL logic entirely.
Compute Savings Plan and Lambda VPC Configuration for Cost Optimization
Why not use an EC2 Instance Savings Plan?
An EC2 Instance Savings Plan only covers EC2 usage. It does not provide any discount for Lambda functions, which are part of the workload.
Can Lambda access EC2 in private subnets from its service VPC?
No. By default, Lambda runs in a service-managed VPC. To access resources in your VPC, you must explicitly configure the Lambda function's VPC settings.
AWS Budgets Actions for Cost Control with Least Overhead
Can AWS Budgets really stop resources from being launched?
Yes, AWS Budgets supports actions that can trigger IAM policies to deny permissions for launching new resources when a budget threshold is breached.
Why is Cost Anomaly Detection not sufficient for limiting costs?
Cost Anomaly Detection only identifies unusual spending patterns and sends alerts; it does not have the capability to block or restrict further resource creation.
How to Enforce Default EBS Encryption and Block Unencrypted Volumes?
Why is an AWS Config encrypted-volumes rule not sufficient to prevent unencrypted EBS volumes?
AWS Config is detective: it evaluates existing volumes and can trigger remediation, but it does not block the CreateVolume action, so an unencrypted volume can still be created before the rule reacts.
Does EBS encryption by default encrypt existing volumes or only new ones?
Encryption by default applies to newly created EBS volumes and snapshot copies in the Region; it does not retroactively encrypt existing unencrypted volumes or snapshots.
Scalable Real-Time Clickstream Analysis on AWS
Why is Kinesis Data Firehose not the best choice here?
Firehose is for near-real-time delivery to storage. The question requires real-time analysis, which implies immediate processing logic better handled by Streams + Lambda.
Can AWS Glue handle real-time clickstream data?
No, AWS Glue is primarily designed for batch ETL jobs. While it has some streaming capabilities, it is not the standard solution for low-latency real-time analysis compared to Lambda.
S3 Lifecycle Policy for Cost-Optimized Storage
Why not use S3 Standard-IA since it also offers immediate access?
While Standard-IA offers immediate access, S3 Glacier Instant Retrieval has a significantly lower storage cost per GB. For data stored for 4 years, the savings from using Glacier Instant Retrieval outweigh any minor differences in retrieval costs.
Does S3 Glacier Instant Retrieval violate the 'immediately accessible' requirement?
No. Unlike standard Glacier or Glacier Deep Archive, S3 Glacier Instant Retrieval provides millisecond access times, meeting the immediate accessibility requirement while offering lower storage prices.
Single-Instance Fault Tolerance with Auto Scaling
Why can't we use two EC2 instances in different AZs?
Legacy apps often lack session synchronization or database locks needed for concurrent access, so running two instances causes state conflicts.
Does an ASG with min=1 max=1 really provide fault tolerance?
Yes, it ensures that if the single instance fails, AWS automatically launches a new one from the AMI, maintaining service continuity.
AWS Control Tower vs Organizations for Account Management
Why not use AWS Organizations directly?
Organizations manages account structure but does not provide automated security guardrails or blueprints out-of-the-box like Control Tower does.
Is RAM required for central networking?
Yes, RAM allows sharing VPC subnets from a central networking account to workload accounts, reducing the need to manage VPCs in every account.
Cost-Optimized Static Website Hosting with S3 and CloudFront
Why not use ElastiCache for static content?
ElastiCache is for caching dynamic data, not hosting files. It adds cost and complexity without providing the global CDN benefits of CloudFront.
Does CloudFront reduce S3 costs?
Yes, CloudFront reduces data transfer costs and origin requests by caching content at edge locations, lowering the load on your S3 bucket.
Transit Gateway for Multi-VPC Interconnectivity
Why is VPC Peering not suitable for 100+ VPCs?
VPC Peering requires a full mesh of connections for all-to-all communication, leading to O(N^2) complexity and unmanageable route tables.
Does Transit Gateway support transitive routing?
Yes, Transit Gateway allows traffic to flow between any attached VPCs without needing direct peering connections between them.
S3 Access Points for Granular Prefix-Based Access
Why is S3 Batch Operations not the best choice here?
Batch operations manage existing objects but don't provide ongoing, automated access control per application. It also relies on ACLs, which are discouraged.
Does using Access Points increase costs significantly?
Access Points themselves have minimal cost, but you pay for API requests. However, this is far less overhead than managing multiple buckets or object-level permissions.
Granting CloudFormation Access to Private S3 Templates
Why can't I use a VPC Endpoint for CloudFormation?
CloudFormation is a regional service running on AWS infrastructure, not inside your VPC. VPC endpoints only handle traffic originating from within a VPC.
Is a presigned URL secure enough for production?
Yes, for temporary access. It uses signed credentials and expires automatically, ensuring no permanent public access or long-lived secrets are exposed.
Cost-Optimized S3 Lifecycle for Small Files Migration
Why not just use S3 Standard-IA for the first year?
Standard-IA has a higher storage price than Glacier Instant Retrieval for rarely accessed data. More importantly, without grouping, both incur the 128 KB minimum charge, making them equally inefficient for small files.
Does DataSync automatically group small files?
No. DataSync transfers files as they are. To optimize cost for millions of small files, you must pre-process them into larger archives using external tools before or during migration.
Improving EBS Storage Performance with LVM Striping
Why can't I just increase the IOPS on the single volume?
The AWS documentation states that the maximum IOPS for an io1 volume is strictly capped at 64,000, regardless of volume size or cost.
Does LVM striping affect data redundancy?
Standard LVM striping (RAID 0 equivalent) does not provide redundancy; if one volume fails, the striped set is corrupted. It is purely for performance aggregation.
Which API Gateway Type Is Most Cost-Effective for SNS Pub/Sub?
Why is HTTP API cheaper than REST API for SNS pub/sub?
AWS designed HTTP APIs with fewer features and lower per-request pricing; this scenario needs only Lambda invocation and SNS delivery, so those REST-only features add cost without value.
Does option B become correct if the app needs REST-only features?
Yes; REST APIs support API keys, per-client throttling, request validation, AWS WAF, and private endpoints. The question specifies none of those, so HTTP API remains the most cost-effective answer.
IAM Roles for Least Privilege Access Control
Can IAM roles be assigned directly to IAM users?
No. Users must assume the role via the AssumeRole API call. The role provides temporary credentials, whereas users have permanent credentials.
Why is AWS Cognito not suitable for internal developers?
Cognito is built for external end-users of web or mobile applications. Internal employees should use standard IAM identities or federated identity providers like Active Directory.
Cost-Effective Scaling for Monolithic EC2 App
Why isn't creating an AMI (Option B) necessary?
An AMI is a static image. While useful for deployment, the question asks for steps to resolve performance and availability. Using Compute Optimizer (A) and Auto Scaling (E) are the active mechanisms that achieve these goals.
Can you scale vertically with Auto Scaling?
No. Auto Scaling groups manage the number of instances (horizontal scaling). Vertical scaling involves changing the instance type size, which is best guided by tools like AWS Compute Optimizer.
S3 Object Lock Compliance Mode for Data Retention
Why isn't governance mode sufficient for regulatory compliance?
Governance mode allows users with specific IAM permissions to override the retention lock, meaning data could be deleted or modified before the period ends, which violates strict compliance rules.
Does S3 versioning protect against intentional deletion?
No. While versioning keeps previous versions, it does not prevent the deletion of the current version or provide legal holds. An attacker or admin can still delete the active object.
Cost-Optimized ECS Fargate High Availability Strategy
Can Fargate Spot be used for burst traffic if availability is not 100%?
Yes, Fargate Spot is ideal for fault-tolerant, flexible schedule, or stateless batch jobs where interruptions are acceptable.
Does AWS Compute Optimizer automatically scale Fargate tasks?
No, it provides recommendations for vCPU and memory limits; you must adjust task definitions manually or via automation based on its advice.
Securing NLB with Security Groups for Minimal Change
Can AWS WAF be attached directly to an NLB?
No, AWS WAF only works with Application Load Balancers (ALB), API Gateway, and CloudFront distributions, as it operates at Layer 7.
Why is AWS Shield Advanced not the best choice here?
Shield Advanced protects against DDoS attacks (volumetric/protocol), not specific unauthorized IP access attempts. It doesn't filter legitimate traffic from bad IPs selectively like a Security Group.
Least Implementation Effort for Web Portal and Document Extraction
Why isn't Option D (Serverless Migration) the best choice?
Option D requires rewriting the web portal to host on S3/API Gateway and Lambda. This violates the explicit requirement for 'no code changes' and 'minimal implementation effort'.
Can Spot Instances be used for the web portal?
No. Spot Instances are interruptible and cannot guarantee the 100% uptime required by the employee web portal. On-Demand or Reserved Instances are necessary for high availability.
Cross-Account SNS to Lambda Invocation
Why can't I just use an SQS queue?
SQS adds buffering and decoupling, changing the architecture. The question asks for direct invocation via subscription, making direct permissions the simpler, correct path.
Do I need an IAM Role for Lambda?
No. For receiving events from SNS, Lambda uses a Resource Policy (allowing invocation), not an Execution Role (which defines what resources Lambda can access internally).
Design Scalable and HA Web App with Aurora
Why can't Auto Scaling groups span multiple regions?
AWS Auto Scaling Groups are region-specific resources. They manage capacity within a single AWS Region. To scale across regions, you must deploy separate ASGs in each target region.
Is cross-region read replica better for latency?
No. Cross-region read replicas introduce higher network latency compared to local AZ replicas. For reducing read latency in a primary region, local Aurora readers in different AZs are superior.
Least Overhead Secure Storage for Lambda Secrets
Why can't I use Parameter Store for automatic rotation?
Parameter Store does not have native automatic rotation features. Implementing rotation would require writing custom Lambda functions, increasing operational overhead.
Is a Lambda layer necessary if I can just import the SDK?
While you can import the SDK, a Lambda layer centralizes the retrieval logic/code for all functions. This reduces maintenance overhead when updating how secrets are fetched across thousands of functions.
Rightsize Amazon RDS MySQL Read Replica and Primary
Why not resize the primary instance if it's at 60% CPU?
60% CPU is a healthy operating level for a primary database. It indicates the instance is handling its workload efficiently without being overloaded. Right-sizing is typically recommended when usage is consistently above 80-90% or below 20%.
Is it safe to delete the read replica to save costs?
No, because the question explicitly states the company wants to provide enough performance for future growth. Deleting the replica removes the ability to offload read traffic, potentially causing bottlenecks during future peak periods.
Minimizing Cost for Automated S3 Key Rotation
Does AWS automatically rotate SSE-S3 keys?
No, SSE-S3 uses keys managed entirely by S3 and does not expose key rotation details or logs to CloudTrail. You cannot track or control the rotation process.
Why is Option D more expensive than C?
Customer Managed Keys (CMKs) incur a monthly fee of approximately $1 per key regardless of usage, whereas AWS Managed Keys have no monthly fee, only per-API request charges.
AWS DMS Serverless for Dynamic Data Replication
Why is Multi-AZ not the right answer for scaling?
Multi-AZ provides high availability across zones but uses a fixed instance size. It does not automatically scale compute capacity up or down based on data volume.
Can I use EC2 Auto Scaling for DMS instances?
No, DMS replication instances are managed services. You cannot attach them to EC2 Auto Scaling groups. Use DMS Serverless for automatic scaling.
AWS Site-to-Site VPN for Encrypted On-Premises Connectivity
Why doesn't Direct Connect meet the encryption requirement?
Direct Connect provides a private physical connection but traffic is unencrypted by default. You would need to configure MACsec or run a VPN over Direct Connect to achieve encryption.
Can Transit Gateway provide encryption?
Transit Gateway itself is a router and does not encrypt traffic. However, you can attach IPsec VPN devices to it to encrypt traffic, making it a viable but more complex solution than Option C for this specific scenario.
S3 CRR and Encryption for Serverless SQL Analysis
Why can't I just use SSE-S3 for CRR?
SSE-S3 keys are region-specific. If you replicate to another region, the destination region cannot decrypt the data unless the key is shared, which SSE-S3 does not support natively.
Is Athena considered serverless?
Yes, Amazon Athena is a fully serverless, interactive query service that lets you analyze data in S3 using standard SQL without managing infrastructure.
Cost-Optimized Storage for AI Image Workloads
Why not use S3 Glacier Deep Archive for the uploaded images?
Glacier Deep Archive has retrieval times of 12+ hours, which may delay the bi-annual AI training process. Immediate access is preferred for operational workflows.
Is S3 One Zone-IA durable enough for important data?
One Zone-IA stores data in a single Availability Zone. It is less durable than multi-AZ options like Standard-IA but significantly cheaper, suitable here if backups exist elsewhere.
Designing Asynchronous ML Microservices with ECS and SQS
Why not use Lambda for ML models?
Lambda has cold start issues and execution timeouts. Loading 1GB of data repeatedly for irregular traffic makes it slower and less reliable than persistent ECS containers.
Is SQS necessary if we have ALB?
Yes. SQS provides buffering and decoupling. An ALB cannot buffer thousands of concurrent requests effectively if the backend is slow, leading to timeouts.
Aurora Global Database Active-Passive DR Strategy
Why is Option D considered incorrect despite having zero capacity?
Option D sets the ASG capacity to zero, implying no instances are running. For a 30-minute RTO with Aurora Global DB, you need the database infrastructure ready to promote immediately. While global DB is fast, Option A represents the 'Warm Standby' pattern more accurately by keeping minimal resources alive, whereas D might imply a slower start-up sequence or misinterpretation of Pilot Light vs Warm Standby.
Can Aurora Global Database meet a 30-minute RTO?
Yes. Aurora Global Database replicates data asynchronously across regions. Promoting a secondary cluster to primary status typically takes less than a minute, well within the 30-minute limit.
Cost-Optimized Batch Processing and Data Lifecycle in AWS
Why not use Spot Instances to save money on compute?
Spot Instances can be interrupted by AWS at any time. The question explicitly states the batch jobs 'cannot be disrupted,' so only On-Demand or Reserved Instances provide the necessary reliability.
Why is S3 Glacier Deep Archive better than Glacier Instant Retrieval here?
Glacier Instant Retrieval has a 90-day minimum storage duration. Since data transitions out after 30 days, using Instant Retrieval would be inefficient and potentially incur extra fees. Deep Archive is cheaper for long-term retention.
Automating RDS Start/Stop with Least Overhead
Why isn't Systems Manager State Manager the best choice for scheduling?
State Manager is designed for maintaining desired configurations (compliance), not for simple scheduled start/stop events. Using it requires more setup than EventBridge's native scheduling.
Can I use CloudWatch Alarms to stop RDS at night?
No, CloudWatch Alarms trigger on metric thresholds (like CPU usage), not time-based schedules. EventBridge is the correct service for time-based triggers.
Minimizing S3 Data Transfer Costs with Requester Pays
Does Requester Pays reduce the total amount of data transferred?
No, it does not reduce the volume of data transferred. It simply changes the billing entity from the bucket owner to the requester.
Why is Cross-Region Replication incorrect for minimizing owner costs?
Replication triggers cross-region data transfer charges that the source bucket owner must pay, thereby increasing their costs rather than minimizing them.
Mitigating DDoS with AWS WAF and Global Accelerator
Can I attach AWS WAF directly to a Global Accelerator accelerator?
No. Global Accelerator operates at Layer 4 and does not support AWS WAF integration. You must apply WAF to a supported resource like an ALB, API Gateway, or CloudFront distribution.
Why is configuring WAF on the ALB better than using CloudFront?
The question asks for the LEAST implementation effort. Since the ALB is already part of the architecture, adding WAF there requires no new infrastructure deployment, unlike introducing a new CloudFront distribution.
How to Calculate Daily DynamoDB Metrics Without Affecting Provisioned Capacity?
Why does the Athena DynamoDB connector affect provisioned capacity?
It queries the live DynamoDB table directly, so each SQL scan consumes provisioned read capacity units and can slow the customer-facing website.
Does the AWS Glue DynamoDB export connector consume RCUs?
No. It exports a point-in-time-recovery snapshot to Amazon S3, and AWS documents that this export process does not consume the source table's provisioned read capacity.
Client-Side Encryption for Pre-Upload S3 Data Security
Why isn't SSE-KMS the right choice here?
SSE-KMS encrypts data after it arrives at S3. The question requires encryption to happen before the data is stored, which SSE-KMS cannot do.
What if I don't manage my own keys?
Option A specifically requires customer-managed keys. Using client-side encryption with AWS KMS or S3 managed keys would not fit the specific key management constraints implied by the correct answer context.
How to Reduce Software Deployment Latency for Global AWS Outposts?
Why is S3 Transfer Acceleration (C) not the best option for these Outposts downloads?
It shortens the path to the ap-northeast-1 bucket but every server still retrieves all 100 files from that Region, with no edge caching to serve repeated downloads locally.
Why does option A's CloudFront distribution with a CachingDisabled cache policy fail?
Disabling caching means CloudFront never stores the software files at edge locations, so every request returns to ap-northeast-1 and the latency reduction is effectively lost.
Low-Latency Block Storage Multi-AZ Migration
Why not use FSx for Windows File Server for Windows workloads?
FSx for Windows provides SMB/NFS file shares, not block storage. Stock trading apps often require block-level access for performance.
Is EBS Multi-AZ replication the least effort?
No. EBS volumes are single-AZ. Replicating them across AZs requires manual setup or third-party tools, increasing implementation effort significantly.
Which ALB Security Group Rules Enable HTTPS and Port 8443 Health Checks?
Why is option B (allow all outbound to 0.0.0.0/0 on 443) wrong for the ALB security group?
It opens the ALB's egress to the entire internet when the ALB only needs to reach the web application instances. Egress should be scoped to the instances on 443 and 8443, as in options C and E.
Does the ALB security group need an inbound rule from the instance security group, as option D suggests?
No. The instances never initiate connections to the ALB; the ALB initiates both forwarding and health check connections. That inbound rule belongs on the instance security group with the ALB security group as its source.
CloudFront Custom Domain SSL and S3 Origin Access
Why can't I create the CloudFront SSL certificate in eu-west-1?
CloudFront is a global service. For public certificates associated with custom domain names, AWS mandates that they be provisioned in the us-east-1 Region only.
Does Origin Access Control (OAC) support uploads to S3?
Yes. OAC restricts access to the S3 bucket so that only CloudFront can access it. While often used for downloads, it secures the origin for any authorized interaction, including uploads if the application logic permits.
Cost-Effective SQL Queries on Encrypted Parquet in S3
Does Athena support Client-Side Encryption with KMS?
Yes, Athena can query data encrypted with CSE-KMS if the IAM role used by Athena has permission to decrypt the data using the KMS key.
Why is S3 Select not better for this scenario?
S3 Select is optimized for retrieving subsets of data from individual objects, whereas Athena provides a full SQL engine capable of complex aggregations like moving averages across datasets.
Route 53 Routing for Closest EC2 Instances Globally
Why is geolocation routing not the best choice for routing to the closest EC2 instances?
Geolocation routes based on the user's country or continent, not true geographic proximity. It cannot dynamically calculate the closest region as geoproximity does.
Can a Network Load Balancer be used for an internet-facing application?
Yes, NLB supports internet-facing traffic and can distribute across Availability Zones, though ALB is often used for HTTP/HTTPS-specific features.
Secure S3 Access with VPC Endpoint and IAM Conditions
Why can't I just allow specific bucket ARNs in the IAM policy?
Because the scenario states there is a dedicated bucket for each customer, meaning the number of buckets is dynamic. Listing them all in an IAM policy would require constant updates and high operational overhead.
What is the benefit of using a VPC Gateway Endpoint over a NAT Gateway?
A VPC Gateway Endpoint provides a private connection to S3 within the AWS network, avoiding the cost and complexity of NAT Gateways and keeping traffic off the public internet.
Which Load Balancer and Scaling Combo Best Serves a TCP App?
Why is an Application Load Balancer wrong for this TCP application?
ALB listeners only support HTTP, HTTPS and gRPC at Layer 7, so they cannot forward a plain TCP workload. A Network Load Balancer handles TCP at Layer 4 with less per-connection processing.
Does the Auto Scaling group alone satisfy the high availability requirement?
No. Spreading instances across two AZs helps, but the app still needs a single resilient entry point. The NLB provides healthy-target routing across both AZs as capacity changes.
Reduce EC2 Data Transfer Costs in Batch Processing
Is data transfer from EC2 to S3 free?
Data transfer from EC2 to S3 is free within the same Region. However, the question focuses on EC2-to-EC2 transfer, which incurs costs across AZs.
Why not just use the same Region?
Being in the same Region is not enough. If instances are in different AZs, AWS charges for the data transferred between them. Same AZ means zero cost.
How to Process Terabyte-Sized Videos Cost-Effectively on AWS?
Why is AWS Lambda unsuitable for processing 20-minute videos?
Lambda has a 15-minute maximum execution timeout and limited ephemeral storage, so it cannot handle continuous processing tasks that run for 20 minutes on terabyte-sized videos.
Why is S3 Intelligent-Tiering better than S3 Standard for video storage?
S3 Intelligent-Tiering automatically moves objects between access tiers based on changing access patterns, reducing storage costs for large video files without operational overhead.
How Should Order Collection and Fulfillment Scale Without Data Loss?
Why is option C wrong when it also uses two SQS queues?
Because it scales the Auto Scaling groups on 'notifications that the queues send.' SQS is pull-based and does not send notifications that resize capacity; you scale instead on queue depth via target tracking or a CloudWatch alarm.
How does SQS prevent data loss during a scaling event?
Messages stay durably stored in the queue while fulfillment instances are added or terminated, so a slow fulfillment tier only builds a backlog instead of dropping orders. Default retention is four days, configurable up to 14.
Most Cost-Effective Low-Latency On-Premises Access to Amazon S3?
Why is Mountpoint for Amazon S3 not suitable for the on-premises rendering application?
Mountpoint for Amazon S3 is a Linux FUSE client for compute running inside AWS and offers no on-premises cache, so reads would hit S3 over the network and add latency.
Does Amazon S3 File Gateway keep the data in Amazon S3 rather than copying it?
Yes. The gateway stores file contents and metadata as S3 objects and only caches frequently accessed data locally, so you avoid paying for a full second copy in FSx.
Most Scalable Automated Survey Sentiment Analysis on AWS?
Why is Amazon Lex wrong for survey sentiment analysis in option D?
Amazon Lex builds conversational voice and chat bots; it does not detect sentiment. Amazon Comprehend is the NLP service designed to analyze text sentiment, so option D fails on service fit.
Why does DynamoDB TTL satisfy the 12-month retention requirement?
DynamoDB TTL automatically deletes items after the specified timestamp, so setting it 365 days ahead keeps each survey result available for the previous 12 months without custom cleanup code.
Encrypting AWS Glue ETL with Customer-Specific CSE-KMS Keys?
Why is SSE-S3 in option A insufficient for encrypted processing?
SSE-S3 uses Amazon S3-managed keys, not customer-controlled KMS keys, and it is server-side encryption applied in S3 after Glue writes the data, not while Glue processes it.
Can AWS Glue CSE-KMS use a different key for each customer?
Yes. A Glue security configuration can reference a customer managed KMS key ARN, so with one job per customer you can use a distinct KMS key for each customer's clinical trial data.
Most Cost-Effective Way to Scale a Stateless EC2 Analytics App?
Why is a second On-Demand instance behind an ALB (option A) not the best answer?
It fixes capacity at two instances that must be scaled by hand, so it cannot react seamlessly to busy periods and never scales back down to save cost.
Does a Spot Fleet risk availability for this analytics application?
No — the app is stateless and highly resilient, and the Auto Scaling group plus ALB health checks replace reclaimed Spot capacity with new Spot or On-Demand instances.
How to Lift and Shift On-Premises VMs to AWS Quickly?
Why is AWS Schema Conversion Tool (option A) wrong for a lift-and-shift VM migration?
SCT converts database schemas and code to a new engine, which is re-platforming rather than rehosting the VM. Lift-and-shift uses AWS Application Migration Service block-level replication with the AWS Replication Agent instead.
Do you really have to stop operations on the VMs before cutover?
Yes. Writes must stop so the final delta can replicate, otherwise the cutover instance would boot from an inconsistent point. Test instances run earlier while the source is still live.
How Do You Securely Give a Private-Subnet App Cognito-Based S3 Access?
Why can't the existing Cognito user pool generate S3 access tokens?
A user pool only authenticates users and issues OIDC/JWT tokens for your app. Only an identity pool exchanges those tokens for temporary, IAM-scoped AWS credentials that can access S3.
Is the S3 VPC endpoint really needed in this private-subnet scenario?
Yes — a gateway endpoint lets instances in the private subnet reach S3 over the AWS network without a NAT gateway or internet exposure, which is part of the secure integration.
Which Reserved Instance Mix Cuts EC2 Costs for Sunday-Only Load?
Why are Spot Instances wrong for the 12-hour Sunday workload?
Spot Instances can be reclaimed by AWS at any time, and the question explicitly states the instances cannot tolerate interruptions, so options C and D are eliminated.
Why use Standard RIs instead of Convertible RIs for Monday–Saturday?
The Monday–Saturday workload runs constantly and needs no instance-family or OS flexibility, so Standard RIs provide a deeper discount than Convertible RIs.
Least-Overhead Managed Image Processing Workflow on AWS?
Why is AWS Batch better than ECS with EC2 Spot Instances for this image processing workload?
AWS Batch is fully managed: it builds the compute environment, queues, schedules and retries jobs automatically, while an ECS design forces you to size clusters, manage Spot interruptions and maintain task definitions.
Why is Amazon S3 used for the processed files instead of Amazon FSx or EFS?
S3 gives near-unlimited, low-cost, durable object storage with no filesystem to operate, whereas FSx or EFS are only warranted when the workflow needs a shared POSIX filesystem.
How to Fix Global S3 Image Upload and Download Latency with Least Effort?
Why can't AWS Global Accelerator be used directly with an S3 bucket?
Global Accelerator endpoints must be ALB, NLB, EC2 instances, or Elastic IPs; an S3 bucket is not a supported endpoint, so option D is invalid.
Why is multi-Region S3 replication not the least-effort fix for global image downloads?
CloudFront already caches images at edge locations worldwide; adding multiple buckets, replication rules, and redirects increases cost and operational effort without replacing the need for edge caching.
How to Reach S3 from a Private Subnet Without Internet?
Why is an S3 interface endpoint not the most cost-effective choice here?
It also keeps traffic off the internet via PrivateLink, but it is billed hourly per Availability Zone plus per GB processed, while the S3 gateway endpoint is free.
Does an S3 gateway endpoint need a security group to allow outbound traffic?
No. Gateway endpoints are route-table targets, not ENIs, so access is controlled by endpoint policies and bucket policies rather than security groups.
How Do You Stop Lambda from Overloading a Private RDS PostgreSQL Database?
Why doesn't an RDS custom endpoint fix Lambda connection exhaustion?
Custom endpoints only route traffic to chosen instances within a cluster; they don't pool, queue, or multiplex client connections, so spiky Lambda invocations would still overwhelm the PostgreSQL instance.
Why must the Lambda functions be inside a VPC in this scenario?
The RDS for PostgreSQL instance is private and has no public endpoint, so functions outside a VPC cannot reach it; attaching them to VPC subnets with proper security groups is mandatory.
AWS Transit Gateway for Scalable Hybrid Connectivity
Why is Direct Connect + Peering (Option D) not the best choice?
Direct Connect provides dedicated bandwidth, but VPC peering is non-transitive and must be manually created for every new VPC. As the number of VPCs grows, the administrative overhead of managing many peering connections exceeds that of Transit Gateway.
Can I use Transit Gateway with on-premises locations?
Yes, Transit Gateway supports both VPC attachments and Direct Connect attachments (for dedicated lines) or VPN attachments (for IPsec). This allows you to centrally manage all hybrid connectivity from a single gateway.
AWS IAM Identity Center Permission Sets for Least Overhead
Why not assign Permission Sets directly to users instead of groups?
Assigning to users does not scale well. Adding a new developer requires assigning the permission set individually to every new user, whereas adding them to a group applies it automatically.
What is the difference between a Group and a Permission Set?
A Group is a collection of users. A Permission Set is a set of IAM permissions (like an IAM role). You attach Permission Sets to Groups to grant those permissions to all members of the group.
Automating EBS Volume Encryption Compliance
Why not use Lambda to check encryption?
Lambda requires custom code, deployment, and maintenance. AWS Config Managed Rules are pre-built, serverless, and require zero configuration effort, better meeting the prompt's constraints.
Can AWS Config automatically encrypt unencrypted volumes?
The default managed rule only evaluates and flags non-compliance. To automatically fix it, you would need to create a custom rule or trigger a remediation action via Systems Manager Automation.
S3 Multipart Upload and Parallel Byte-Range Fetches
Why isn't adding random prefixes the right answer?
Random prefixes prevent throttling on a single prefix but do not increase the speed of transferring a single large object.
Does S3 Access Points improve throughput?
No, access points simplify security policy management per application but do not change the underlying transfer mechanism's speed.
Achieving High Availability with Auto Scaling and DynamoDB
Why not keep the embedded database and just add AZs?
Maintaining custom replication and failover for an embedded database across AZs creates high operational overhead, violating the 'least overhead' constraint.
Is AWS DMS suitable for migrating embedded databases?
Yes, in the context of this exam scenario, AWS DMS is the recommended tool for migrating data from self-managed or embedded database engines to managed services like DynamoDB.
Preserving Shopping Cart Data with ElastiCache Redis
Why can't I use ALB Sticky Sessions for the cart?
Sticky sessions bind users to specific EC2 instances. If the instance fails or scales out, the session/cart data is lost, violating the persistence requirement.
Is OpenSearch suitable for shopping carts?
No. OpenSearch is for search and log analytics. It lacks the low-latency, high-throughput key-value features required for real-time session state management.
Amazon EKS Observability with CloudWatch and X-Ray
Why is CloudTrail not suitable for performance observability?
CloudTrail logs API calls for security and compliance auditing. It does not capture application performance metrics, latency between services, or internal code execution paths required for troubleshooting.
Can ElastiCache help with observability?
No. ElastiCache is used to cache data and reduce database load to improve response times. It is a performance optimization tool, not a monitoring or observability service.
AWS Shield Advanced for DDoS Protection
Why can't I use AWS WAF to block random IP DDoS attacks?
WAF operates at Layer 7 and requires specific rule criteria. Blocking 'unknown' random IPs is impossible without blackholing all traffic, making it unsuitable for volumetric DDoS defense.
Does AWS Shield Advanced require significant configuration?
No, Shield Advanced provides automatic mitigation for common attacks. It integrates seamlessly with ALBs and CloudFront with minimal setup, unlike custom firewall rules.
Cost-Effective NFS Backup to Amazon S3
Why is AWS Glue inappropriate for NFS backup?
Glue is an ETL tool for transforming structured/semi-structured data, not for simple file replication. It adds unnecessary complexity and cost for syncing files.
When should I use Direct Connect instead of DataSync?
Use Direct Connect when you need consistent, high-throughput connectivity for large-scale data migration or hybrid cloud applications, not for small periodic backups.
Cost-Effective UDP Load Balancing for Game Servers
Why can't I use an Application Load Balancer for UDP?
ALB operates at Layer 7 (Application Layer) and only supports HTTP and HTTPS protocols. It cannot route raw UDP traffic, which is essential for many online games.
Is Gateway Load Balancer ever better for UDP?
Only if you need to inspect traffic with a third-party virtual appliance like a firewall. For pure traffic distribution, NLB is significantly more cost-effective and performant.
Migrating RDS MySQL to Aurora PostgreSQL with DMS
Why can't I just use a read replica for MySQL to PostgreSQL migration?
Read replicas generally replicate within the same engine. For different engines like MySQL to PostgreSQL, you need DMS to translate the schema and data types.
What is the role of CDC in this migration?
CDC captures ongoing changes in the source database, allowing you to keep the target synchronized until you switch applications over.
ALB Access Logging with Amazon Athena
Why can't I use CloudTrail for ALB traffic?
CloudTrail logs API calls to AWS services, not the HTTP requests processed by the ALB. For traffic visibility, you must use ALB access logs.
Is Athena more efficient than EMR for this task?
Yes. Athena is serverless and requires no infrastructure management, whereas EMR requires provisioning and managing EC2 instances and clusters.
Private EC2 to S3 Connection with VPC Endpoint
Why is a NAT Gateway insufficient for private S3 access?
A NAT Gateway routes traffic through the public internet, whereas a VPC Endpoint keeps traffic entirely within the AWS private network.
Can IAM policies alone satisfy the private connection requirement?
No, IAM policies control permissions but do not restrict the network path; traffic can still traverse the public internet.
Scaling Aurora PostgreSQL with RDS Proxy and Reader Instances
Why not use ElastiCache for Redis instead of RDS Proxy?
ElastiCache adds complexity and potential data consistency issues. RDS Proxy is natively integrated with Aurora to handle connection pooling efficiently without modifying data access patterns.
Does adding reader instances solve write timeouts?
Reader instances primarily offload read queries. However, reducing overall load on the primary writer via read distribution helps prevent resource exhaustion that contributes to timeouts.
Cost-Optimized Photo Hosting with S3 Intelligent-Tiering
Why can't I store 20MB photos in DynamoDB?
DynamoDB has a strict maximum item size of 400 KB. Storing 20 MB photos would exceed this limit by 50x, causing write failures.
Is S3 Standard-IA cheaper than Intelligent-Tiering?
Not necessarily. Standard-IA has higher per-request costs and retrieval fees. Intelligent-Tiering eliminates retrieval fees and optimizes automatically for unpredictable patterns.
Refactoring Monolith to Microservices with ECS
Why not use AWS Lambda for the report generation?
Lambda has a maximum execution timeout of 15 minutes. Since the report takes 20 minutes, Lambda cannot complete the task.
Is EC2 Spot Instance suitable for this workload?
No, Spot Instances can be interrupted with little notice. This makes them unsuitable for stateful, long-running tasks like report generation where interruption causes failure.
AWS Direct Connect with Transit Gateway for Multi-VPC
Why is a Direct Connect gateway used instead of just attaching VPCs directly?
A Direct Connect gateway allows you to connect your Direct Connect connection to multiple Transit Gateways across different Regions or accounts, providing greater flexibility and scalability.
Does enabling route propagation remove the need for manual route updates?
Yes, route propagation automatically adds routes from the Transit Gateway to the attached VPCs' route tables, eliminating manual maintenance for new subnets or changes.
Resolving EKS Node Scaling Issues with Cluster Autoscaler
What is the difference between HPA and Cluster Autoscaler?
HPA scales the number of pod replicas within existing nodes, while Cluster Autoscaler adds or removes nodes from the cluster when pods cannot be scheduled.
Is Karpenter better than Cluster Autoscaler?
Karpenter is a newer, faster alternative, but Cluster Autoscaler remains the standard exam answer for general Kubernetes autoscaling scenarios unless specified otherwise.
Reducing S3 Costs from Incomplete Multipart Uploads
Why do incomplete multipart uploads cost money?
Each part of an incomplete multipart upload is stored as a separate object in S3, incurring standard storage charges until the upload is completed or aborted.
Can I use S3 Glacier for incomplete uploads?
No, Lifecycle policies for incomplete multipart uploads only support deletion or aborting, not transition to different storage classes like Glacier.
Prevent DynamoDB Accidental Deletion
Why is Point-in-Time Recovery (D) incorrect?
PITR allows you to restore data after deletion but does not prevent the deletion event itself, so it fails to stop the operational disruption.
Does Deletion Protection affect performance?
No, Deletion Protection is a metadata setting that only impacts the DeleteTable API call and has no effect on table performance or latency.
AWS Auto Scaling Predictive and Dynamic Strategy
Can I use just Predictive Scaling without Dynamic?
Yes, but it won't handle unexpected spikes. The question requires handling 'live changes', so Dynamic is necessary alongside Predictive.
Why not Scheduled Scaling for known traffic patterns?
Scheduled scaling is rigid and time-based. It cannot react to 'live changes' in utilization or adapt to unpredictable variations in daily/weekly trends.
Resolving Stale Data in Amazon DynamoDB
Does strongly consistent read increase latency?
Yes, strongly consistent reads may have slightly higher latency than eventually consistent reads because they gather data from all replicas before responding.
Can I use GSI for strongly consistent reads?
No, GSIs only support eventually consistent reads. You cannot request strong consistency on a Global Secondary Index.
Protect EC2 and RDS from SQL Injection with Least Overhead
Can AWS WAF be attached directly to an EC2 instance?
No, WAF must be associated with an Application Load Balancer (ALB), CloudFront distribution, or API Gateway, not directly with EC2.
Why isn't Security Groups enough for SQL injection?
Security Groups filter traffic by IP and port (Layer 3/4), whereas SQL injection occurs within the HTTP request payload (Layer 7).
Detecting Abnormal RDS Login Attempts with GuardDuty
Why isn't CloudTrail sufficient for detecting login attempts?
CloudTrail logs API calls but does not analyze database-specific login patterns for anomalies like brute force attacks automatically.
Does GuardDuty cover Aurora PostgreSQL?
Yes, the RDS Protection feature extends to Amazon Aurora databases, monitoring both MySQL and PostgreSQL engine types.
AWS Direct Connect Gateway for Inter-Region Connectivity
Why can't I use Inter-Region VPC Peering for this scenario?
VPC Peering connects VPCs to each other but does not inherently route traffic to on-premises data centers. Achieving this would require additional complex routing setups, increasing operational overhead.
Does Direct Connect Gateway support different AWS accounts?
Yes, but in this scenario, since the company acquired another corporation, they may need to ensure all VPCs are associated correctly. However, the key architectural pattern for multi-region DX is the Direct Connect Gateway.
Serverless Orderly Processing with Kinesis and Lambda
Why can't I use SQS FIFO for ordered processing?
SQS FIFO maintains order but has lower throughput than Kinesis and incurs higher management overhead if paired with EC2, which violates the prompt's constraints.
Is DynamoDB really highly available?
Yes, DynamoDB replicates data across three Availability Zones by default, providing built-in high availability without manual configuration.
Centralized Log Aggregation with S3 Same-Region Replication
Why can't I use S3 Lifecycle Policy to copy logs?
Lifecycle policies manage storage class transitions and expiration within a single bucket, not copying objects between different buckets or accounts.
Is Lambda less expensive than S3 Replication?
While compute costs might be low, Lambda adds significant operational overhead for maintenance, debugging, and permission management, violating the 'minimal overhead' requirement.
Encrypting S3 Objects with SSE-C via Batch Operations
Why can't I set SSE-C as S3 Default Encryption?
S3 Default Encryption typically uses SSE-S3 or SSE-KMS. SSE-C requires the client to send the key with every PUT request, so S3 cannot automatically encrypt new uploads without external key management integration.
Is AWS Usage Report useful for finding unencrypted objects?
No. AWS Usage Reports provide aggregate usage metrics (like storage size or request counts) but do not contain object-level metadata such as encryption status. S3 Inventory is required for this level of detail.
Migrating DNS to Amazon Route 53 Public Hosted Zone
Why can't I use a private hosted zone for my public website?
Private hosted zones are only accessible from within specified VPCs. They cannot resolve records for users on the public internet.
Does importing a zone file change my domain registrar settings?
No, importing the zone file only updates the DNS records in Route 53. You must also update your domain registrar's NS records to point to Route 53 name servers.
AWS AppConfig and Secrets Manager for Least Overhead
Why not use Systems Manager Parameter Store for credentials?
Parameter Store can store secrets, but Secrets Manager offers automatic rotation and auditing out-of-the-box, reducing admin overhead for database credentials.
Is AppConfig only for feature flags?
No, AppConfig is a general-purpose configuration management service that can deploy any type of application setting, not just feature flags.
Low Latency EC2 Network Configurations
Why isn't EBS Optimized correct for low latency?
EBS Optimized guarantees bandwidth for storage I/O between the instance and EBS, not for network traffic between EC2 instances.
Can I use separate accounts for low latency?
No, separate accounts add administrative overhead and do not influence the physical network path or latency between instances.
Migrating SMB File Storage to AWS with Least Overhead
Why can't I use Amazon S3 for SMB data?
Amazon S3 is object storage and does not support the SMB protocol. Applications expecting SMB shares cannot access S3 directly without modification.
Is AWS DataSync faster than Direct Connect alone?
Direct Connect is a network link, not a transfer tool. DataSync optimizes transfers over any network (including Direct Connect) by compressing and parallelizing data, reducing operational overhead.
AWS IAM Identity Center with External IdP for Multi-Account Access
Why can't I just create IAM users and link them to my IdP?
IAM users are standalone AWS identities and cannot be linked directly to an external IdP for authentication. You must use IAM roles for federation or IAM Identity Center.
Does AWS RAM help with user authentication across accounts?
No, AWS RAM is for sharing AWS resources (like VPCs or RDS instances) between accounts, not for managing user identities or authentication.
IAM AdministratorAccess Identity-Based Policy for Full Access
Why can't I attach a resource-based policy to an IAM group?
Resource-based policies are attached to AWS resources (like S3 buckets or DynamoDB tables) to define who can access them. They cannot be attached to IAM identities like users, groups, or roles.
What is the difference between AdministratorAccess and SystemAdministrator?
AdministratorAccess is a managed policy that grants full access to all AWS services and resources. SystemAdministrator is a managed policy that grants access to only a limited subset of services (around 28).
AWS Serverless Messaging with Exactly-Once Delivery
Why isn't SNS sufficient for exactly-once delivery?
SNS is a publish-subscribe service that does not guarantee message ordering or deduplication. It may deliver duplicate messages or lose them under high load, failing the exactly-once requirement.
Can EKS provide exactly-once delivery with less management than Lambda?
No. EKS requires managing Kubernetes control planes, worker nodes, and configurations, which significantly increases infrastructure management compared to the fully managed Lambda service.
Reduce Aurora Failover Time with RDS Proxy
Does RDS Proxy actually reduce failover time?
It primarily reduces the impact of failover on applications by handling reconnections, rather than speeding up the underlying DB promotion.
Why not just use Multi-AZ for failover?
Multi-AZ handles infrastructure failover but doesn't manage application-side connection pools, leading to potential connection exhaustion errors.
ECS for Highly Available Container Workloads Across Three AZs?
Why is AWS Lambda not the best fit for this containerized workload?
Lambda is event-driven and short-lived, so it does not provide ECS-style task spreading across three AZs or a meaningful minimum capacity of 3 for an always-on container service.
Why does EKS with self-managed nodes have higher operational overhead than ECS?
Self-managed EKS requires you to install and maintain node components such as kubelet and kube-proxy, while ECS manages more of the orchestration and integrates directly with service auto scaling.
Custom Identity Broker for Non-SAML LDAP to AWS Console
Why can't I use IAM Identity Center with my LDAP?
IAM Identity Center requires the upstream identity provider to support SAML 2.0. If your LDAP is not SAML-compatible, it cannot establish the trust relationship needed for SSO.
What is the role of AWS STS in this solution?
AWS STS issues temporary security credentials. The custom broker uses these to allow LDAP users to assume IAM roles, providing secure, short-lived access to AWS resources.
Recover Accidentally Deleted AMIs with Least Overhead
Why isn't copying AMIs to another account the best choice?
Cross-account copying provides robust disaster recovery but involves high operational overhead for management, unlike the automated Retention Rules in Recycle Bin.
Can Recycle Bin recover AMIs deleted by malicious actors?
No, Recycle Bin protects against accidental deletions only. Malicious deletions bypass these retention rules unless additional IAM controls are in place.
Cost-Effective Data Migration for 150TB Over Limited Bandwidth
Why not use Snowmobile for 150TB?
Snowmobile is optimized for exabyte-scale (up to 100PB) moves. It is far too expensive and unnecessary for only 150TB.
How long does 150TB take over 100Mbps?
It takes approximately 17 days of continuous 100% utilization. Since uploads are only allowed at night, this becomes even more constrained and risky.
Cross-Account SQS Access via Resource Policy
Why can't I use an IAM policy for the other company?
IAM policies are identity-based and attached to identities in your account. To use them for cross-account access, the external party must assume a role, which requires trust configuration and potentially affects their permissions.
What is an SQS access policy?
It is a resource-based policy attached directly to the SQS queue that specifies which AWS principals (accounts/users) can perform actions like SendMessage or ReceiveMessage.
AWS Systems Manager Session Manager for EC2 Access
Why can't I use a bastion host in a private subnet?
A bastion host must reside in a public subnet to receive inbound traffic from the internet. Instances in a private subnet cannot accept direct inbound connections.
Is Session Manager free for EC2 instances?
There is no additional charge for the Session Manager service itself, but you pay for the underlying EC2 instance hours and data transfer costs as usual.
DynamoDB Point-in-Time Recovery vs Backup
Why not use AWS Backup for DynamoDB?
AWS Backup is valid but requires policy management. PITR is simpler, continuous, and optimized for frequent small restores.
Does PITR cover the full 24 hours automatically?
Yes, once enabled, PITR retains data for 35 days by default, easily covering the 24-hour requirement without extra setup.
S3 Event Notifications with Lambda for Metadata Extraction
Why not use SNS to trigger Lambda?
While SNS can trigger Lambda, S3 native event notifications are the direct, standard integration for object creation events, offering better cost-efficiency and simplicity.
When would Kinesis be appropriate?
Kinesis is appropriate for continuous, high-throughput data streams requiring real-time analytics, not for sporadic file uploads processed in batches.
Migrating Oracle to Aurora with Ongoing Replication
Can I use AWS DMS without AWS SCT?
No. AWS SCT is required to convert the source schema (Oracle) to the target format (PostgreSQL) before DMS can migrate the data.
Why is AWS DataSync not suitable here?
DataSync synchronizes files to/from S3, not relational database transactions. It cannot capture ongoing SQL changes in real-time.
Automated Compliance for Security Groups with AWS Config
Why is AWS Config preferred over Lambda for this task?
AWS Config managed rules are pre-built and maintained by AWS, requiring zero code maintenance. Lambda requires you to write, deploy, and maintain the script, increasing operational overhead.
Can SCPs be used to enforce this policy?
SCPs can deny the creation of insecure rules, but they do not provide the notification mechanism requested. The question asks for notification upon breach, which SCPs alone cannot do.
VPC Lattice for Microservice Service Discovery
Why not use NLB for microservice discovery?
NLB requires manual creation of target groups and endpoints for each service, increasing overhead. VPC Lattice automates discovery.
Does VPC Lattice support cross-account communication?
Yes, VPC Lattice is designed to simplify service connectivity across multiple AWS accounts and regions seamlessly.
Sharing KMS Encrypted AMIs with AWS Organizations OUs
Why isn't just adding the OU to launch permissions enough?
Launch permissions only allow the user to initiate the launch process. Since the AMI uses KMS-encrypted snapshots, the launching instance role/account must also have KMS Decrypt permissions to read the snapshot data.
Can I use specific account ARNs instead of OU ARNs?
Yes, but it is less scalable. Using OU ARNs (Options A and C) allows all current and future accounts in that OU to inherit the permissions automatically, whereas account ARNs require manual updates for each new account.
Cross-Account IAM Role Delegation for Vendors
Why can't I just add the vendor's user to my group?
Groups can only contain IAM users within the same AWS account. Cross-account access requires a Role with a trust policy.
Is an IAM User ever safe for vendors?
Generally no. Roles provide temporary credentials, reducing risk. Users require long-term secrets which are harder to manage securely externally.
AWS Budgets and Cost Allocation Tags for Departmental Spending
Why can't I use Cost Explorer for spending alerts?
Cost Explorer is an analytics tool for viewing historical and forecasted data. It does not have a built-in feature to send notifications when a spending threshold is crossed.
Do I need to enable Cost Allocation Tags before using AWS Budgets?
Yes, to track spending by department, you must first tag your resources with the relevant department identifiers and activate those tags in the Billing Console.
Secure Web App with VPN and Internet Access
Why can't I use a Public ALB for an internal app?
A Public ALB is associated with a public subnet and has a public DNS name, making it accessible from the internet. An internal ALB stays within the VPC/private network.
Do I need an Internet Gateway if I have a NAT Gateway?
Yes. The NAT Gateway itself resides in a public subnet and requires an Internet Gateway attached to the VPC to route traffic to the internet.
AWS Managed Immutable Ledger with QLDB
Why not use DynamoDB Streams for immutability?
DynamoDB Streams capture changes but are not inherently immutable or cryptographically verifiable against tampering like QLDB's central ledger authority.
Is QLDB more expensive than Redshift?
QLDB is generally cost-effective for transactional ledgers compared to provisioning a full Redshift cluster, especially given its serverless nature.
Orchestrating AWS Glue DataBrew with Step Functions
Why can't I use Lambda for all the data preparation jobs?
Lambda lacks native distributed state management and complex dependency ordering. You would have to write custom code to track job states and handle retries, which increases operational overhead.
Is AWS Data Pipeline still relevant for new projects?
No, AWS Data Pipeline is largely legacy. For modern ETL and data preparation workflows, AWS Glue combined with Step Functions offers a more flexible, serverless, and managed alternative.
AWS Application Discovery Service for On-Premises Migration Planning
Why is AWS Systems Manager incorrect here?
Systems Manager manages running instances but lacks the automatic discovery of dependencies and historical usage metrics required for migration assessment.
What is the role of AWS Migration Hub in this scenario?
Migration Hub acts as a central dashboard to track progress, while Application Discovery Service performs the actual data collection task described in the question.
AWS Control Tower and Security Hub for Centralized Audit
Why not deploy Control Tower in a member account?
Control Tower requires the management account to act as the root of trust for the organization. Deploying it in a member account breaks the hierarchical governance structure.
Does Security Hub replace GuardDuty?
No, they serve different purposes. GuardDuty detects threats, while Security Hub aggregates findings and checks compliance against standards like FSBP. They work together.
Cost-Effective SQL Analysis of S3 Parquet Logs
Why not just use Redshift Spectrum instead of Athena?
While both query S3, Athena is typically more cost-effective for occasional use as it has no cluster maintenance and a simpler pay-per-query model compared to Redshift Spectrum.
Is the Glue Crawler strictly necessary for Athena?
For Parquet files, a crawler helps automatically discover the schema and partitioning, saving manual table definition time. However, you can also create tables manually in the Glue Data Catalog.
High Availability and Scalability with ALB and Auto Scaling
Why isn't a NAT Gateway used for web traffic?
NAT Gateways handle outbound traffic from private subnets. Inbound web traffic requires a Load Balancer or Public Subnet.
Does changing instance size help with high availability?
No, vertical scaling (larger instances) does not eliminate single points of failure. You need redundancy across multiple instances/AZs.
Encrypting Lambda Environment Variables with KMS
Why not use AWS Systems Manager Parameter Store instead?
Parameter Store is a valid alternative, but the question specifically tests the native Lambda encryption helper feature which allows direct encryption of environment variables without changing how the code retrieves them.
Does enabling encryption helpers affect Lambda cold starts?
No, the decryption happens transparently by the Lambda runtime before your code executes. The developer simply sees the decrypted value as a standard environment variable.
AWS HPC Networking and Storage Solutions
Why is Global Accelerator wrong for HPC?
Global Accelerator optimizes traffic for internet-facing apps across regions, not the low-latency, intra-cluster communication required by tightly coupled HPC nodes.
Can I use EBS instead of FSx for Lustre?
While EBS provides block storage, FSx for Lustre is specifically designed for HPC to deliver higher throughput and lower latency for shared file systems accessed by many instances simultaneously.
Root User MFA Backup Strategy for AWS
Can I attach multiple hardware MFA tokens to one AWS root account?
Yes, AWS allows registering up to eight MFA devices of any type (virtual or hardware) for the root user to ensure redundancy.
Why is creating a new admin account wrong for root access?
A new admin account does not grant access to the root user credentials. If the root MFA is lost, only additional registered MFA devices for the root user can unlock it.
SNS Topic for Scalable Partner Notifications
Why not use Kinesis Data Streams for notifications?
Kinesis is built for high-volume data processing pipelines, not simple notifications. It requires custom consumers to read and deliver messages, adding unnecessary development effort.
Can SNS handle hundreds of HTTP subscribers efficiently?
Yes, SNS is designed to scale horizontally and can fan out messages to thousands of subscribers simultaneously with minimal latency and operational overhead.
Cost-Effective Ingredient Extraction from S3
Why is Amazon Forecast incorrect for this task?
Forecast is for time-series predictions, not text entity extraction.
Can I use SageMaker if I have no ML staff?
No, SageMaker requires ML expertise to build and train models.
Cross-Account EFS Access for Lambda via VPC Peering
Why isn't AWS DataSync the best choice here?
DataSync duplicates data, incurring extra storage costs and sync complexity. VPC peering allows direct access to the single source of truth, which is more cost-effective.
Can Lambda access EFS in another account without VPC peering?
No. Cross-account access to EFS from Lambda requires network connectivity, typically established via VPC peering, Transit Gateway, or AWS PrivateLink.
Client-Side Encryption for External Key Management
Why is AWS KMS Customer Managed Key not correct?
AWS KMS manages the keys within the AWS Cloud environment. The requirement explicitly states keys must be managed outside the AWS Cloud.
Does client-side encryption cover data in transit?
Yes. Since data is encrypted before leaving the data center, it remains encrypted during transit via HTTPS and at rest in S3.
Serverless Payment App: Lambda & ECS Fargate for Least Overhead
Why not use SQS instead of API Gateway?
API Gateway is preferred for receiving HTTP requests from mobile devices directly. SQS is typically used for decoupling microservices or background job queues, not as the primary ingress point for mobile apps.
Is EKS Everserverless?
Standard EKS requires managing worker nodes (EC2). While EKS on Fargate exists, Option B specifies 'self-managed nodes,' making it operationally heavy compared to pure ECS Fargate.
Amazon Cognito Adaptive Authentication for Scalable User Auth
Why not use IAM Identity Center for this scenario?
IAM Identity Center is designed for employee access to AWS services, not for consumer-facing app authentication. It lacks the specific risk-based adaptive triggers for individual user devices and locations found in Cognito.
What is the difference between User Pools and Identity Pools?
User Pools manage user identity (sign-up/sign-in), while Identity Pools provide temporary AWS credentials to access AWS resources after authentication. Only User Pools handle the adaptive authentication logic described.
AWS Outposts for Local Data Compliance
Can I use AWS Snowball Edge for EKS?
While Snowball Edge supports container workloads, it is not a long-term, managed extension of AWS like Outposts. Outposts is the standard for running managed EKS clusters on-premises.
What is the difference between Local Zones and Outposts?
Local Zones are in AWS facilities near users, whereas Outposts are racks installed inside the customer's own data center, providing full control over physical data location.
AWS Glue DataBrew for No-Code Data Transformation
Why not use AWS Glue Studio for visual transformation?
Glue Studio is primarily for creating ETL jobs that may require code or complex mapping. It lacks the dedicated data profiling dashboard and simple 'recipe' sharing mechanism that DataBrew offers for non-technical analysts.
Does AWS Glue DataBrew support Apache Parquet?
Yes, DataBrew supports various input formats including CSV, JSON, Parquet, and Avro, making it suitable for the described data lake ingestion pipeline.
Route 53 ALB Listener Rule for Dev Instance Access
Why not use a CNAME record instead of A record?
While CNAME is often preferred for ALBs, AWS allows A records (alias records) for root domains or when specifically configured. The question focuses on the routing logic, not the record type nuance.
Can I use Network Load Balancer here?
NLB does not support path-based or host-based listener rules in the same flexible way ALB does for HTTP/HTTPS content switching. ALB is the standard choice for this scenario.
Reducing Global Load Time with AWS Global Accelerator
Why not use Route 53 for latency-based routing?
Route 53 relies on DNS resolution, which can suffer from caching delays and variable resolver performance. Global Accelerator uses anycast IPs and the AWS backbone for more consistent, lower latency.
Can Global Accelerator work with Application Load Balancers?
Yes, Global Accelerator can route traffic to ALBs, NLBs, EC2 instances, and Lambda functions. The choice depends on whether you need Layer 4 (NLB) or Layer 7 (ALB) termination.
AWS Transfer Family for SFTP to S3 Migration
Why can't I use S3 File Gateway for SFTP?
S3 File Gateway only supports SMB and NFS protocols for on-premises file shares. It does not support SFTP, which is why AWS Transfer Family is required.
Is AWS DMS suitable for SFTP file replication?
No. AWS DMS is designed for database migration and replication, not for providing persistent file transfer endpoints for external vendors.
Least Overhead Sentiment Analysis with Textract and Comprehend
Why not use SageMaker for better accuracy?
SageMaker offers customization but requires significant operational overhead for training and maintenance. The question prioritizes 'least operational overhead,' making Comprehend the superior choice.
Can Textract perform sentiment analysis itself?
No, Textract is strictly for OCR and document structure extraction. It outputs raw text or forms/tables, requiring a separate service like Comprehend for semantic analysis.
Handling Large Data with DynamoDB and S3 | SAA-C03
Why can't we just compress the data with Lambda?
Compression is variable; it may not reduce the data enough to fit under the 400 KB hard limit, causing write failures.
Is DocumentDB better than S3 for this?
No, S3 is more cost-effective and operationally simpler for large binary objects. DocumentDB adds unnecessary management overhead.
Migrating Legacy Cron Jobs to AWS with Minimal Refactoring
Why not use AWS Lambda for cron jobs?
Lambda has a maximum timeout of 15 minutes. Since the requirement specifies jobs running up to 20 minutes, Lambda cannot accommodate the full duration.
Is AWS Fargate considered minimal refactoring?
Yes, if the application is already containerized. You just need to ensure the Dockerfile works in Fargate, which requires no infrastructure changes.
AWS PrivateLink and AppFlow for Secure Salesforce Data
Why can't I use VPC Peering to connect to Salesforce?
VPC Peering only connects two AWS VPCs. Salesforce is an external SaaS provider and does not have a VPC that you can peer with.
Is AWS Glue DataBrew suitable for ongoing Salesforce data loads?
No, DataBrew is a data preparation tool for ad-hoc cleaning. AppFlow is designed for automated, ongoing data synchronization between SaaS and AWS services.
Optimize Storage Costs with S3 Intelligent-Tiering
Why not use S3 Glacier Flexible Retrieval?
Glacier has retrieval times ranging from minutes to 12 hours, which would break the application's ability to index and serve files in a timely manner.
Is EFS Standard-IA more expensive than S3 Intelligent-Tiering?
Yes, generally S3 is cheaper for object storage. Intelligent-Tiering adds further savings by automating tier movement based on actual access patterns.
ALB Query String Routing and ACM Encryption
Why can't Network Load Balancer route by query string?
NLB operates at Layer 4 (TCP/UDP) and does not inspect HTTP payload content like query strings. Only ALB (Layer 7) can perform this inspection.
Is IAM certificate support available for ALB?
While ALB can use IAM certificates, AWS recommends using ACM for easier management and automatic renewal. The key differentiator here is the routing capability, not just the cert source.
Designing Highly Available and Scalable EC2 and MySQL Solutions
Why isn't Amazon RDS sufficient for the database?
RDS can be highly available, but the option didn't specify an Auto Scaling Group for the EC2s, making the whole solution less scalable than Option C's Serverless approach.
Can I use ElastiCache instead of MySQL?
No, ElastiCache is for caching, not primary storage. It cannot replace the persistent MySQL database required by the application.
AWS IAM Identity Center with On-Premises AD Trust
Why not just create a trust in AWS Directory Service?
A simple trust (Option C) doesn't automatically make it the identity source for IAM Identity Center. You need the specific integration described in Option B.
Does AWS Managed Microsoft AD replace the on-prem AD?
No, it acts as a bridge. The two-way trust allows the cloud directory to validate users against the on-premises AD, preserving your existing management structure.
AWS Security Hub for Multi-Account Compliance Monitoring
Why not use CloudTrail for PCI DSS proof?
CloudTrail logs API activity but does not evaluate resource configurations against compliance frameworks. It proves who did what, not if the system meets NIST/PCI DSS rules.
Can Security Hub replace GuardDuty?
No. Security Hub aggregates findings from multiple services including GuardDuty, Inspector, and Macie. It is a dashboard/aggregator, not a standalone detector.
S3 Intelligent-Tiering for Cost Optimization
Does S3 Intelligent-Tiering have retrieval fees?
No, S3 Intelligent-Tiering does not charge retrieval fees for any access tier, making it ideal for unpredictable access patterns.
Why not use S3 Standard-IA for random access?
Standard-IA charges per retrieval and is optimized for infrequent access. Random access would incur high retrieval costs and lacks the automated tiering of Intelligent-Tiering.
Amazon Neptune for Social Graph Connections
Why not use RDS with recursive SQL for connections?
RDS struggles with performance when traversing multiple levels of relationships due to the computational cost of repeated JOINs or recursive CTEs.
Is Athena suitable for graph traversal?
No, Athena is designed for serverless interactive SQL queries on S3 data, not for low-latency graph traversal algorithms.
Most Cost-Effective AWS Connection for Low-Bandwidth On-Premises Link?
Why is AWS Direct Connect not the most cost-effective option here?
Direct Connect needs dedicated circuits or partner provisioning and can take weeks to activate, so it suits sustained high-bandwidth traffic, not the small, fast link described in the question.
Why can't a client VPN satisfy the on-premises-to-AWS requirement?
A client VPN gives individual remote users access into a VPC; it does not build a network-to-network tunnel between a company's on-premises environment and AWS.
How to Keep On-Premises AD Authentication for SFTP on AWS?
Why is option D wrong if it also uses AWS Transfer Family SFTP and Directory Service?
D omits AD Connector, so Directory Service has no path to the on-premises Active Directory; without that link, existing AD credentials cannot authenticate.
Can AWS Transfer Family use on-premises Active Directory without AD Connector?
Not directly; you need AD Connector or an AD trust so Directory Service can query on-premises AD while preserving the current authentication mechanism.
Aurora Read Replicas for Reporting Performance
Why can't we use the backup instance for reports?
Backup instances in Aurora are snapshots used for disaster recovery and cannot be accessed via an endpoint for live querying.
Does Multi-AZ provide read scaling?
No, Multi-AZ provides high availability by synchronously replicating data to a standby. Read scaling requires explicit read replicas.
How to Distribute Multi-Region Website Traffic with Health Checks?
Why can't an Application Load Balancer target group include EC2 instances from both Regions?
An ALB is a Regional resource, and its target group must contain targets in the same Region; it cannot route to instances or IPs in another Region for this multi-Region requirement.
How does a Route 53 multivalue answer routing policy handle an unhealthy Region?
It associates health checks with each record and returns only the values for healthy resources, so traffic is not sent to the Region whose website is unhealthy.
How to Share 25 GB Files Across EC2 Instances and Multiple AZs?
Why is Amazon S3 (option A) wrong if it is also shared and Multi-AZ?
S3 is object storage accessed through APIs, not a POSIX file system that EC2 applications can mount. The existing applications need shared file access to 25 GB files, which EFS provides natively.
Can an EBS snapshot or a Multi-Attach EBS volume serve multiple EC2 instances across AZs?
No. A snapshot must be restored into a volume first, and EBS Multi-Attach only works with io1/io2 volumes attached to instances in a single Availability Zone.
How to Encrypt PII at Rest on EC2 and RDS with Least Change?
Why is configuring SSL encryption with KMS keys (option C) wrong for PII at rest?
SSL/TLS is a transport protocol configured with certificates such as ACM, not KMS keys, and it protects data in transit only — it leaves EBS and RDS volumes unencrypted at rest.
Does enabling Amazon RDS encryption satisfy the compliance requirement for the EC2 instance too?
No. RDS encryption covers the database storage, so option D also enables Amazon EBS encryption to protect the EC2 instance volumes where PII may be written.
How to Send DynamoDB Work-Anniversary Emails with Least Operational Effort?
Why can't Amazon SQS deliver the anniversary emails directly?
SQS is a message queue, not a notification service. Messages sit there until a consumer polls and processes them, so options B and D would still need extra code to actually send an email.
Is a full DynamoDB Scan acceptable for only 15 employees?
Yes. A Scan reads the whole table, but with 15 items it is fast and inexpensive; a Query on an indexed start-date attribute would only matter at much larger scale.
Least-Overhead Password Rotation for Amazon RDS for PostgreSQL?
Does AWS Systems Manager Parameter Store support automatic password rotation?
No. Parameter Store can store a password as a SecureString, but it has no built-in rotation scheduler, so you would have to build and maintain your own Lambda rotator.
Why doesn't AWS KMS automatic key rotation satisfy the RDS password requirement?
KMS key rotation replaces the cryptographic key material used to encrypt data or secrets; it never changes the PostgreSQL login password, so the credential itself would stay static.
How to Migrate Oracle EE with BYOL and Privileged Third-Party Features to AWS?
Why not use standard Amazon RDS for Oracle for privileged third-party features?
Standard RDS for Oracle hides the OS and database host, so third-party tools needing privileged access cannot be installed or configured. RDS Custom for Oracle is the managed option that exposes that level of control.
Does RDS Custom for Oracle support BYOL for Enterprise Edition?
Yes. RDS Custom for Oracle supports the Bring Your Own License model, letting the company reuse its existing Oracle Database Enterprise Edition licence instead of paying for new AWS-included licensing.
How to Centralize and Automate EC2, RDS, and DynamoDB Backups on AWS?
Why is AWS Systems Manager State Manager wrong for automating these backups?
State Manager only enforces desired configuration state on managed nodes and can run scripts; it creates no backup vaults, retention policies, or restore workflows for RDS and DynamoDB.
Can AWS Config take scheduled snapshots of EC2, RDS, and DynamoDB?
No. AWS Config records and evaluates resource configuration compliance and can trigger remediation, but it has no native snapshot lifecycle management across those services.
How Can EC2 Instances Share CMS Content with Least Lag?
Why is an hourly S3 sync to EBS not the best fit for shared CMS assets?
An hourly sync can leave content stale for up to 60 minutes, and each EC2 instance stores its own EBS copy, so files diverge instead of staying shared in real time.
Why can't a secondary EBS volume from a snapshot share content across AZs?
EBS volumes are scoped to one Availability Zone, and snapshots are point-in-time copies, so EC2 instances in other AZs cannot attach the same live volume or see new writes.
How Do You Auto-Detect and Respond to Threats with GuardDuty and WAF?
Why is AWS Firewall Manager wrong for detecting suspicious behavior here?
Firewall Manager centrally deploys and manages WAF web ACLs, Shield Advanced protections, and security group policies across accounts; it is a management plane, not a behavioral threat detection engine that produces findings.
Does Amazon Inspector update AWS WAF rules automatically?
No. Inspector only scans EC2 instances, container images, and Lambda functions for software vulnerabilities and unintended network exposure, and it has no integration that rewrites AWS WAF rules.
Which ACM Certificate Lets CloudFront Use a Custom Domain for Free?
Why can't a private ACM certificate from us-east-1 (option A) be used for CloudFront?
AWS Private CA certificates are trusted only by clients that import your CA, so public browsers reject them. They also incur recurring CA and certificate charges, breaking the no-additional-cost requirement.
Why must the ACM certificate for CloudFront be in us-east-1 specifically?
CloudFront is a global service whose control plane reads ACM certificates only from us-east-1 (N. Virginia); certificates from other Regions cannot be selected for an alternate domain name.
Does using an ACM public certificate with a CloudFront custom domain add cost?
No. Public SSL/TLS certificates provisioned through ACM are free; you pay only for the AWS resources that run your application, so option C satisfies the cost constraint.
How Do You Give an External Consultant 7-Day Access to One S3 Report?
Why is a new IAM user with access keys (Option C) less efficient than a presigned URL?
It creates long-lived credentials that must be scoped to the report, delivered to the consultant, and manually revoked after 7 days. A presigned URL expires automatically and grants object-level access only.
Can an S3 presigned URL really be valid for the full 7 days the consultant needs?
Yes. SigV4 presigned URLs generated with the AWS CLI can use --expires-in up to 604800 seconds (7 days), which matches the requirement exactly.
Which EC2 Configuration Meets Tightly Coupled HPC Network Requirements?
Why doesn't an On-Demand Capacity Reservation satisfy the low-latency requirement?
A capacity reservation only guarantees that EC2 capacity is held for you in a specific Availability Zone; it says nothing about how close the nodes are or how fast they talk. Latency and throughput come from the placement group, which can be used together with a reservation.
Can a cluster placement group span multiple Availability Zones for HPC?
No. A cluster placement group is scoped to a single Availability Zone, which is what lets instances share a high-bandwidth, low-latency network segment. If you need multi-AZ resilience you would use a spread placement group instead, trading away the tight coupling.
Which AWS Direct Connect Design Provides Maximum Resiliency?
Why is option A not maximum resiliency despite two Direct Connect locations?
A uses two locations and two separate devices, but only from the primary data center, so the secondary site has no dedicated Direct Connect connection and stays dependent on the primary.
Is option D's single connection per data center on separate devices resilient enough?
No. One Direct Connect location remains a single point of failure, and each data center is single-homed, so D reaches high resiliency at best rather than maximum.
How to Minimize EC2-to-S3 Data Transfer Costs from Private Subnets?
Why is a NAT gateway not sufficient for private EC2 instances accessing S3?
NAT gateways do provide outbound access, but they charge hourly plus per-GB data processing, so heavy S3 traffic becomes expensive and the data still leaves the AWS private network path.
When would an AWS PrivateLink interface endpoint for S3 be the better choice?
Interface endpoints are needed for on-premises, peered, or cross-Region clients that cannot use route-table gateway endpoints, but they add hourly and per-GB charges that fail this cost requirement.
Encrypting S3 Archival Data Before Upload to AWS?
Why is SSE-KMS not enough to encrypt data before it is sent to AWS?
SSE-KMS encrypts objects only after they arrive at Amazon S3, so the plaintext reaches AWS first. The requirement demands encryption before transmission, which only client-side encryption provides.
Can an S3 managed encryption key be used for client-side encryption?
No. An S3 managed key (SSE-S3) is a server-side encryption key managed by AWS; client-side encryption must use a key the application controls, such as an AWS KMS key.
Which Serverless Pair Handles a 30-Minute Kinesis Streaming Job?
Why is Lambda with Step Functions wrong for the 30-minute job?
Lambda has a 15-minute maximum execution timeout per invocation, and Step Functions cannot extend that limit. The job takes 30 minutes, so B cannot host the processing work.
Why is Kinesis Data Firehose preferred over AWS DMS for ingestion here?
Kinesis Data Firehose ingests streaming application data serverlessly and scales automatically, while AWS DMS is designed for database migration and replication, not near-real-time streaming ingestion.
How Can EC2 Reach Amazon S3 Without Using the Public Internet?
Why is an internal Network Load Balancer the wrong way to reach Amazon S3 from EC2?
Amazon S3 buckets cannot be registered as Network Load Balancer targets, since an NLB forwards Layer 4 TCP/UDP traffic to EC2 instances, IP addresses, or Lambda. Option B is therefore not a supported private path to S3.
Does a gateway VPC endpoint really keep S3 traffic off the public internet?
Yes. It creates a private path to S3 within the AWS network, and the route-table entry for the S3 prefix list directs S3-bound traffic to that endpoint without an internet gateway, NAT device, or public IP.
Which AWS Tool Generates EBS Volume Cost Optimization Recommendations?
Why is Amazon CloudWatch not enough for EBS volume cost optimization?
CloudWatch provides raw EBS metrics but no right-sizing recommendations or dollar savings estimates; Compute Optimizer consumes those metrics to generate actionable recommendations.
Does AWS Compute Optimizer provide estimated monthly savings for EBS volumes?
Yes. It analyzes EBS volume utilization and can project monthly savings from changing volume type, size, or provisioned IOPS to match workload needs.
Identifying Non-Versioned S3 Buckets Across Regions
Why is IAM Access Analyzer incorrect here?
IAM Access Analyzer only evaluates bucket policies and ACLs for unauthorized access risks. It cannot check bucket properties like versioning.
What if AWS Config was an option?
AWS Config would also be a valid answer for auditing configuration compliance, but between Storage Lens and Access Analyzer, only Storage Lens reports on versioning status.
SQS FIFO for Exactly-Once Order Processing
Why not use SNS Standard for notifications?
SNS Standard guarantees at-least-once delivery, meaning duplicates can occur. It does not guarantee message ordering, which is critical for order processing.
Does SQS FIFO impact scalability?
No. SQS FIFO queues scale automatically to handle high volumes of requests. You can also enable High-throughput mode to further increase throughput.
Serverless AuthZ/AuthN with Lambda@Edge and CloudFront
Why can't I use standard AWS Lambda for authorization?
Standard Lambda runs in specific regions. For global low-latency access, Lambda@Edge executes code at CloudFront edge locations closer to the user.
Is S3 Transfer Acceleration suitable for authorization?
No, S3 Transfer Acceleration is designed to speed up file uploads to S3, not to manage user access policies or authentication flows.
Prevent EC2 Instance Launches with Least Overhead
Why not use IAM Deny statements in each account?
IAM policies must be maintained individually in each account. With many accounts, this creates high operational overhead compared to a single SCP applied at the organization level.
Can AWS RAM restrict EC2 launches?
No. AWS Resource Access Manager (RAM) is used for sharing resources like VPC subnets or RDS instances between accounts, not for controlling API permissions or preventing resource creation.
High Availability for Transport Layer Apps on EC2
Why is an Application Load Balancer (ALB) incorrect here?
The question specifies the application uses the transport layer (TCP), not the application layer (HTTP/HTTPS). An ALB is designed for Layer 7 routing and would be an unnecessary cost.
Can I use Route 53 instead of an NLB for this scenario?
Route 53 can distribute traffic across AZs, but it does not perform health checks at the application level or balance loads within an AZ as effectively as an ELB. It also has DNS propagation delays, making it less ideal for immediate HA compared to an NLB+ASG setup.
Cost-Effective Serverless Contact Form on S3
Why not use ECS for the dynamic part?
ECS requires running containers continuously or warming them up, which is expensive for <100 visits/month. Lambda scales to zero.
How does SNS send the email?
SNS can subscribe to an email endpoint (SES or SMTP relay). It acts as the fan-out service to notify the team upon form submission.
AWS Cost and Usage Report Dashboard with QuickSight and Athena
Why not use CloudWatch for the dashboard?
CloudWatch is for operational metrics/logs, not for querying large S3-based financial reports like CUR.
Can QuickSight query S3 directly without Athena?
QuickSight can connect to S3, but Athena provides the SQL engine needed to efficiently query structured CUR files for custom dashboards.
Three-Tier Web App Security Group Rules
Why don't we need explicit outbound rules?
AWS security groups are stateful. Once an inbound rule allows traffic, the corresponding outbound response traffic is automatically allowed.
Can I use IP addresses instead of SG IDs?
Yes, but using Security Group IDs is more dynamic and secure as it adapts to instance changes without manual IP updates.
Optimizing Savings Plans for Mixed AWS Compute Services
Does Compute Savings Plan cover SageMaker?
No. Compute Savings Plans cover EC2, Lambda, and Fargate. SageMaker requires a Machine Learning Savings Plan.
Can one Savings Plan cover all these services?
No. You need at least two: a Compute Savings Plan for general compute and an ML Savings Plan for SageMaker.
Migrating SQL Server to Aurora with Minimal Code Changes
Does AWS DMS rewrite application SQL code?
No. AWS DMS migrates data between heterogeneous databases but does not modify or rewrite the SQL queries inside your application code.
What is the role of Babelfish in this migration?
Babelfish allows Aurora PostgreSQL to accept connections and T-SQL queries from existing SQL Server applications, eliminating the need to rewrite application code.
Identifying Non-Versioned S3 Buckets with Storage Lens
Why not use CloudTrail to find non-versioned buckets?
CloudTrail logs API calls but doesn't natively aggregate bucket configuration states like versioning status into a dashboard for easy identification.
Does Storage Lens cover all AWS regions?
Yes, S3 Storage Lens can collect metrics across multiple AWS regions and accounts if configured to do so, making it suitable for global companies.
S3 Multi-Region Access Points for Low-Latency Global Storage
Why not just use regional endpoints with DNS routing?
Regional endpoints require the application to know which region is best and manage failover manually. MRAP provides a single global endpoint that AWS handles automatically.
Does MRAP replicate data between regions?
No, MRAP only routes traffic. You must separately configure S3 Cross-Region Replication (CRR) to copy objects between the buckets in different regions.
AWS SMB Storage Solution Least Overhead
Does Storage Gateway Volume Gateway support SMB?
No. Volume Gateway provides iSCSI block storage. Only Storage Gateway File Gateway supports SMB/CIFS.
Why not use an EC2 Windows instance for file sharing?
While possible, EC2 requires manual OS patching, role installation, and HA configuration, creating higher administrative overhead than FSx.
Aurora Global Database for Disaster Recovery
Why not use Cross-Region Replication?
Cross-Region Replication often involves asynchronous replication and lacks the seamless, managed automated failover capabilities inherent to Aurora Global Database.
Does Aurora Global Database impact performance?
No, it replicates data with no impact on database performance, providing low-latency reads and synchronous writes to secondary regions.
Running Stateful Jobs on AWS Fargate with EventBridge
Why can't I use AWS Lambda for a 1-hour job?
AWS Lambda has a maximum synchronous execution timeout of 15 minutes. Even with asynchronous invocation, processing a single continuous 1-hour stateful task is not supported.
Is Amazon EventBridge Scheduler better than CloudWatch Events?
EventBridge Scheduler is the newer, simplified scheduling service recommended for creating cron-based schedules for various AWS targets including ECS tasks, replacing older CloudWatch Events patterns.
Amazon Security Lake for Centralized Security Data
Why is AWS Lake Formation not the best choice here?
Lake Formation is a governance tool. While it can host data, you still need to build the ingestion pipeline (e.g., with Glue), whereas Security Lake automates the collection of security-specific logs.
Does Security Lake replace CloudTrail?
No, it aggregates CloudTrail along with VPC Flow Logs, GuardDuty findings, and third-party data into a single location for easier analysis.
Hybrid ECS with Fargate and Anywhere
Why can't I use Fargate for on-premises containers?
Fargate is a serverless compute engine provided by AWS that runs exclusively within the AWS Cloud. It cannot execute on physical on-premises hardware.
Is Network Load Balancer suitable for HTTP traffic?
No, NLB operates at Layer 4 (Transport Layer) and forwards raw TCP/UDP traffic. HTTP traffic requires Layer 7 processing, which is handled by an Application Load Balancer.
Migrating SQL Server to AWS with Reduced Overhead
Why not use EC2 with KMS for encryption?
EC2 is Infrastructure as a Service (IaaS), requiring you to manage the OS, database software, and backups manually. This creates high operational overhead, contradicting the requirement to reduce it.
Can we migrate SQL Server to DynamoDB directly?
No. DynamoDB is a NoSQL database, while SQL Server is relational. Migrating would require significant application code changes to adapt to the different data model and query patterns.
AWS WAF Integration with ALB and Auto Scaling
Can AWS WAF be attached directly to an Auto Scaling Group?
No, AWS WAF cannot be directly associated with an Auto Scaling Group. It must be attached to a supported resource like an ALB, API Gateway, or CloudFront distribution.
Why is a Placement Group not suitable for this availability scenario?
Placement Groups are designed for low-latency, high-throughput networking between instances, not for high availability or fault tolerance across Availability Zones.
Event-Driven Image Processing with Lambda and SQS
Why is SQS preferred over SNS for triggering Lambda?
SQS provides buffering and retry capabilities, ensuring messages are processed even if Lambda fails or scales slowly. SNS is a pub/sub service that delivers notifications immediately but does not buffer messages if the subscriber is overwhelmed.
Can Lambda handle 2-minute processing times?
Yes, the maximum execution timeout for AWS Lambda is 900 seconds (15 minutes), which comfortably covers the 2-minute requirement specified in the scenario.
AWS Global Accelerator and NLB for Hybrid Workloads
Why can't I use an Application Load Balancer for the UDP traffic?
ALBs operate at Layer 7 and only support HTTP/HTTPS. They cannot process raw UDP or TCP streams required by the application.
Does Global Accelerator work with on-premises endpoints?
Yes, Global Accelerator can route traffic to on-premises servers via IP addresses as endpoints, provided they are reachable from the AWS edge locations.
EBS Snapshot Recycle Bin for Accidental Deletion Prevention
Can I restore snapshots from Recycle Bin?
Yes, within the retention period, you can restore any EBS snapshot moved to Recycle Bin back to its original state.
Does Recycle Bin increase storage costs?
Snapshots remain in Recycle Bin during the retention period, so you pay standard EBS snapshot storage fees until they are automatically deleted after the period expires.
Secure External Access to EC2 via Systems Manager
Why is Session Manager better than SSH for private subnets?
Session Manager initiates outbound connections, so you don't need to open inbound port 22. It also provides encrypted sessions and detailed CloudTrail logs without managing SSH keys.
Can I use Session Manager without installing the SSM Agent?
No, the SSM Agent must be installed and running on the EC2 instance to establish the secure channel with the AWS Systems Manager service.
Cost-Optimized RDS Read Replica for Reporting Workloads
Why can't I use the Multi-AZ standby for reports?
Multi-AZ standbys are strictly for failover and are not exposed for endpoint connections. You cannot route read traffic to them.
Is a cross-Region replica ever cheaper?
No, cross-Region replicas incur data transfer charges between regions, making them more expensive than same-region replicas for identical functionality.
Amazon CloudWatch Detailed Monitoring Granularity
What is the difference between standard and detailed monitoring?
Standard monitoring collects metrics every 5 minutes. Detailed monitoring collects metrics every 1 minute and incurs additional costs.
Can I use CloudWatch Logs for performance analysis?
CloudWatch Logs store application logs, not performance metrics. For performance analysis, use CloudWatch Metrics.
Cost-Effective S3 Thumbnail Generation with Lambda
Why is EC2 not cost-effective here?
EC2 incurs hourly charges while running. For 150 daily uploads, paying for 24/7 uptime is far more expensive than paying milliseconds of Lambda time.
Can S3 Storage Lens trigger Lambda?
No. S3 Storage Lens is strictly for analytics and dashboards. It cannot execute code or interact with other AWS services like Lambda.
S3 Batch Operations with S3 Inventory for Lifecycle Deletion
Why not use an EC2 instance to run a deletion script?
EC2 is not serverless and incurs ongoing costs and management overhead. The question specifically requires a serverless solution.
Can S3 Batch Operations filter objects without Lambda?
Yes, but for complex logic like excluding retained subsets, Lambda provides the necessary flexibility to process each object's metadata during the batch job.
Least Privilege S3 Access for AWS Lambda
Why is Option D not the best answer?
While bucket policies can use ARN conditions, they are less flexible and harder to manage for many functions compared to dedicated IAM roles.
Can I use a single IAM role for all Lambda functions?
No, this violates least privilege. You should create separate roles to limit access to only what each specific function needs.
Real-time Gaming Leaderboard with ElastiCache Persistence
Why not use DynamoDB for this?
While DynamoDB persists data, ElastiCache Redis offers lower latency for frequent read/write updates typical in real-time leaderboards.
Does Memcached have any persistence?
No, Memcached is purely in-memory. Any restart results in total data loss, making it unsuitable for this requirement.
AWS KMS Key Management for Multi-Tenant Data
Why is Option A not suitable for centralized key management?
Storing keys in S3 lacks the centralized audit trail and fine-grained access control that AWS KMS provides natively.
Does using separate KMS keys increase costs significantly?
While there is a small cost per key, it is negligible compared to the operational overhead of managing external appliances or manual key storage.
Resilient Web Application Architecture with SQS and Auto Scaling
Why use SQS instead of just letting EC2 process directly?
SQS decouples the web tier from the processing tier, allowing the system to absorb traffic spikes without losing orders or crashing.
Why is RDS Multi-AZ preferred over single-instance DB?
Multi-AZ ensures high availability and automatic failover, meeting the requirement to not lose customer orders during failures.
Decoupling Monolithic App with Auto Scaling and RDS Read Replicas
Why is an Auto Scaling group with min=max=1 valid?
It demonstrates the architectural pattern. Even if currently set to one instance, it configures the system to scale out if needed, unlike a static instance.
Can I send write traffic to an RDS Read Replica?
No. RDS Read Replicas are strictly read-only. Any write operations must go to the primary DB instance to maintain data integrity.
Least Overhead IAM Permission Review in AWS Organizations
Why isn't Amazon Inspector used for IAM policy reviews?
Amazon Inspector scans EC2 instances and container images for software vulnerabilities, not IAM policies or user permissions.
Does IAM Access Analyzer work across multiple AWS accounts?
Yes, when enabled in AWS Organizations, it can analyze resources and permissions across all member accounts centrally.
AWS Shield Advanced for DDoS Protection
Why is AWS WAF not sufficient for DDoS?
WAF focuses on web application layer threats like SQL injection, whereas DDoS attacks overwhelm infrastructure capacity, requiring Shield.
Does Shield Advanced integrate with Route 53?
Yes, Shield Advanced can protect Route 53 DNS records to prevent DNS-based DDoS attacks alongside EC2 and ALB resources.
Lambda SNS KMS Encryption Permissions
Why does Lambda need KMS permissions if SNS encrypts?
Lambda doesn't need KMS permissions directly. However, the SNS service needs KMS permissions in the key policy to encrypt the message on behalf of Lambda when using a CMK.
Is specifying the Lambda ARN in the SNS policy enough?
No. Specifying the ARN (Option D) allows the call, but without the KMS key policy (Option C), the SNS topic cannot encrypt the payload using the Customer Managed Key.
Amazon EKS Custom Subnet for Pods Configuration
Why can't we use Kubernetes Network Policies to assign subnets?
Network policies only filter traffic (allow/deny). They do not assign IP addresses or determine which VPC subnets pods are placed in.
Does the VPC CNI plugin support IPv6 for pods?
Yes, the VPC CNI plugin supports both IPv4 and IPv6 addressing for pods, allowing flexible subnet configuration.
Mitigating RDS Single Point of Failure with Least Effort
Can I enable Multi-AZ on an existing RDS instance?
Yes, you can modify an existing RDS instance to enable Multi-AZ deployment during a maintenance window or immediately.
Why is DynamoDB not the best choice here?
Migrating to DynamoDB requires schema redesign and application changes, which contradicts the 'least implementation effort' requirement.
AWS Multi-Protocol Storage with FSx for NetApp ONTAP
Does S3 File Gateway support SMB?
No, Amazon S3 File Gateway only exposes data via the NFS protocol. It cannot serve SMB shares to Windows clients.
Can FSx for Lustre support SMB?
No, FSx for Lustre is optimized for high-performance computing and only supports the NFS protocol.
Optimizing EC2, ASG, and EBS Costs with AWS Compute Optimizer
Why not use AWS Cost Explorer for cost optimization?
Cost Explorer helps visualize and forecast costs but does not provide specific resource-level optimization recommendations like Compute Optimizer does.
Does Compute Optimizer cover EBS volumes?
Yes, AWS Compute Optimizer analyzes EBS volume usage and provides recommendations to right-size volumes or switch to more cost-effective storage classes.
Shared File Storage for Multi-AZ EC2 Instances
Can EBS volumes be shared across multiple EC2 instances?
Standard EBS volumes attach to one instance. Multi-Attach allows limited sharing on specific io1/io2 volumes, but EFS is the primary solution for general-purpose multi-instance file sharing.
Why not use S3 for sharing data between EC2 instances?
S3 is object storage accessed via API/SDK. It cannot be mounted as a native file system volume like EFS or EBS, making it unsuitable for applications requiring POSIX file semantics.
Most Cost-Effective RDS and EC2 Savings Strategy
Why not choose No Upfront for better cash flow?
No Upfront preserves cash but offers the smallest discount. Since the question asks for 'MOST cost-effective,' total price matters more than cash flow timing.
Is a Savings Plan better than Reserved Instances for EC2?
EC2 Instance Savings Plans offer similar discounts to RIs but provide flexibility across instance families. Both are valid cost-saving mechanisms when paired with All Upfront/Long Term.
IRSA for EKS: IAM Role and OIDC Trust Setup
Why can't I attach the IAM policy directly to the EKS node?
Attaching to the node grants permissions to all pods on that node, violating least privilege. IRSA scopes permissions to specific service accounts.
What is the role of the OIDC provider in IRSA?
The OIDC provider enables the IAM role to trust tokens issued by the EKS cluster's Kubernetes service account, allowing dynamic assumption of the role.
Cost Allocation Tags for Application Cost Breakdown
Do I need to activate tags before they show in Cost Explorer?
Yes. You must explicitly activate Cost Allocation Tags in the Billing Console. Until activated, AWS ignores them for billing segmentation.
Why is RDS not the most cost-effective solution here?
Running an RDS instance incurs hourly costs. Cost Explorer is included with AWS billing at no extra charge, making it far more cost-effective for simple reporting.
Gateway Load Balancer for Cross-Account Traffic Inspection
Why can't I use an NLB for security appliance inspection?
NLBs do not support the GENEVE protocol required by most third-party security appliances for transparent traffic inspection.
What is the role of the GWLB endpoint in the application account?
It acts as a target for traffic, directing it via GENEVE tunnels to the GWLB in the networking account for inspection.
Aurora Custom Endpoint for Selective Replica Routing
Can I use the Reader Endpoint to exclude low-spec replicas?
No. The Reader Endpoint balances traffic across ALL available reader instances in the cluster and does not support filtering or excluding specific nodes.
What happens if a custom endpoint member fails?
Aurora automatically removes the failed instance from the custom endpoint and routes traffic to the remaining healthy members in that specific group.
Securely Managing Database Credentials with AWS Secrets Manager
Why can't I use Parameter Store for automatic rotation?
Parameter Store does not have a native, built-in mechanism for automatically rotating secrets. You would need to build and maintain custom Lambda functions or scripts to handle rotation, which increases operational overhead significantly compared to Secrets Manager.
Is KMS suitable for storing database passwords?
No. AWS KMS is designed for managing encryption keys used to encrypt data. It is not intended for storing application secrets like database usernames and passwords, nor does it provide functionality for rotating those credentials.
AWS PrivateLink for Secure SaaS Connectivity
Why isn't Option C correct if we want to restrict inbound traffic?
PrivateLink is bidirectional; the SaaS provider needs to send data back to your VPC. Blocking all inbound would break the service.
Can I use Transit Gateway instead of PrivateLink for SaaS?
Transit Gateway routes traffic but doesn't provide the private service endpoint integration that PrivateLink offers for SaaS APIs.
Secure Credential Management for RDS with Minimal Effort
Why not use Parameter Store for secret rotation?
Parameter Store stores secrets securely but does not have a built-in feature for automatic rotation. You must write custom Lambda code and logic to rotate them, which violates the 'minimal programming effort' requirement.
Is KMS used for storing database passwords?
No. KMS is used to encrypt data, including the secrets stored in other services like Secrets Manager. It does not store or manage the lifecycle of database credentials themselves.
How to Connect On-Premises to a Transit Gateway with Single-Digit Latency?
Why isn't a Site-to-Site VPN attached to the Transit Gateway cheaper and sufficient here?
VPN traffic crosses the public internet, so latency is variable and cannot be guaranteed at single-digit milliseconds. It is cheaper, but it fails the stated latency requirement.
Why does the Direct Connect gateway need a transit VIF instead of a private VIF?
A transit VIF is what allows the Direct Connect gateway to be associated with a Transit Gateway, giving one dedicated connection reach to every attached VPC.
SQS Queue Depth Auto Scaling for Stateless Applications
Why can't we use SNS topics for durable job storage?
SNS is a pub/sub messaging service that delivers messages to multiple subscribers instantly. It does not store messages for later retrieval or handle retries for failed consumers, making it unsuitable for durable job queuing.
Is CPU usage ever a good metric for scaling based on job count?
CPU usage is only a good proxy if each job has a consistent and predictable computational cost. If job complexity varies, queue depth (backlog) is a much more accurate indicator of the required compute capacity.
Least Overhead Modular Architecture with Structured Data
Why not use Lambda for a modular architecture?
Lambda is function-as-a-service, which can be hard to modularize from a monolith. Containers on Fargate allow you to break down services more naturally while keeping code packaged together.
Is EKS ever the best choice for least overhead?
No. EKS requires managing the Kubernetes control plane and worker nodes (unless using Fargate profile, but even then, configuration is heavier). ECS with Fargate is simpler and has less operational overhead.
EMR Runtime Roles for Scoped Access and IMDSv2
Why can't I use EC2 Instance Profiles for this scenario?
Instance profiles attach permissions to the EC2 node itself, meaning all jobs on that node share the same permissions. They also require accessing IMDS to get temporary credentials, which violates the requirement.
Does enabling IMDSv2 solve the metadata access issue?
No, the requirement is to ensure workloads do NOT access IMDSv2. EMR runtime roles achieve this by injecting credentials directly into the job environment rather than fetching them from the metadata service.
SQS FIFO for Exactly-Once Processing
Why not SQS Standard queue?
Standard queues provide at-least-once delivery, which allows duplicates. The requirement explicitly states 'exactly once', so Standard is invalid.
Does FIFO impact speed?
FIFO queues have slightly lower throughput than Standard but still meet most 'quick' processing needs. The trade-off is necessary for the consistency guarantee.
Least Operational Overhead for ASP.NET Containerization
Why is App Runner not used for containerization?
App Runner is a service for deploying and scaling web applications and APIs directly from source code or container images. It does not perform the act of containerization itself, which is why App2Container is the correct tool for this step.
Does ECS on Fargate support CloudWatch metrics for scaling?
Yes, Amazon ECS on Fargate supports Application Auto Scaling based on CloudWatch metrics, such as CPU utilization, memory usage, or custom application metrics, allowing for elastic scaling without managing servers.
Least Overhead Credential Storage and Retrieval
Is BatchGetSecretValue part of AWS Batch?
No, it is a native API call within AWS Secrets Manager. It does not require the AWS Batch compute service.
Why not use Parameter Store for passwords?
Parameter Store is designed for configuration data. Secrets Manager offers native encryption, rotation, and auditing specifically for sensitive secrets like passwords.
AWS Backup for RDS Oracle 90-Day Retention
Why can't I just increase the RDS Automated Backup retention to 90 days?
Amazon RDS Automated Backups have a hard maximum retention limit of 35 days. You cannot configure them for longer periods.
Is AWS Backup required if I already have Automated Backups enabled?
Yes, if you need retention beyond 35 days. AWS Backup complements automated backups by allowing extended retention policies via backup plans.
Cost-Optimized Variable Relational Database on AWS
Why is DynamoDB not suitable here?
The question explicitly requires a 'relational database.' DynamoDB is a NoSQL key-value store, so it does not meet the fundamental architectural requirement.
Can RDS with Provisioned IOPS be cost-optimized?
No. Provisioned IOPS requires you to reserve and pay for a specific amount of I/O capacity regardless of actual usage, which is inefficient for variable traffic.
IAM Identity Center vs IAM Roles for Least Privilege
Why not use IAM Roles for EC2 instead of Identity Center?
IAM Roles are ideal for AWS services, but for human users accessing the console/API, Identity Center provides centralized group-based management which has lower overhead than individual role assignments.
Is separating teams into different AWS Accounts (Option D) better?
While isolation is good, creating separate accounts for each team introduces high operational overhead in account management, billing, and cross-account role configuration, violating the 'least overhead' constraint.
On-Premises Access to S3 via IAM Roles Anywhere
Why not store S3 access keys in Secrets Manager?
Secrets Manager stores long-term static credentials. IAM Roles Anywhere provides short-lived temporary credentials, reducing risk if compromised.
Does IAM Roles Anywhere integrate with IAM Identity Center?
Yes, it can be configured to trust certificates issued by your existing identity provider, including those managed via IAM Identity Center.
AWS Transit Gateway for Centralized On-Premises Connectivity
Can Transit Gateway connect to on-premises Direct Connect?
Yes, you can attach a Direct Connect gateway to a Transit Gateway to route traffic between VPCs and on-premises networks.
Why not use individual VPNs for each new account?
Individual VPNs require separate configuration and maintenance per account, increasing operational overhead compared to a centralized Transit Gateway.
Cost-Optimized Global Dynamic Content Delivery
Can CloudFront really handle dynamic content efficiently?
Yes, CloudFront can serve dynamic content by fetching it from the origin (like an ALB) when not cached, or by caching dynamic responses if TTLs are set appropriately.
Why is Route 53 not the best choice for this scenario?
Route 53 only routes traffic based on geography; it does not cache or accelerate content delivery like CloudFront, leading to higher latency and origin load.
S3 Intelligent-Tiering for Variable Access Patterns
Why not use S3 Standard-IA?
S3 Standard-IA requires manual management or lifecycle policies to move data, whereas Intelligent-Tiering automates this based on actual access patterns, ensuring optimal cost without retrieval fees.
Does Intelligent-Tiering have retrieval fees?
No, S3 Intelligent-Tiering does not charge retrieval fees for any tier, unlike S3 Standard-IA or Glacier classes which may incur fees when accessing archived data.
Amazon EFS for Shared Data in Auto Scaling Groups
Why can't we use a single EBS volume for multiple instances?
Standard EBS volumes can only be attached to one EC2 instance at a time. While Multi-Attach exists for io1/io2, it does not support general purpose gp2/gp3 volumes.
Does EFS require code changes for Linux applications?
No, EFS uses the NFSv4.1 protocol, which is native to Linux. Applications can mount the file system via standard mount commands without modification.
Enforcing EC2 Tag Presence and Values in AWS Organizations
Why can't I use just one Tag Policy?
Tag Policies only validate tag values and keys; they cannot deny API actions like RunInstances if a tag is missing.
Can SCPs enforce specific tag values like 'sensitive'?
No. SCPs can only check if a tag exists or not. To restrict values, you must use an Organizations Tag Policy.
Cost-Effective RDS Backup Retention Policy
Why is AWS Backup not the best choice here?
AWS Backup is a separate service that incurs additional costs. Since RDS has native automated backup retention, using AWS Backup adds unnecessary expense for a single-region, single-account scenario.
Can I automate manual snapshot deletion for free?
Not natively within RDS. Manual snapshots require explicit deletion. While Lambda could automate this, the question asks for the MOST cost-effective solution, and manual deletion has zero monetary cost compared to running Lambda functions.
Secure On-Premises to RDS Connectivity
Why is Option C (Security Groups only) not secure enough?
Security Groups filter traffic but do not encrypt it. Traffic goes over the public internet unencrypted. Private Subnets + VPN ensures both isolation and encryption.
Can I use Public Subnets with a VPN for RDS?
No. Best practice dictates RDS should never be in public subnets. Even with a VPN, public IPs increase the attack surface unnecessarily.
Automate Database Credential Rotation with AWS Secrets Manager
Why not use Systems Manager Parameter Store for password rotation?
Parameter Store does not have built-in automatic rotation for database credentials. You must write and maintain custom Lambda code to rotate the password, which increases operational effort.
Can I rotate Aurora credentials manually without Secrets Manager?
Yes, but it is high-effort. You would need to manage the lifecycle of the credentials, update connection strings in your application, and ensure security compliance manually.
Amazon EKS with Fargate for Least Operational Overhead
Why not use Managed Node Groups for least overhead?
Managed Node Groups still require you to manage the node group itself, including scaling configurations and ensuring capacity. Fargate removes the node abstraction entirely.
Does Fargate support all Kubernetes features?
Fargate supports most standard Kubernetes features but may have limitations regarding certain daemonsets or host-networking pods compared to EC2-backed nodes.
Cost-Effective Scalable Database for Structured Data
Why is Amazon RDS On-Demand not the best cost option?
On-Demand RDS charges for the entire instance capacity continuously, even during low traffic. Aurora Serverless scales down to zero compute units, reducing costs significantly for spiky workloads.
Can I use Spot Instances for production databases?
Generally no. Spot Instances can be interrupted with a two-minute warning, leading to potential data loss or downtime. Databases require high availability and persistence that Spot Instances cannot guarantee.
Ensuring Private Traffic to Amazon S3 with VPC Endpoints
Why can't I just move the S3 bucket into the VPC?
Amazon S3 is a global service and cannot reside inside a VPC. You must use VPC endpoints to access it privately.
Is an S3 Access Point enough to stop public internet traffic?
No. An Access Point manages permissions but doesn't change routing. You still need a VPC Endpoint to keep traffic off the public internet.
Fastest Way to Aggregate Global S3 Data into One Bucket?
Why is S3 Cross-Region Replication (option B) not the best choice here?
CRR needs a staging bucket per site, versioning, replication rules, and origin cleanup, and it charges cross-Region transfer fees. Transfer Acceleration gets data to the destination bucket in one hop using AWS's edge network.
Does multipart upload require very large objects to be valid in option A?
Multipart upload works for any object above the minimum part sizes and is recommended for large or parallel uploads. Sites pushing 500 GB daily routinely exceed these thresholds, so it is a valid performance booster.
Querying S3 JSON Logs with Minimal Overhead
Why not use Amazon Redshift to query the JSON logs in S3?
Redshift requires loading the logs into a provisioned cluster you must create, scale, and patch, adding cost and steps. For simple on-demand queries, Athena's serverless in-place SQL is far lower overhead.
Can Amazon CloudWatch Logs run SQL queries on S3 log files?
No. CloudWatch Logs is for log ingestion, storage, and metric filters/insights on its own log groups; it cannot run ANSI SQL against an S3 bucket, so it fails both the query and minimal-change requirements.
Limit S3 Bucket Access to AWS Organization Accounts
Why isn't aws:PrincipalOrgPaths with an OU the right choice here?
It does restrict access to the organization, but it requires creating and maintaining department OUs and an exact path string. The question asks for the LEAST operational overhead, which aws:PrincipalOrgID satisfies with one policy edit.
Does aws:PrincipalOrgID cover accounts that join the organization later?
Yes. The condition key is evaluated at request time against the principal's account membership, so newly added accounts gain access automatically without any bucket policy change.
Private S3 Access From EC2 Without Internet
Why doesn't an instance profile give the EC2 instance private access to S3?
An instance profile only attaches an IAM role so S3 API calls are authorized; it does not change the network path, so traffic would still require an internet gateway or NAT device.
Should I use an interface endpoint instead of a gateway endpoint for S3?
No. S3 and DynamoDB support gateway endpoints, which are free and route via route tables; interface endpoints (PrivateLink) are used for other AWS services.
Migrating 70 TB On-Premises NFS Data to Amazon S3
Why doesn't S3 File Gateway count as using the least possible network bandwidth?
S3 File Gateway still transfers all 70 TB of data over the network (internet or Direct Connect) to reach S3. Unlike Snowball Edge, which physically ships data on a device, File Gateway relies entirely on network connectivity.
How long does Direct Connect provisioning take and why does it matter here?
Direct Connect typically takes 4–8 weeks to provision a new physical connection. Since the question requires migrating 'as soon as possible,' the long setup time makes Direct Connect unsuitable compared to Snowball Edge's 6–9 day timeline.
Can Snowball Edge handle files up to 500 GB?
Yes. Snowball Edge devices support large individual files well beyond 500 GB. The device capacity per job is approximately 80 TB, easily accommodating the 70 TB total dataset in this scenario.
How to decouple and scale ingestion of 100,000 messages per second?
Why is Kinesis Data Streams with a single shard wrong for 100,000 messages per second?
A single Kinesis shard supports roughly 1 MB/s or 1,000 records/s, so it cannot absorb a sudden 100K/sec burst. Option D scales through SNS fan-out to multiple SQS queues.
Does SNS fan-out to SQS still fit if dozens of microservices consume the same messages?
Yes. Each microservice gets its own SQS subscription and queue, so it consumes independently, buffers bursts, and can scale or retry without affecting other consumers.
Extending SMB Storage with S3 File Gateway Lifecycle
Why is Amazon FSx for Windows File Server wrong if it extends SMB storage?
FSx adds capacity and low-latency SMB access but has no built-in lifecycle management, so it fails the requirement to prevent future storage issues.
Why does S3 Glacier Deep Archive work for files older than 7 days?
Those files are rarely accessed, so the long retrieval time of Deep Archive is acceptable and it minimizes archival storage cost.
Ensuring Ordered Order Processing with SQS FIFO
Why is an SQS standard queue wrong when it can also trigger Lambda?
Standard queues provide high throughput but only best-effort ordering, so messages may be processed out of sequence. The requirement here is strict arrival-order processing, which only a FIFO queue satisfies.
Why can't an SNS topic preserve order for these orders?
SNS is a pub/sub notification service that fans out messages to subscribers without durable, ordered queuing. A standard SNS topic has no ordering guarantee, so a FIFO queue is required.
Minimizing Credential Overhead for EC2 and Aurora
Why can't I use Parameter Store to rotate the Aurora credentials automatically?
Parameter Store has no built-in rotation engine for database credentials. You would have to author, deploy, and maintain your own Lambda rotation function, which defeats the goal of minimizing operational overhead.
Why is moving the credential file to an S3 bucket or EBS volume not enough?
S3 and EBS only relocate the stored file; the application still reads static credentials and someone must still update the file on every rotation. Neither service performs automatic credential rotation for you.
Aurora Multi-AZ Auto Scaling for Read-Heavy Ecommerce DB
Why is RDS with reader instances in another AZ (Option B) not correct?
Option B specifies a Single-AZ deployment, so the primary has no synchronous standby for high availability, and readers are added manually rather than autoscaled for unpredictable read demand.
Can Aurora Auto Scaling replicas replace the MySQL database on EC2 for an ecommerce app?
Yes. Aurora is MySQL-compatible, so schema and drivers carry over, and Aurora Replicas share the cluster volume to add read capacity without extra storage or write overhead.
Decoupling Lambda Ingestion and Aurora Writes with SQS
Why is SNS wrong when both options C and D use two Lambda functions?
SNS pushes each message to the second Lambda immediately, so the loader still faces the full ingest rate and can hit concurrency limits. SQS lets the loader pull messages only when capacity is available, creating a real buffer.
Why can't we just migrate Aurora to DynamoDB with DAX to fix the Lambda quota problem?
The bottleneck is Lambda concurrency during ingestion, not database throughput. Switching to DynamoDB would force a NoSQL data-model rewrite and application changes, adding large effort without removing the quota constraint.
Protecting S3 Data from Accidental Deletion
Why isn't a bucket policy denying s3:DeleteObject a valid answer here?
A bucket policy cannot distinguish an accidental delete from an intentional one; it would block all deletes by the denied principals and still protect nothing when an authorized user removes the wrong object by mistake.
Does enabling versioning alone fully prevent accidental deletion in S3?
No. Versioning preserves prior versions and lets you restore deleted objects, but a delete marker still hides the object. MFA Delete adds the deliberate confirmation step that reduces accidental deletes in the first place.
Which S3 Storage Solution Meets Call Transcript Retrieval Requirements?
Why doesn't S3 Intelligent-Tiering guarantee the one-year fast retrieval window?
Intelligent-Tiering can move objects to infrequent or archive tiers after 30, 90, or 180 days; optional archive tiers may add retrieval latency, so it doesn't cleanly enforce a one-year hot window.
Why keep search metadata in S3 Standard rather than Amazon RDS?
Metadata is small and S3-native, so storing it in S3 Standard avoids RDS instance and management costs while still enabling fast lookup before the lifecycle transition.
How Can You Get 30-Day Notice Before Imported ACM Certificate Expiry?
Why is EventBridge plus Lambda (option D) not the best answer for ACM expiry?
An EventBridge rule routes events; it cannot itself detect certificates expiring within 30 days. AWS Config's acm-certificate-expiration-check performs that evaluation and reports noncompliance for SNS alerting.
Does acm-certificate-expiration-check cover imported ACM certificates?
Yes. The AWS Config managed rule evaluates ACM certificates, including imported ones, and reports noncompliance when they are within the configured expiry threshold; imported certificates are not auto-renewed.
Storing and Retrieving Bicycle Location Data via REST API
Why can't Amazon API Gateway connect directly to Amazon Kinesis Data Analytics?
Kinesis Data Analytics requires a Kinesis Data Streams or Kinesis Data Firehose as its input source. API Gateway cannot serve as a direct input to Kinesis Data Analytics, so the ingestion path in option D is architecturally incomplete.
How does AWS Lambda store data if it is a compute service?
Lambda does not store data itself, but it can write incoming location data to Amazon DynamoDB, Amazon S3, or directly into the company's existing analytics platform as part of its execution logic behind API Gateway.
How Should RDS Sale Data Reach Multiple Targets?
Why can't RDS event notifications detect a sold automobile?
RDS event notifications are for operational events like instance, parameter group, security group, and snapshot changes, not row-level INSERT, UPDATE, or DELETE operations.
Is FIFO SQS required for sold-car listing updates?
No. FIFO adds ordering and deduplication that the scenario does not require; a standard SQS queue is sufficient for the Lambda-to-target decoupling.
Which Tool Migrates 50 TB With Least Overhead?
Why can't AWS DataSync be used when the data center has no free bandwidth?
DataSync moves data over the network, so a 50 TB copy task would consume WAN capacity the site does not have and take weeks, violating the 'begin as soon as possible' requirement.
Doesn't running the transformation on EC2 mean less work than rebuilding it in AWS Glue?
EC2 means ongoing patching, monitoring, and instance lifecycle management. Glue is serverless and runs custom ETL scripts, so it carries lower operational overhead after the one-time job migration.
How Should Containers Run to Minimize Cost and Overhead?
Why is Spot in an EC2 Auto Scaling group (A) not the lowest-overhead choice?
A raw EC2 Auto Scaling group has no orchestrator, so you must place containers, handle Spot interruptions, and manage rollouts yourself. EKS managed node groups automate all of that.
Doesn't EKS cost extra and undermine the cost-minimization goal?
The EKS control-plane fee is small compared with running On-Demand Instances, and Spot savings of 70–90% far outweigh it. Since no ECS option is offered, EKS plus Spot is the cheapest managed path.
Serverless Data Analysis with S3 CRR and SSE-S3
Why is SSE-S3 better than SSE-KMS for this scenario?
SSE-S3 is fully managed by AWS, requiring zero key management overhead. SSE-KMS requires managing key permissions, rotation, and incurs API call costs, increasing operational complexity.
Can Amazon Athena be used to query encrypted S3 data?
Yes, Athena automatically handles decryption if the data is encrypted with SSE-S3 or SSE-KMS, provided the IAM role has access to the data and keys.
Which EC2 purchase model mix for unpredictable SQS load?
Why is Reserved + On-Demand (option D) not the most cost-effective choice?
On-Demand burst capacity costs far more than Spot, and because the queue already absorbs interruption, the extra reliability is unneeded — so D is dominated on cost by C.
Reducing RDS Reads with High Availability
Why aren't Amazon RDS read replicas enough to reduce database reads?
Read replicas only shift queries away from the primary instance; the application still issues the same total number of database reads, so overall read volume on the database tier is unchanged.
Why is ElastiCache for Memcached rejected instead of Redis?
Memcached has no replication or automatic failover, so it cannot satisfy the high-availability requirement. Redis supports replication groups with multi-AZ replicas and failover.
Private S3 Upload from EC2 Without Public Internet
Why is a gateway VPC endpoint for S3 not the right pick in this question?
Option B describes a gateway endpoint as being created per Availability Zone and attaching security groups, but gateway endpoints are VPC-level route-table targets and support no security groups. The flawed wording makes B invalid.
Why can't I route to S3 using ip-ranges.json or nslookup addresses?
S3's published service IP ranges are public internet addresses, so routing to them still sends traffic over public internet routes. Private connectivity requires a VPC endpoint instead.
Most Cost-Effective DynamoDB Capacity Mode for Predictable Workloads
Why is Standard-IA not suitable when adding reserved capacity seems cost-effective?
Standard-IA table classes are designed for data accessed infrequently (roughly once per day or less). Since the company actively analyzes this data, Standard-IA would increase read costs and defeat the purpose of cost optimization.
Can you set RCUs and WCUs in DynamoDB on-demand mode?
No. In on-demand mode, DynamoDB automatically handles capacity based on traffic, and you pay per request. You cannot specify RCUs or WCUs, and reserved capacity is not available with on-demand mode.
How to Optimize RDS Oracle Costs with Trusted Advisor in AWS Organizations?
Why is option B wrong if the RDS DB instances are in member accounts?
Trusted Advisor organizational view in the management account aggregates member-account results, so the finance team can see the relevant checks without reviewing each account separately.
Why not check RDS Idle DB Instances for high-utilization databases?
The Idle DB Instances check targets databases with no connections, while these Oracle instances have high utilization; Reserved Instance Optimization is the relevant cost-saving check.
How to Make Legacy EC2 Applications Fault Tolerant After Migration?
Why is Auto Scaling with min=1 and max=1 not fault tolerant for these legacy apps?
It keeps only one running instance at a time, so a failure causes a replacement gap and no concurrent capacity in another AZ. Fault tolerance needs a second live copy.
Why use a Network Load Balancer instead of an Application Load Balancer for the cloned EC2 servers?
NLB is Layer 4 and handles arbitrary TCP/UDP legacy workloads, while ALB is HTTP/HTTPS-specific and may not fit unmodified applications.
Which S3 encryption, replication, and serverless SQL design has least overhead?
Why doesn't CRR require KMS multi-Region keys with SSE-S3?
S3 CRR supports SSE-S3 objects and encrypts replicas with S3-managed keys, so no KMS key policy or multi-Region key administration is needed.
Why is Amazon RDS wrong for querying S3 data here?
RDS is a managed relational database, not a serverless query engine over S3, and it adds instance, schema, and database operations that Athena avoids.
How to Minimize S3 Data Transfer Costs for a Cross-Region Marketing Firm?
Why doesn't Cross-Region Replication reduce the survey company's transfer costs?
CRR copies objects to another region, but the bucket owner pays replication bandwidth and storage. It does not remove the marketing firm's request and data transfer charges.
Does Requester Pays work when another AWS account accesses the S3 bucket?
Yes. With Requester Pays enabled, the requester must include the request-payer header and its AWS account is billed for requests and data transfer.
← Back to SAA-C03 AWS Certified Solutions Architect - Associate Study Guide