🔍

SAA-C03 — questions

Page 12 of 51 · 1019 total questions.

Topic 1 · Question 221

A company runs an application on a group of Amazon Linux EC2 instances. For compliance reasons, the company must retain all application log files for 7 years. The log files will be analyzed by a reporting tool that must be able to access all the files concurrently. Which storage solution meets these requirements MOST cost-effectively?

  • AAmazon Elastic Block Store (Amazon EBS)
  • BAmazon Elastic File System (Amazon EFS)
  • CAmazon EC2 instance store
  • DAmazon S3 (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Amazon S3

Explanation

Amazon S3 provides durable, scalable object storage that is fully managed. This option delivers the requirement at the lowest cost.

Topic 1 · Question 222

A company has hired an external vendor to perform work in the company’s AWS account. The vendor uses an automated tool that is hosted in an AWS account that the vendor owns. The vendor does not have IAM access to the company’s AWS account. How should a solutions architect grant this access to the vendor?

  • ACreate an IAM role in the company’s account to delegate access to the vendor’s IAM role. Attach the appropriate IAM policies to the role for the permissions that the vendor requires. (correct answer)
  • BCreate an IAM user in the company’s account with a password that meets the password complexity requirements. Attach the appropriate IAM policies to the user for the permissions that the vendor requires.
  • CCreate an IAM group in the company’s account. Add the tool’s IAM user from the vendor account to the group. Attach the appropriate IAM policies to the group for the permissions that the vendor requires.
  • DCreate a new identity provider by choosing “AWS account” as the provider type in the IAM console. Supply the vendor’s AWS account ID and user name. Attach the appropriate IAM policies to the new provider for the permissions that the vendor requires.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Create an IAM role in the company’s account to delegate access to the vendor’s IAM role. Attach the appropriate IAM policies to the role for the permissions that the vendor requires.

Explanation

An IAM role grants temporary, least-privilege permissions to AWS resources without long-term credentials. AWS IAM controls authenticated and authorized access to AWS resources with fine-grained policies.

Topic 1 · Question 223 · Select all that apply

A company has deployed a Java Spring Boot application as a pod that runs on Amazon Elastic Kubernetes Service (Amazon EKS) in private subnets. The application needs to write data to an Amazon DynamoDB table. A solutions architect must ensure that the application can interact with the DynamoDB table without exposing traffic to the internet. Which combination of steps should the solutions architect take to accomplish this goal? (Choose two.)

  • AAttach an IAM role that has sufficient privileges to the EKS pod. (correct answer)
  • BAttach an IAM user that has sufficient privileges to the EKS pod.
  • CAllow outbound connectivity to the DynamoDB table through the private subnets’ network ACLs.
  • DCreate a VPC endpoint for DynamoDB. (correct answer)
  • EEmbed the access keys in the Java Spring Boot code.
Reveal answer & explanation
Correct answer: A, D

The correct answer is A, D. Option A: Attach an IAM role that has sufficient privileges to the EKS pod. Option D: Create a VPC endpoint for DynamoDB.

Explanation

Amazon EKS runs managed Kubernetes when you need the Kubernetes ecosystem. Amazon DynamoDB is a fully managed, serverless NoSQL database with single-digit millisecond latency and automatic scaling. A VPC endpoint provides private connectivity to AWS services without traversing the public internet.

Topic 1 · Question 224 · Select all that apply

A company recently migrated its web application to AWS by rehosting the application on Amazon EC2 instances in a single AWS Region. The company wants to redesign its application architecture to be highly available and fault tolerant. Traffic must reach all running EC2 instances randomly. Which combination of steps should the company take to meet these requirements? (Choose two.)

  • ACreate an Amazon Route 53 failover routing policy.
  • BCreate an Amazon Route 53 weighted routing policy.
  • CCreate an Amazon Route 53 multivalue answer routing policy. (correct answer)
  • DLaunch three EC2 instances: two instances in one Availability Zone and one instance in another Availability Zone.
  • ELaunch four EC2 instances: two instances in one Availability Zone and two instances in another Availability Zone. (correct answer)
Reveal answer & explanation
Correct answer: C, E

The correct answer is C, E. Option C: Create an Amazon Route 53 multivalue answer routing policy. Option E: Launch four EC2 instances: two instances in one Availability Zone and two instances in another Availability Zone.

Explanation

Amazon EC2 provides resizable virtual servers when you need full control of the operating system. Amazon Route 53 provides DNS with health checks and routing policies for availability and latency. By spanning multiple Availability Zones / adding redundancy, this option provides the high availability and resilience required.

Topic 1 · Question 225

A media company collects and analyzes user activity data on premises. The company wants to migrate this capability to AWS. The user activity data store will continue to grow and will be petabytes in size. The company needs to build a highly available data ingestion solution that facilitates on-demand analytics of existing data and new data with SQL. Which solution will meet these requirements with the LEAST operational overhead?

  • ASend activity data to an Amazon Kinesis data stream. Configure the stream to deliver the data to an Amazon S3 bucket.
  • BSend activity data to an Amazon Kinesis Data Firehose delivery stream. Configure the stream to deliver the data to an Amazon Redshift cluster. (correct answer)
  • CPlace activity data in an Amazon S3 bucket. Configure Amazon S3 to run an AWS Lambda function on the data as the data arrives in the S3 bucket.
  • DCreate an ingestion service on Amazon EC2 instances that are spread across multiple Availability Zones. Configure the service to forward data to an Amazon RDS Multi-AZ database.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Send activity data to an Amazon Kinesis Data Firehose delivery stream. Configure the stream to deliver the data to an Amazon Redshift cluster.

Explanation

Amazon Redshift is a managed petabyte-scale data warehouse for complex analytical queries. Kinesis Data Firehose delivers streaming data to destinations like S3/Redshift with no servers to manage. Amazon Kinesis ingests and processes real-time streaming data at scale.

Topic 1 · Question 226 · Select all that apply

A company collects data from thousands of remote devices by using a RESTful web services application that runs on an Amazon EC2 instance. The EC2 instance receives the raw data, transforms the raw data, and stores all the data in an Amazon S3 bucket. The number of remote devices will increase into the millions soon. The company needs a highly scalable solution that minimizes operational overhead. Which combination of steps should a solutions architect take to meet these requirements? (Choose two.)

  • AUse AWS Glue to process the raw data in Amazon S3. (correct answer)
  • BUse Amazon Route 53 to route traffic to different EC2 instances.
  • CAdd more EC2 instances to accommodate the increasing amount of incoming data.
  • DSend the raw data to Amazon Simple Queue Service (Amazon SQS). Use EC2 instances to process the data.
  • EUse Amazon API Gateway to send the raw data to an Amazon Kinesis data stream. Configure Amazon Kinesis Data Firehose to use the data stream as a source to deliver the data to Amazon S3. (correct answer)
Reveal answer & explanation
Correct answer: A, E

The correct answer is A, E. Option A: Use AWS Glue to process the raw data in Amazon S3. Option E: Use Amazon API Gateway to send the raw data to an Amazon Kinesis data stream. Configure Amazon Kinesis Data Firehose to use the data stream as a source to deliver the data to Amazon S3.

Explanation

Amazon S3 provides durable, scalable object storage that is fully managed. Kinesis Data Firehose delivers streaming data to destinations like S3/Redshift with no servers to manage. Amazon Kinesis ingests and processes real-time streaming data at scale.

Topic 1 · Question 227

A company needs to retain its AWS CloudTrail logs for 3 years. The company is enforcing CloudTrail across a set of AWS accounts by using AWS Organizations from the parent account. The CloudTrail target S3 bucket is configured with S3 Versioning enabled. An S3 Lifecycle policy is in place to delete current objects after 3 years. After the fourth year of use of the S3 bucket, the S3 bucket metrics show that the number of objects has continued to rise. However, the number of new CloudTrail logs that are delivered to the S3 bucket has remained consistent. Which solution will delete objects that are older than 3 years in the MOST cost-effective manner?

  • AConfigure the organization’s centralized CloudTrail trail to expire objects after 3 years.
  • BConfigure the S3 Lifecycle policy to delete previous versions as well as current versions. (correct answer)
  • CCreate an AWS Lambda function to enumerate and delete objects from Amazon S3 that are older than 3 years.
  • DConfigure the parent account as the owner of all objects that are delivered to the S3 bucket.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Configure the S3 Lifecycle policy to delete previous versions as well as current versions.

Explanation

S3 Lifecycle policies automatically transition or expire objects to control storage cost. Amazon S3 provides durable, scalable object storage that is fully managed. AWS Config tracks resource configuration changes and evaluates compliance. This option delivers the requirement at the lowest cost.

Topic 1 · Question 228

A company has an API that receives real-time data from a fleet of monitoring devices. The API stores this data in an Amazon RDS DB instance for later analysis. The amount of data that the monitoring devices send to the API fluctuates. During periods of heavy traffic, the API often returns timeout errors. After an inspection of the logs, the company determines that the database is not capable of processing the volume of write traffic that comes from the API. A solutions architect must minimize the number of connections to the database and must ensure that data is not lost during periods of heavy traffic. Which solution will meet these requirements?

  • AIncrease the size of the DB instance to an instance type that has more available memory.
  • BModify the DB instance to be a Multi-AZ DB instance. Configure the application to write to all active RDS DB instances.
  • CModify the API to write incoming data to an Amazon Simple Queue Service (Amazon SQS) queue. Use an AWS Lambda function that Amazon SQS invokes to write data from the queue to the database. (correct answer)
  • DModify the API to write incoming data to an Amazon Simple Notification Service (Amazon SNS) topic. Use an AWS Lambda function that Amazon SNS invokes to write data from the topic to the database.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Modify the API to write incoming data to an Amazon Simple Queue Service (Amazon SQS) queue. Use an AWS Lambda function that Amazon SQS invokes to write data from the queue to the database.

Explanation

AWS Lambda runs code without provisioning servers and scales automatically, which minimizes operational overhead. Amazon SQS is a fully managed message queue that decouples components and absorbs traffic spikes. This option meets the real-time / low-latency performance requirement.

Topic 1 · Question 229

A company manages its own Amazon EC2 instances that run MySQL databases. The company is manually managing replication and scaling as demand increases or decreases. The company needs a new solution that simplifies the process of adding or removing compute capacity to or from its database tier as needed. The solution also must offer improved performance, scaling, and durability with minimal effort from operations. Which solution meets these requirements?

  • AMigrate the databases to Amazon Aurora Serverless for Aurora MySQL. (correct answer)
  • BMigrate the databases to Amazon Aurora Serverless for Aurora PostgreSQL.
  • CCombine the databases into one larger MySQL database. Run the larger database on larger EC2 instances.
  • DCreate an EC2 Auto Scaling group for the database tier. Migrate the existing databases to the new environment.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Migrate the databases to Amazon Aurora Serverless for Aurora MySQL.

Explanation

Aurora Serverless auto-scales database capacity and is cost-effective for variable workloads. Amazon Aurora is a high-performance managed relational database with built-in replication and failover.

Topic 1 · Question 230

A company is concerned that two NAT instances in use will no longer be able to support the traffic needed for the company’s application. A solutions architect wants to implement a solution that is highly available, fault tolerant, and automatically scalable. What should the solutions architect recommend?

  • ARemove the two NAT instances and replace them with two NAT gateways in the same Availability Zone.
  • BUse Auto Scaling groups with Network Load Balancers for the NAT instances in different Availability Zones.
  • CRemove the two NAT instances and replace them with two NAT gateways in different Availability Zones. (correct answer)
  • DReplace the two NAT instances with Spot Instances in different Availability Zones and deploy a Network Load Balancer.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Remove the two NAT instances and replace them with two NAT gateways in different Availability Zones.

Explanation

A NAT gateway lets private subnet resources reach the internet for outbound traffic only. By spanning multiple Availability Zones / adding redundancy, this option provides the high availability and resilience required.

Topic 1 · Question 231

An application runs on an Amazon EC2 instance that has an Elastic IP address in VPC A. The application requires access to a database in VPC B. Both VPCs are in the same AWS account. Which solution will provide the required access MOST securely?

  • ACreate a DB instance security group that allows all traffic from the public IP address of the application server in VPC A.
  • BConfigure a VPC peering connection between VPC A and VPC B. (correct answer)
  • CMake the DB instance publicly accessible. Assign a public IP address to the DB instance.
  • DLaunch an EC2 instance with an Elastic IP address into VPC B. Proxy all requests through the new EC2 instance.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Configure a VPC peering connection between VPC A and VPC B.

Explanation

VPC peering privately connects two VPCs without a gateway. AWS Config tracks resource configuration changes and evaluates compliance.

Topic 1 · Question 232

A company runs demonstration environments for its customers on Amazon EC2 instances. Each environment is isolated in its own VPC. The company’s operations team needs to be notified when RDP or SSH access to an environment has been established.

  • AConfigure Amazon CloudWatch Application Insights to create AWS Systems Manager OpsItems when RDP or SSH access is detected.
  • BConfigure the EC2 instances with an IAM instance profile that has an IAM role with the AmazonSSMManagedInstanceCore policy attached.
  • CPublish VPC flow logs to Amazon CloudWatch Logs. Create required metric filters. Create an Amazon CloudWatch metric alarm with a notification action for when the alarm is in the ALARM state. (correct answer)
  • DConfigure an Amazon EventBridge rule to listen for events of type EC2 Instance State-change Notification. Configure an Amazon Simple Notification Service (Amazon SNS) topic as a target. Subscribe the operations team to the topic.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Publish VPC flow logs to Amazon CloudWatch Logs. Create required metric filters. Create an Amazon CloudWatch metric alarm with a notification action for when the alarm is in the ALARM state.

Explanation

Amazon CloudWatch collects metrics, logs and alarms to monitor and react to operational health.

Topic 1 · Question 233 · Select all that apply

A solutions architect has created a new AWS account and must secure AWS account root user access. Which combination of actions will accomplish this? (Choose two.)

  • AEnsure the root user uses a strong password. (correct answer)
  • BEnable multi-factor authentication to the root user. (correct answer)
  • CStore root user access keys in an encrypted Amazon S3 bucket.
  • DAdd the root user to a group containing administrative permissions.
  • EApply the required permissions to the root user with an inline policy document.
Reveal answer & explanation
Correct answer: A, B

The correct answer is A, B. Option A: Ensure the root user uses a strong password. Option B: Enable multi-factor authentication to the root user.

Topic 1 · Question 234

A company is building a new web-based customer relationship management application. The application will use several Amazon EC2 instances that are backed by Amazon Elastic Block Store (Amazon EBS) volumes behind an Application Load Balancer (ALB). The application will also use an Amazon Aurora database. All data for the application must be encrypted at rest and in transit. Which solution will meet these requirements?

  • AUse AWS Key Management Service (AWS KMS) certificates on the ALB to encrypt data in transit. Use AWS Certificate Manager (ACM) to encrypt the EBS volumes and Aurora database storage at rest.
  • BUse the AWS root account to log in to the AWS Management Console. Upload the company’s encryption certificates. While in the root account, select the option to turn on encryption for all data at rest and in transit for the account.
  • CUse AWS Key Management Service (AWS KMS) to encrypt the EBS volumes and Aurora database storage at rest. Attach an AWS Certificate Manager (ACM) certificate to the ALB to encrypt data in transit. (correct answer)
  • DUse BitLocker to encrypt all data at rest. Import the company’s TLS certificate keys to AWS Key Management Service (AWS KMS) Attach the KMS keys to the ALB to encrypt data in transit.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use AWS Key Management Service (AWS KMS) to encrypt the EBS volumes and Aurora database storage at rest. Attach an AWS Certificate Manager (ACM) certificate to the ALB to encrypt data in transit.

Explanation

Amazon EBS provides block storage attached to a single EC2 instance. Amazon Aurora is a high-performance managed relational database with built-in replication and failover. AWS KMS manages encryption keys and integrates with most AWS services for encryption at rest.

Topic 1 · Question 235

A company is moving its on-premises Oracle database to Amazon Aurora PostgreSQL. The database has several applications that write to the same tables. The applications need to be migrated one by one with a month in between each migration. Management has expressed concerns that the database has a high number of reads and writes. The data must be kept in sync across both databases throughout the migration. What should a solutions architect recommend?

  • AUse AWS DataSync for the initial migration. Use AWS Database Migration Service (AWS DMS) to create a change data capture (CDC) replication task and a table mapping to select all tables.
  • BUse AWS DataSync for the initial migration. Use AWS Database Migration Service (AWS DMS) to create a full load plus change data capture (CDC) replication task and a table mapping to select all tables.
  • CUse the AWS Schema Conversion Tool with AWS Database Migration Service (AWS DMS) using a memory optimized replication instance. Create a full load plus change data capture (CDC) replication task and a table mapping to select all tables. (correct answer)
  • DUse the AWS Schema Conversion Tool with AWS Database Migration Service (AWS DMS) using a compute optimized replication instance. Create a full load plus change data capture (CDC) replication task and a table mapping to select the largest tables.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use the AWS Schema Conversion Tool with AWS Database Migration Service (AWS DMS) using a memory optimized replication instance. Create a full load plus change data capture (CDC) replication task and a table mapping to...

Explanation

AWS Database Migration Service migrates databases with minimal downtime.

Topic 1 · Question 236

A company has a three-tier application for image sharing. The application uses an Amazon EC2 instance for the front-end layer, another EC2 instance for the application layer, and a third EC2 instance for a MySQL database. A solutions architect must design a scalable and highly available solution that requires the least amount of change to the application. Which solution meets these requirements?

  • AUse Amazon S3 to host the front-end layer. Use AWS Lambda functions for the application layer. Move the database to an Amazon DynamoDB table. Use Amazon S3 to store and serve users’ images.
  • BUse load-balanced Multi-AZ AWS Elastic Beanstalk environments for the front-end layer and the application layer. Move the database to an Amazon RDS DB instance with multiple read replicas to serve users’ images.
  • CUse Amazon S3 to host the front-end layer. Use a fleet of EC2 instances in an Auto Scaling group for the application layer. Move the database to a memory optimized instance type to store and serve users’ images.
  • DUse load-balanced Multi-AZ AWS Elastic Beanstalk environments for the front-end layer and the application layer. Move the database to an Amazon RDS Multi-AZ DB instance. Use Amazon S3 to store and serve users’ images. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Use load-balanced Multi-AZ AWS Elastic Beanstalk environments for the front-end layer and the application layer. Move the database to an Amazon RDS Multi-AZ DB instance. Use Amazon S3 to store and serve users’ images.

Explanation

AWS Elastic Beanstalk provisions and manages the underlying environment for you with little operational effort. Amazon S3 provides durable, scalable object storage that is fully managed. Amazon RDS is a managed relational database that handles patching, backups and failover. By spanning multiple Availability Zones / adding redundancy, this option provides the high availability and resilience required.

Topic 1 · Question 237

An application running on an Amazon EC2 instance in VPC-A needs to access files in another EC2 instance in VPC-B. Both VPCs are in separate AWS accounts. The network administrator needs to design a solution to configure secure access to EC2 instance in VPC-B from VPC-A. The connectivity should not have a single point of failure or bandwidth concerns. Which solution will meet these requirements?

  • ASet up a VPC peering connection between VPC-A and VPC-B. (correct answer)
  • BSet up VPC gateway endpoints for the EC2 instance running in VPC-B.
  • CAttach a virtual private gateway to VPC-B and set up routing from VPC-A.
  • DCreate a private virtual interface (VIF) for the EC2 instance running in VPC-B and add appropriate routes from VPC-A.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Set up a VPC peering connection between VPC-A and VPC-B.

Explanation

VPC peering privately connects two VPCs without a gateway.

Topic 1 · Question 238

A company wants to experiment with individual AWS accounts for its engineer team. The company wants to be notified as soon as the Amazon EC2 instance usage for a given month exceeds a specific threshold for each account. What should a solutions architect do to meet this requirement MOST cost-effectively?

  • AUse Cost Explorer to create a daily report of costs by service. Filter the report by EC2 instances. Configure Cost Explorer to send an Amazon Simple Email Service (Amazon SES) notification when a threshold is exceeded.
  • BUse Cost Explorer to create a monthly report of costs by service. Filter the report by EC2 instances. Configure Cost Explorer to send an Amazon Simple Email Service (Amazon SES) notification when a threshold is exceeded.
  • CUse AWS Budgets to create a cost budget for each account. Set the period to monthly. Set the scope to EC2 instances. Set an alert threshold for the budget. Configure an Amazon Simple Notification Service (Amazon SNS) topic to receive a notification when a threshold is exceeded. (correct answer)
  • DUse AWS Cost and Usage Reports to create a report with hourly granularity. Integrate the report data with Amazon Athena. Use Amazon EventBridge to schedule an Athena query. Configure an Amazon Simple Notification Service (Amazon SNS) topic to receive a notification when a threshold is exceeded.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use AWS Budgets to create a cost budget for each account. Set the period to monthly. Set the scope to EC2 instances. Set an alert threshold for the budget. Configure an Amazon Simple Notification Service (Amazon SNS)...

Explanation

Amazon EC2 provides resizable virtual servers when you need full control of the operating system. Amazon SNS is a managed pub/sub service for fan-out notifications to many subscribers. AWS Config tracks resource configuration changes and evaluates compliance. This option delivers the requirement at the lowest cost.

Topic 1 · Question 239

A solutions architect needs to design a new microservice for a company’s application. Clients must be able to call an HTTPS endpoint to reach the microservice. The microservice also must use AWS Identity and Access Management (IAM) to authenticate calls. The solutions architect will write the logic for this microservice by using a single AWS Lambda function that is written in Go 1.x. Which solution will deploy the function in the MOST operationally efficient way?

  • ACreate an Amazon API Gateway REST API. Configure the method to use the Lambda function. Enable IAM authentication on the API. (correct answer)
  • BCreate a Lambda function URL for the function. Specify AWS_IAM as the authentication type.
  • CCreate an Amazon CloudFront distribution. Deploy the function to Lambda@Edge. Integrate IAM authentication logic into the Lambda@Edge function.
  • DCreate an Amazon CloudFront distribution. Deploy the function to CloudFront Functions. Specify AWS_IAM as the authentication type.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Create an Amazon API Gateway REST API. Configure the method to use the Lambda function. Enable IAM authentication on the API.

Explanation

AWS Lambda runs code without provisioning servers and scales automatically, which minimizes operational overhead. Amazon API Gateway is a fully managed front door for creating and securing APIs at scale. AWS IAM controls authenticated and authorized access to AWS resources with fine-grained policies.

Topic 1 · Question 240

A company previously migrated its data warehouse solution to AWS. The company also has an AWS Direct Connect connection. Corporate office users query the data warehouse using a visualization tool. The average size of a query returned by the data warehouse is 50 MB and each webpage sent by the visualization tool is approximately 500 KB. Result sets returned by the data warehouse are not cached. Which solution provides the LOWEST data transfer egress cost for the company?

  • AHost the visualization tool on premises and query the data warehouse directly over the internet.
  • BHost the visualization tool in the same AWS Region as the data warehouse. Access it over the internet.
  • CHost the visualization tool on premises and query the data warehouse directly over a Direct Connect connection at a location in the same AWS Region.
  • DHost the visualization tool in the same AWS Region as the data warehouse and access it over a Direct Connect connection at a location in the same Region. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Host the visualization tool in the same AWS Region as the data warehouse and access it over a Direct Connect connection at a location in the same Region.

Explanation

AWS Direct Connect provides a dedicated, consistent private network link between on premises and AWS.

Showing questions 221240 of 1019 · Page 12 of 51