Amazon AWS Certified Solutions Architect – Associate SAA-C03 Practice Test Questions and Exam Dumps Part17 Q321-340

View Full Amazon AWS Certified Solutions Architect – Associate SAA-C03 Exam Dumps and Practice Test Dumps

 

Question 321

A company wants to deploy identical application environments repeatedly using infrastructure as code. Which AWS service is most appropriate?

  1. AWS CloudFormation
  2. Amazon CloudWatch
  3. AWS CloudTrail
  4. Amazon Inspector

Correct Answer: 1

Explanation

AWS CloudFormation allows organizations to define AWS infrastructure as code using templates. Resources such as EC2 instances, VPCs, security groups, databases, and load balancers can be described in a template and deployed consistently. This helps reduce configuration errors and makes environments easier to reproduce across accounts or Regions. CloudWatch focuses on monitoring, CloudTrail records API activity, and Inspector identifies vulnerabilities. CloudFormation is therefore the appropriate service when an organization needs repeatable and automated infrastructure deployments.

Question 322

A company wants to allow administrators to connect to Linux EC2 instances without opening inbound SSH port 22 to the internet. Which solution is most appropriate?

  1. NAT Gateway
  2. AWS Systems Manager Session Manager
  3. Internet Gateway
  4. Amazon CloudFront

Correct Answer: 2

Explanation

AWS Systems Manager Session Manager allows administrators to establish secure sessions with supported EC2 instances without requiring inbound SSH access. The instances use the Systems Manager agent and appropriate IAM permissions to communicate with the Systems Manager service. This approach can eliminate the need for public IP addresses and inbound port 22 rules, reducing the attack surface. NAT Gateway provides outbound internet connectivity, Internet Gateway provides VPC internet connectivity, and CloudFront provides content delivery. Session Manager is therefore the preferred solution.

Question 323

Which VPC feature can record information about network traffic flowing to and from network interfaces?

  1. Security groups
  2. Route tables
  3. VPC Flow Logs
  4. Internet Gateway

Correct Answer: 3

Explanation

VPC Flow Logs capture information about IP traffic flowing to and from network interfaces in a VPC. They can be used for troubleshooting connectivity problems, monitoring network traffic, investigating security incidents, and analyzing traffic patterns. Flow Logs can be delivered to destinations such as Amazon CloudWatch Logs or Amazon S3. Security groups control traffic, route tables determine traffic paths, and Internet Gateways provide internet connectivity. VPC Flow Logs are therefore the appropriate feature when an organization needs visibility into network traffic metadata.

Question 324

A company has workloads in several VPCs and wants centralized connectivity between them without creating many individual VPC peering connections. Which service should be used?

  1. AWS Transit Gateway
  2. Amazon S3
  3. Amazon CloudFront
  4. AWS WAF

Correct Answer: 1

Explanation

AWS Transit Gateway provides a centralized network hub that can connect multiple VPCs and on-premises networks. Instead of creating separate peering connections between every VPC, organizations can attach VPCs to the Transit Gateway and manage routing centrally. This simplifies network architecture as the number of connected networks grows. S3 provides object storage, CloudFront provides content delivery, and WAF protects web applications. Transit Gateway is therefore the appropriate solution for centralized connectivity across many VPCs and hybrid environments.

Question 325

Which EC2 instance purchasing option is generally most suitable for a workload that can tolerate interruptions and has flexible start and stop times?

  1. Dedicated Hosts
  2. On-Demand Instances
  3. Spot Instances
  4. Reserved Instances

Correct Answer: 3

Explanation

EC2 Spot Instances use spare AWS compute capacity and can provide significant discounts compared with On-Demand pricing. However, AWS can interrupt Spot Instances when the capacity is needed. They are therefore best suited to fault-tolerant and flexible workloads that can handle interruptions, such as batch processing, distributed data processing, and certain stateless applications. On-Demand Instances provide flexible capacity without a long-term commitment, while Reserved Instances are better suited to predictable workloads. Spot Instances are therefore appropriate when cost savings are more important than uninterrupted execution.

Question 326

A company wants DNS queries to be distributed across several endpoints according to assigned percentages. Which Route 53 routing policy should be used?

  1. Failover routing
  2. Weighted routing
  3. Geolocation routing
  4. Simple routing

Correct Answer: 2

Explanation

Amazon Route 53 weighted routing allows DNS traffic to be distributed among multiple resources according to assigned weights. For example, an organization can send 80 percent of traffic to one endpoint and 20 percent to another. This is useful for gradual application deployments, testing, and traffic distribution between environments. Failover routing is intended for primary and secondary resources, geolocation routing directs users according to geographic location, and simple routing provides basic DNS responses. Weighted routing is therefore the correct choice when traffic percentages need to be controlled.

Question 327

A company needs a managed service that can transfer files between on-premises systems and Amazon S3 using SFTP. Which AWS service should be used?

  1. AWS Transfer Family
  2. AWS DataSync
  3. Amazon EFS
  4. Amazon SQS

Correct Answer: 1

Explanation

AWS Transfer Family provides managed file transfer services that support protocols such as SFTP, FTPS, and FTP. It can integrate with AWS storage services such as Amazon S3 and Amazon EFS, allowing organizations to modernize file-transfer workflows without managing their own transfer servers. DataSync is primarily designed for automated data movement and synchronization, EFS provides a shared file system, and SQS provides message queuing. AWS Transfer Family is therefore the appropriate service when users or applications require managed SFTP-based file transfers.

Question 328

Which AWS service is designed to provide object storage with extremely high durability and multiple storage classes?

  1. Amazon EBS
  2. Amazon EFS
  3. Amazon S3
  4. Amazon FSx

Correct Answer: 3

Explanation

Amazon S3 is a highly durable object storage service designed to store data at virtually any scale. It offers multiple storage classes optimized for different access patterns, including frequently accessed, infrequently accessed, intelligent-tiering, and archival data. S3 also supports features such as versioning, lifecycle management, replication, encryption, and access controls. EBS provides block storage, EFS provides managed file storage, and FSx provides specialized file systems. Amazon S3 is therefore the appropriate choice for scalable and durable object storage.

Question 329

A company wants an application to automatically scale Lambda execution capacity while limiting the maximum number of concurrent function executions. Which feature should be configured?

  1. Reserved concurrency
  2. S3 Lifecycle
  3. RDS Multi-AZ
  4. Route 53 failover

Correct Answer: 1

Explanation

AWS Lambda reserved concurrency allows an organization to reserve and limit the number of concurrent executions for a function. This can protect downstream systems from excessive traffic and ensure that a function has dedicated concurrency capacity. It is useful when a workload needs predictable concurrency behavior or when an application must prevent one function from consuming all available account concurrency. S3 Lifecycle manages object transitions, RDS Multi-AZ improves database availability, and Route 53 failover manages DNS traffic. Reserved concurrency is therefore the correct feature.

Question 330

A company wants to distribute a single published notification to multiple independent application consumers. Which AWS architecture is most appropriate?

  1. Amazon EBS
  2. Amazon SNS with multiple subscriptions
  3. Amazon RDS Multi-AZ
  4. Amazon EFS

Correct Answer: 2

Explanation

Amazon SNS supports a publish/subscribe messaging model in which a publisher sends a message to a topic and multiple subscribers can receive that message. This is useful for fanout architectures where one event needs to reach several independent consumers. For example, an SNS topic can deliver notifications to SQS queues, Lambda functions, or other supported endpoints. EBS and EFS provide storage, while RDS Multi-AZ provides database high availability. SNS with multiple subscriptions is therefore appropriate for distributing one notification to multiple consumers.

Question 331

Which database option is best suited for an application that requires a managed relational database compatible with MySQL or PostgreSQL and high availability?

  1. Amazon Aurora
  2. Amazon DynamoDB
  3. Amazon Redshift
  4. Amazon ElastiCache

Correct Answer: 1

Explanation

Amazon Aurora is a managed relational database engine compatible with MySQL and PostgreSQL. It is designed for high performance and availability and integrates with AWS features for backups, replication, and failover. Aurora is appropriate for applications that need relational database capabilities such as SQL queries, transactions, and structured schemas. DynamoDB is a NoSQL database, Redshift is designed primarily for analytical workloads, and ElastiCache provides in-memory caching. Aurora is therefore the appropriate option for a highly available managed relational database workload.

Question 332

A company wants to allow an application in a private subnet to access Amazon S3 without routing traffic through a NAT Gateway. Which solution should be used?

  1. Internet Gateway
  2. Gateway VPC endpoint
  3. Network Load Balancer
  4. AWS Client VPN

Correct Answer: 2

Explanation

A Gateway VPC endpoint provides private connectivity from a VPC to supported AWS services such as Amazon S3 and DynamoDB. For S3 access, resources in private subnets can communicate with the service without requiring a NAT Gateway or Internet Gateway for that traffic. This can improve security and reduce network costs associated with NAT processing. An Internet Gateway provides internet connectivity, a Network Load Balancer distributes network traffic, and Client VPN provides remote user connectivity. A Gateway VPC endpoint is therefore the appropriate solution.

Question 333

A company needs to store Windows-based shared files using the SMB protocol and wants a fully managed file system. Which AWS service should it choose?

  1. Amazon EFS
  2. Amazon S3
  3. Amazon FSx for Windows File Server
  4. Amazon DynamoDB

Correct Answer: 3

Explanation

Amazon FSx for Windows File Server provides a fully managed Windows file system supporting the Server Message Block (SMB) protocol. It integrates with Microsoft Active Directory and is suitable for applications that require Windows-compatible shared file storage. EFS is primarily designed for Linux workloads using NFS, S3 provides object storage rather than a traditional SMB file system, and DynamoDB is a NoSQL database. FSx for Windows File Server is therefore the appropriate choice for managed Windows-based shared storage.

Question 334

A company wants to detect suspicious activity and potential threats across its AWS accounts using managed threat intelligence. Which service should be used?

  1. Amazon GuardDuty
  2. AWS Config
  3. Amazon CloudWatch
  4. AWS CloudFormation

Correct Answer: 1

Explanation

Amazon GuardDuty is a managed threat detection service that continuously analyzes supported AWS account activity and data sources to identify suspicious behavior and potential security threats. It can detect indicators associated with compromised credentials, malicious activity, and unusual behavior. AWS Config focuses on resource configurations and compliance, CloudWatch monitors metrics and logs, and CloudFormation manages infrastructure deployment. GuardDuty is therefore the appropriate service when the primary requirement is managed threat detection across an AWS environment.

Question 335

A company wants to ensure that an application can continue processing requests even if one EC2 instance fails. Which design principle should be applied?

  1. Vertical scaling only
  2. Single-instance deployment
  3. Fault tolerance through multiple instances
  4. Local instance storage only

Correct Answer: 3

Explanation

Fault tolerance means designing systems so they can continue operating when individual components fail. Deploying multiple EC2 instances, preferably across multiple Availability Zones, reduces dependence on any single instance. A load balancer can route traffic to healthy instances, while Auto Scaling can replace failed capacity. Vertical scaling alone does not eliminate a single point of failure, and single-instance deployments remain vulnerable to instance failure. Local instance storage may also be lost when an instance terminates. Multiple redundant instances therefore provide better fault tolerance.

Question 336

A company needs to process messages from an SQS queue but wants consumers to wait for messages instead of repeatedly polling an empty queue. Which feature should be enabled?

  1. SQS long polling
  2. S3 Lifecycle
  3. Route 53 health checks
  4. RDS automated backups

Correct Answer: 1

Explanation

Amazon SQS long polling allows a consumer to wait for messages to become available rather than repeatedly making short polling requests against an empty queue. This can reduce unnecessary API requests, lower costs, and improve application efficiency. When messages become available during the polling period, SQS returns them to the consumer. S3 Lifecycle manages object storage transitions, Route 53 health checks monitor endpoints, and RDS automated backups protect database data. SQS long polling is therefore the appropriate feature for efficient message retrieval.

Question 337

A company wants to protect an S3 bucket from accidental deletion or overwriting of objects for a legally required retention period. Which feature should be used?

  1. S3 Transfer Acceleration
  2. S3 Object Lock
  3. S3 Intelligent-Tiering
  4. S3 Multipart Upload

Correct Answer: 2

Explanation

S3 Object Lock can prevent objects from being deleted or overwritten for a defined retention period. It supports retention modes designed for compliance and governance requirements and can help organizations preserve records against accidental or unauthorized modification. Transfer Acceleration improves transfer speeds over long distances, Intelligent-Tiering optimizes storage costs based on access patterns, and Multipart Upload improves large-object uploads. Object Lock is therefore the appropriate feature when data must remain immutable for a specified retention period.

Question 338

A company needs to replicate selected S3 objects automatically from one AWS Region to another for disaster recovery. Which feature should be configured?

  1. S3 Cross-Region Replication
  2. S3 Lifecycle expiration
  3. S3 Transfer Acceleration
  4. S3 Standard-IA

Correct Answer: 1

Explanation

S3 Cross-Region Replication allows objects to be automatically replicated from a source bucket to a destination bucket in another AWS Region. Organizations can configure replication rules to select which objects should be replicated and can use the destination for disaster recovery, compliance, or regional data-access requirements. Lifecycle expiration removes objects according to configured rules, Transfer Acceleration improves transfer performance, and Standard-IA is a storage class. Cross-Region Replication is therefore the appropriate feature for maintaining copies of selected S3 data in another Region.

Question 339

A company wants to improve application availability by ensuring that a NAT Gateway failure in one Availability Zone does not affect private workloads in another Availability Zone. Which architecture is recommended?

  1. Use one NAT Gateway for every Region only
  2. Deploy a NAT Gateway in each required Availability Zone
  3. Place all private resources in one Availability Zone
  4. Replace NAT Gateways with an S3 bucket

Correct Answer: 2

Explanation

For resilient private subnet architectures, organizations can deploy a NAT Gateway in each Availability Zone that contains private workloads and configure the corresponding route tables to use the local NAT Gateway. This reduces dependency on a single NAT Gateway and limits the impact of an Availability Zone-specific failure. Using only one NAT Gateway can introduce a cross-AZ dependency and potential availability or cost considerations. Private resources should also be distributed across multiple Availability Zones. Therefore, deploying NAT Gateways per required Availability Zone improves fault isolation.

Question 340

A company needs a disaster recovery solution with the fastest possible recovery and can afford to maintain duplicate production environments in multiple locations. Which strategy is most appropriate?

  1. Backup and restore
  2. Pilot light
  3. Warm standby
  4. Multi-site active-active

Correct Answer: 4

Explanation

A multi-site active-active disaster recovery strategy maintains fully operational environments in multiple locations, allowing traffic to be served from more than one site. If one location becomes unavailable, traffic can be redirected or continue through the remaining environment, resulting in very low recovery time. This approach generally provides the fastest recovery among common disaster recovery strategies but requires significantly more infrastructure and operational cost. Backup and restore, pilot light, and warm standby use progressively more resources but generally require more recovery actions. Active-active is therefore appropriate when recovery speed is the highest priority.