A company runs a batch processing workload that can stop and restart at any time. Which EC2 purchasing option offers the largest discount but allows AWS to reclaim the instances with a short warning?
Spot Instances let you use spare EC2 capacity at discounts of up to 90 percent. AWS can interrupt them with a two-minute warning, so they are best for fault-tolerant and interruption-tolerant workloads. On-Demand and Reserved Instances do not get interrupted, and Dedicated Hosts cost more because they provide physical isolation.
题目 2
A company must retain video archives for years and can accept a retrieval time of up to 12 hours. Which S3 storage class provides the lowest storage cost for this data?
S3 Glacier Deep Archive is the lowest-cost S3 storage class and is designed for long-term archives that are rarely accessed. Its retrieval times can be up to 12 hours, which matches the requirement. S3 Standard and Intelligent-Tiering are for data that needs faster access, and One Zone-IA stores infrequently accessed data in a single Availability Zone.
题目 3
Which AWS service provides a managed relational database with automated backups, patching, and optional Multi-AZ failover?
Amazon RDS manages relational databases such as MySQL, PostgreSQL, MariaDB, Oracle, and SQL Server, including automated backups and maintenance. A Multi-AZ deployment adds a standby instance for automatic failover. DynamoDB is a NoSQL database, ElastiCache is an in-memory cache, and Neptune is a graph database.
题目 4
Which AWS service is designed for key-value and document workloads that require single-digit millisecond latency at high scale?
Amazon DynamoDB is a fully managed NoSQL database that supports key-value and document data models. It scales horizontally and provides single-digit millisecond response times. Aurora and RDS are relational databases, and Redshift is a petabyte-scale data warehouse.
题目 5
Which AWS service provides DNS resolution and can route traffic to AWS resources based on policies such as latency or failover?
Amazon Route 53 is a managed DNS service that maps names to AWS resources and supports multiple routing policies. CloudFront is a content delivery network, Transit Gateway connects networks, and Elastic Load Balancing distributes traffic to registered targets.
题目 6
An Application Load Balancer accepts HTTP and HTTPS requests and routes them to EC2 instances. At which OSI layer does it operate?
An Application Load Balancer operates at Layer 7, the application layer, and can inspect HTTP/HTTPS attributes such as paths and headers. A Network Load Balancer operates at Layer 4 for TCP and UDP traffic. Layers 2 and 3 are not where ALB works.
题目 7
Which storage option provides block-level volumes that attach to an EC2 instance in the same Availability Zone?
Amazon EBS provides durable block storage volumes that attach to one EC2 instance in the same Availability Zone. S3 and S3 Glacier are object storage, and EFS is a shared NFS file system.
题目 8
Which AWS compute service runs application code without requiring the user to provision or manage servers?
AWS Lambda executes code in response to events and automatically manages the underlying compute infrastructure. EC2 and EKS require instance or cluster management. EC2 Auto Scaling still runs workloads on EC2 instances.
题目 9
Amazon S3 Standard is designed to provide how many nines of object durability?
S3 Standard is designed for 99.999999999 percent, or eleven nines, of object durability across multiple Availability Zones. The 99.99 percent figure is the service-level availability target, not durability. No storage service can guarantee 100 percent durability.
题目 10
Which IAM identity should an EC2 instance use to call AWS services without storing long-term access keys on the instance?
An IAM role attached to an EC2 instance provides temporary credentials through the instance metadata service. This avoids embedding access keys in code or configuration files. IAM groups are permission containers, and the root user should not be used for application access.
题目 11
Which AWS service creates and manages the encryption keys used to encrypt data at rest in other AWS services?
AWS KMS creates, stores, and manages cryptographic keys and integrates with many AWS services for encryption at rest. WAF filters web traffic, Shield provides DDoS protection, and Inspector scans workloads for vulnerabilities.
题目 12
What is the relationship between an AWS Region and its Availability Zones?
Each AWS Region contains multiple isolated Availability Zones with independent power, cooling, and networking. Distributing a workload across Availability Zones improves availability. Edge locations are part of the content delivery network, not a Region concept.
题目 13
Which pillar of the AWS Well-Architected Framework focuses on avoiding unnecessary spending and matching costs to business value?
The Cost optimization pillar covers rightsizing, using appropriate pricing models, and eliminating unused resources. Security protects data and systems, Reliability handles recovery and demand, and Operational excellence improves processes and monitoring.
题目 14
Linux EC2 instances in multiple Availability Zones need to share the same file system. Which storage service supports this use case?
Amazon EFS is a scalable NFS file system that multiple Linux instances can mount at the same time, including across Availability Zones. EBS volumes attach to a single instance, instance store is ephemeral, and S3 is object storage rather than a shared POSIX file system.
题目 15
What reacts to a CloudWatch alarm and changes the desired capacity of an EC2 Auto Scaling group?
An Auto Scaling scaling policy adds or removes instances when a CloudWatch alarm indicates that a metric crossed a threshold. Route 53 records, VPC endpoints, and EBS snapshots do not change Auto Scaling capacity.
题目 16
What is the primary purpose of Amazon RDS read replicas?
Read replicas receive asynchronous copies of the primary database and serve read traffic, improving read performance. Multi-AZ provides automatic failover, and replicas do not increase write capacity. ElastiCache provides in-memory caching.
题目 17
Which AWS offering provides discounted compute rates for a 1- or 3-year commitment while allowing changes across instance families and Regions?
Compute Savings Plans offer flexible discounts across EC2, Fargate, and Lambda without locking to a specific instance family. Reserved Instances are more restrictive. On-Demand has no commitment or discount, and Spot Instances can be interrupted.
题目 18
Which AWS service stores database passwords and can automatically rotate them on a schedule?
AWS Secrets Manager stores secrets and supports automatic rotation using an AWS Lambda rotation function. IAM manages identities and permissions, AWS Backup manages backups, and CloudWatch monitors metrics.
题目 19
Which AWS service records API activity in an account so that administrators can audit who performed which action?
AWS CloudTrail captures API calls made in an account and stores them in an event history for auditing. CloudWatch monitors metrics and logs, Trusted Advisor checks best practices, and Cost Explorer analyzes spending.
题目 20
Which AWS service collects metrics, stores logs, and raises alarms when thresholds are breached?
Amazon CloudWatch collects metrics and log data from AWS resources and can trigger alarms. CloudTrail audits API calls, Config evaluates resource configurations, and Organizations manages multiple accounts.
题目 21
Which statement about security groups is correct?
Security groups are stateful, so if an inbound request is allowed, the return traffic is automatically permitted. Network ACLs are stateless and require explicit rules for return traffic. Security groups act at the instance or elastic network interface level and work together with NACLs.
题目 22
A company needs to grant principals in another AWS account access to objects in an S3 bucket. Which mechanism supports this cross-account access?
An S3 bucket policy is a resource-based policy that can grant access to principals in other accounts. Security groups control network traffic, CloudWatch alarms notify on metrics, and Route 53 records handle DNS.
题目 23
Which Amazon ECS launch type runs containers without the customer managing EC2 instances?
The Fargate launch type is serverless compute for containers, so AWS manages the underlying instances. The EC2 launch type requires the customer to provision and maintain a cluster of instances. Spot Fleet provisions EC2 capacity rather than ECS containers.
题目 24
Which AWS service caches content at edge locations to reduce latency for users around the world?
Amazon CloudFront is a content delivery network that serves cached content from edge locations close to users. Route 53 is DNS, Direct Connect is a private network connection, and Transfer Acceleration speeds up S3 uploads.
题目 25
Which S3 feature automatically moves objects to less expensive storage classes as data ages?
S3 Lifecycle policies transition objects between storage classes and can expire them according to age. Replication copies objects to another bucket, versioning preserves versions, and access points provide named bucket endpoints.
题目 26
Why would a company enable S3 versioning on a bucket?
Versioning keeps every version of an object so an accidental overwrite or delete can be undone. It does not change upload performance or object visibility. Encryption settings are separate from versioning.
题目 27
A company must replicate objects from one bucket to a bucket in a different AWS Region. What is required for S3 Cross-Region Replication?
S3 replication requires versioning on both the source and destination buckets. Replication is asynchronous and typically completes within 15 minutes for most objects. Cross-account replication is supported when the required permissions are configured.
题目 28
Which service provides hybrid cloud storage that presents on-premises applications with file shares, volumes, or virtual tapes backed by AWS?
AWS Storage Gateway connects on-premises software to AWS storage through File Gateway, Volume Gateway, and Tape Gateway modes. EFS and S3 are cloud-native storage services, and Snowball Edge is a physical device for moving large datasets.
题目 29
What does an Amazon RDS Multi-AZ deployment provide?
RDS Multi-AZ maintains a synchronously replicated standby instance and fails over automatically when the primary becomes unhealthy. The standby does not serve reads. Read replicas scale reads, Aurora Global Database handles cross-Region replication, and ElastiCache provides caching.
题目 30
Which statement about Amazon Aurora storage is correct?
Aurora replicates each chunk of data across six storage nodes spanning three Availability Zones and can survive the loss of an Availability Zone. Its storage scales automatically up to 128 TiB. Aurora supports up to 15 low-latency read replicas.
题目 31
Which service provides microsecond-latency in-memory caching specifically for Amazon DynamoDB reads?
DAX is an in-memory cache designed for DynamoDB that can reduce response times to microseconds for repeated reads. ElastiCache caches general application data, CloudFront caches web content, and RDS Proxy pools connections to relational databases.
题目 32
A DynamoDB table has unpredictable traffic that spikes suddenly. Which capacity mode charges per request and scales automatically without capacity planning?
DynamoDB on-demand mode charges for actual reads and writes and automatically accommodates traffic changes. Provisioned mode requires setting read and write capacity units, even when autoscaling is used. DynamoDB does not use reserved capacity.
题目 33
What is the purpose of a DynamoDB global secondary index?
A global secondary index contains an alternate key that supports additional query patterns without changing the base table. It is maintained asynchronously and is eventually consistent by default. Global tables provide cross-Region replication, DAX provides caching, and strong consistency is a separate setting.
题目 34
A Lambda function is overwhelming a downstream API during spikes. Which Lambda setting limits the number of simultaneous executions?
Reserved concurrency caps the maximum number of concurrent invocations for a function, protecting downstream systems. Memory and timeout change function resources and duration limits. Layers package code dependencies and do not limit concurrency.
题目 35
Which AWS service provides a managed Kubernetes control plane?
Amazon EKS runs Kubernetes clusters with a managed control plane and integrates with AWS services. ECS is AWS's native container orchestration platform, Fargate is a serverless compute option, and ECR is a container image registry.
题目 36
Two VPCs need private connectivity with no transitive routing. Which option requires non-overlapping CIDR blocks for the peer connection?
VPC peering creates a private connection between two VPCs using their private IP ranges, and the CIDR blocks cannot overlap. Peering is not transitive, so a third VPC cannot use the connection. Transit Gateway provides hub-and-spoke routing, while IGW and NAT gateways handle internet traffic.
题目 37
A company has many VPCs that need to connect to each other and to on-premises networks. Which service acts as a central hub for this connectivity?
AWS Transit Gateway connects VPCs, VPNs, and Direct Connect attachments through a central hub, simplifying routing at scale. A peering mesh requires many connections and does not support transitive routing. An IGW provides internet access, and a VPC endpoint connects privately to AWS services.
题目 38
Which option provides the lower-cost private access to S3 and DynamoDB from a VPC without using the internet or a NAT gateway?
Gateway VPC endpoints for S3 and DynamoDB use route table entries and do not incur hourly charges. Interface endpoints are elastic network interfaces with per-hour and data processing costs. VPN and NAT traffic still uses network paths outside the gateway endpoint model.
题目 39
A company needs a dedicated private connection from its data center to AWS that does not use the public internet. Which service should it use?
AWS Direct Connect establishes a dedicated physical connection between a data center and AWS, providing consistent performance and bypassing the public internet. Site-to-Site VPN runs encrypted tunnels over the internet. VPC peering connects VPCs, not on-premises data centers.
题目 40
Which ALB feature tracks the health of EC2 targets and stops sending requests to unhealthy instances?
An ALB registers targets in target groups and uses health checks to detect unhealthy instances. Traffic is only routed to targets that pass the checks. Route 53 and CloudFront are separate services that are not part of ALB health tracking.
题目 41
A company wants Route 53 to send traffic to a primary Region and switch to a passive secondary Region only when health checks fail. Which routing policy should be used?
Failover routing sends traffic to the primary record and shifts to the secondary record when health checks fail, supporting active-passive disaster recovery. Weighted routing splits traffic by proportion, simple routing maps a name to one resource, and geolocation routes by user location.
题目 42
Which Route 53 routing policy directs users to the AWS Region that provides the lowest measured latency for their location?
Latency-based routing uses measurements of network latency between users and Regions to select the best-performing endpoint. Geolocation routing uses the user's geographic location, weighted routing uses weights, and multivalue answers return several healthy records.
题目 43
Which statement correctly describes how security group rules handle traffic?
Security groups are stateful, so allowing inbound traffic also permits the corresponding return traffic automatically. Network ACLs are stateless and need explicit rules for both directions. Security groups and NACLs are complementary controls at different layers.
题目 44
Which AWS component is a stateless firewall attached at the subnet level?
A network ACL is a stateless filter applied to a subnet, so return traffic must be explicitly allowed. Security groups are stateful and act at the instance or ENI level. VPC endpoints and internet gateways provide connectivity rather than filtering.
题目 45
Which statement about customer managed keys in AWS KMS is true?
Customer managed keys give you control over key policies, rotation, aliases, and deletion. AWS managed keys rotate automatically but offer less configuration control. KMS keys can encrypt data for many AWS services and are not tied to an instance.
题目 46
Which AWS service can store a database password and rotate it automatically without redeploying the application?
AWS Secrets Manager stores secrets and supports automatic rotation through a Lambda rotation function, updating the database credential. IAM manages identities, CloudTrail audits API calls, and KMS provides encryption keys rather than secret storage.
题目 47
Which AWS service applies managed rules to block SQL injection and cross-site scripting attacks against web applications?
AWS WAF inspects HTTP/HTTPS requests and applies managed or custom rules, including protections for SQL injection and XSS. Shield mitigates DDoS attacks, GuardDuty detects threats from account activity, and Inspector scans workloads for vulnerabilities.
题目 48
Which AWS DDoS protection offering includes 24/7 access to the DDoS Response Team and cost protection during an attack?
AWS Shield Advanced is a paid service that adds access to the DDoS Response Team, expanded protection, and cost protection against scaling charges. Shield Standard is free and automatically protects all AWS customers. WAF filters application-layer requests, and CloudFront is a CDN.
题目 49
How should an application running on EC2 obtain permissions to call Amazon S3 securely?
An IAM role attached to an instance provides temporary credentials through the instance metadata service, avoiding hard-coded keys. Storing access keys in code creates a security risk, and root credentials should only be used for account administration.
题目 50
A user needs time-limited access to one private S3 object without changing its access policy. Which mechanism grants this access?
A presigned URL includes a signature and expiration time, allowing temporary access to a specific object. Bucket policies grant persistent access, lifecycle rules manage storage transitions, and access points provide alternative endpoints for a bucket.
题目 51
Which statement about Amazon EBS snapshots is correct?
EBS snapshots capture changed blocks incrementally and are stored in S3, so the first snapshot is slower than subsequent ones. Snapshots can be copied across Regions and restored as new volumes in any Availability Zone. They are not tied to a running instance.
题目 52
Which AWS storage service provides a shared file system that Linux instances in multiple Availability Zones can mount simultaneously?
Amazon EFS is a scalable NFS file system that can be mounted by many Linux instances at once, including across Availability Zones. EBS volumes attach to a single instance, instance store is ephemeral, and S3 is object storage.
题目 53
A video encoding workload requires maximum CPU performance per instance. Which EC2 instance family category is most appropriate?
Compute optimized instances provide high CPU performance for compute-intensive tasks such as encoding and batch processing. Memory optimized instances suit in-memory caches, storage optimized instances suit high disk throughput, and burstable instances suit variable low CPU usage.
题目 54
How can an Auto Scaling group reduce EC2 costs for an interruption-tolerant batch workload while keeping capacity available?
A mixed instances group can combine On-Demand and Spot Instances, lowering cost while preserving capacity for workloads that can tolerate interruptions. Dedicated Hosts are more expensive, On-Demand-only fleets pay full price, and a single instance creates a single point of failure.
题目 55
What is the main difference between the Fargate and EC2 launch types in Amazon ECS?
With Fargate, AWS manages the underlying compute infrastructure so the customer only defines tasks. The EC2 launch type requires the customer to provision and manage the cluster instances. Both launch types run containers.
题目 56
Which pair of AWS services should a team use to monitor resource metrics and audit the API calls that changed those resources?
CloudWatch tracks metrics, logs, and alarms, while CloudTrail records API activity for auditing. Route 53 and CloudFront handle DNS and content delivery, IAM and Organizations manage access, and Cost Explorer and Budgets manage spending.
题目 57
Which AWS service can patch and run commands on EC2 instances at scale without requiring SSH or RDP access?
AWS Systems Manager uses the SSM agent to run commands, apply patches, and manage configuration without inbound ports. Inspector scans for vulnerabilities, CloudFormation provisions infrastructure, and CodeCommit hosts Git repositories.
题目 58
Which AWS tool shows historical cost and usage charts and can forecast future spending, while AWS Budgets sends alerts when thresholds are exceeded?
Cost Explorer visualizes past usage, provides forecasts, and allows filtering by service or tag. Budgets complements it by alerting when cost or usage exceeds a threshold. Pricing Calculator estimates planned costs, Trusted Advisor checks best practices, and Compute Optimizer rightsizes instances.
题目 59
Which AWS service uses machine learning to recommend EC2 instance types and sizes based on historical utilization?
Compute Optimizer analyzes CPU, memory, storage, and network utilization to recommend more cost-effective instance configurations. Trusted Advisor covers broader best-practice checks, CloudWatch monitors resources, and Service Quotas manages limits.
题目 60
Which AWS tool checks an account against best practices for cost optimization, security, fault tolerance, performance, and service limits?
Trusted Advisor inspects resources and reports on five categories, including cost optimization, security, fault tolerance, performance, and service limits. Config evaluates resource configurations against rules, CloudTrail logs API calls, and Artifact provides compliance documents.
题目 61
Which S3 storage class automatically moves objects between access tiers based on changing usage patterns?
S3 Intelligent-Tiering monitors access patterns and moves objects between frequent and infrequent tiers automatically. It charges a small monitoring fee but no retrieval fees. Standard stays in one tier, Deep Archive is for long-term archives, and One Zone-IA stores data in one Availability Zone.
题目 62
A MySQL-compatible application has growing storage needs and wants a relational database that scales storage automatically up to 128 TiB. Which service is the best fit?
Amazon Aurora is MySQL-compatible and scales storage automatically up to 128 TiB while replicating data across three Availability Zones. RDS for MySQL requires manual storage configuration and has lower storage limits. DynamoDB is NoSQL, and ElastiCache is an in-memory cache.
题目 63
An application needs to handle millions of TCP connections, preserve client source IP addresses, and support static IP addresses for the load balancer. Which load balancer should be used?
A Network Load Balancer operates at Layer 4, handles extreme TCP/UDP throughput, preserves source IPs, and can use Elastic IP addresses. An Application Load Balancer operates at Layer 7 and does not expose static IPs by default. Gateway Load Balancer routes third-party virtual appliances.
题目 64
Which Amazon CloudFront feature restricts access to private content for a limited time period?
Signed URLs grant time-limited access to individual objects, and signed cookies can restrict access to multiple files. Origin access control prevents direct origin access but does not create time-limited URLs for users. WAF rules filter traffic, and invalidation removes cached copies.
题目 65
A solutions architect is designing a highly available web tier. Which two choices improve availability? Select TWO.
Deploying across Availability Zones behind an ALB tolerates instance and AZ failures. Route 53 failover routing adds disaster recovery by switching to a standby Region. A single Availability Zone, one instance store volume, and disabled health checks all create availability risks.
题目 66
A company wants an S3 bucket that is private by default but still allows one named IAM user to upload objects. Which two configurations achieve this? Select TWO.
Block Public Access keeps the bucket private, while an IAM policy or a scoped bucket policy grants the named user permission. Public ACLs, lifecycle rules that publicize objects, and anonymous write access violate the requirement and expose data.
题目 67
A microservices application needs to decouple components so a slow consumer does not block the producer. Which two AWS services support this pattern? Select TWO.
Amazon SQS provides message queues that buffer work between producers and consumers, and Amazon SNS provides publish/subscribe topics for fan-out. Direct Connect connects networks, Glacier archives data, and VPC peering connects VPCs.
题目 68
An architect wants to protect an ALB-backed web API from application-layer attacks. Which two defenses are appropriate? Select TWO.
AWS WAF filters HTTP/HTTPS requests to block attacks such as SQL injection, and Shield Advanced adds enhanced DDoS protection and response support. Security groups control ports but not web attack patterns. Latency routing improves performance, and CloudTrail is for auditing.
题目 69
Which statements about Amazon DynamoDB are correct? Select all that apply.
DAX reduces DynamoDB read latency, global tables replicate data across Regions, and on-demand mode scales automatically. A global secondary index can use a different partition key to support alternate queries. DynamoDB is a NoSQL database and does not support SQL joins.
题目 70
Which practices improve the high availability and disaster recovery of an Amazon RDS database? Select all that apply.
Multi-AZ provides automatic failover, cross-Region read replicas support disaster recovery, and snapshot copies protect against Region-wide events. A single EBS volume is a single point of failure, and disabling backups reduces recoverability.
题目 71
Which S3 features help protect data and support compliance requirements? Select all that apply.
Versioning, replication, and Object Lock protect objects from loss, deletion, and modification, which supports compliance. Versioning does not automatically encrypt objects, and disabling encryption increases rather than reduces compliance risk.
题目 72
Which measures reduce AWS costs without reducing availability? Select all that apply.
Savings Plans, Spot Instances, and rightsizing lower compute spend while preserving capacity for the right workloads. Idle instances waste money, and lifecycle policies should move cold data to lower-cost classes such as Glacier rather than Standard.
题目 73
Amazon S3 Standard is designed to provide 99.999999999 percent durability for objects.
S3 Standard is designed for eleven nines of durability by storing objects redundantly across multiple Availability Zones. Its 99.99 percent figure refers to availability, which is a different measure. Durability means the object will not be lost.
题目 74
An Amazon RDS read replica can be promoted to become a standalone primary database.
A read replica can be promoted to a standalone instance if the primary fails or a new primary is needed. Promotion stops replication from the original primary. This supports recovery scenarios, though Multi-AZ is the automatic failover mechanism.
题目 75
Security groups are stateless, so return traffic for an allowed inbound request must be explicitly permitted by an outbound rule.
Security groups are stateful: return traffic for allowed requests is automatically permitted. It is network ACLs that are stateless and require explicit rules in both directions. This distinction is important when designing VPC security.
题目 76
A VPC peering connection supports transitive routing, so a third VPC can route traffic through an existing peer connection.
VPC peering is not transitive, and a third VPC cannot use a peer connection between two other VPCs. Each VPC pair needs its own peering connection. AWS Transit Gateway provides hub-and-spoke routing when transitive connectivity is required.
题目 77
DynamoDB on-demand mode automatically adjusts read and write capacity to handle traffic changes.
On-demand mode scales capacity automatically to match traffic and charges per request, which suits unpredictable workloads. Provisioned mode requires configuring capacity units even when autoscaling is used. This makes on-demand simpler for spiky traffic.
题目 78
A gateway VPC endpoint for S3 incurs an hourly charge while it is attached to a VPC.
Gateway VPC endpoints for S3 and DynamoDB are free and use route table entries rather than elastic network interfaces. Interface VPC endpoints are paid and incur hourly charges. This makes gateway endpoints the lower-cost choice for those two services.
题目 79
AWS Secrets Manager can automatically rotate credentials for Amazon RDS databases.
Secrets Manager supports automatic rotation of RDS database credentials, either through a Lambda rotation function or managed rotation for RDS. Rotated secrets are stored securely and can be retrieved by applications without redeployment. This reduces the risk of leaked static passwords.
题目 80
In an RDS Multi-AZ deployment, the standby instance can serve read traffic to offload the primary.
The Multi-AZ standby is a synchronously replicated instance reserved for automatic failover and does not serve application reads. To offload read traffic, create RDS read replicas. Using read replicas for reads and Multi-AZ for failover follows AWS best practices.