πŸ”

SAA-C03 β€” questions

Page 19 of 51 Β· 1019 total questions.

Topic 1 Β· Question 361

A company hosts a multiplayer gaming application on AWS. The company wants the application to read data with sub-millisecond latency and run one-time queries on historical data. Which solution will meet these requirements with the LEAST operational overhead?

  • AUse Amazon RDS for data that is frequently accessed. Run a periodic custom script to export the data to an Amazon S3 bucket.
  • BStore the data directly in an Amazon S3 bucket. Implement an S3 Lifecycle policy to move older data to S3 Glacier Deep Archive for long-term storage. Run one-time queries on the data in Amazon S3 by using Amazon Athena.
  • CUse Amazon DynamoDB with DynamoDB Accelerator (DAX) for data that is frequently accessed. Export the data to an Amazon S3 bucket by using DynamoDB table export. Run one-time queries on the data in Amazon S3 by using Amazon Athena. (correct answer)
  • DUse Amazon DynamoDB for data that is frequently accessed. Turn on streaming to Amazon Kinesis Data Streams. Use Amazon Kinesis Data Firehose to read the data from Kinesis Data Streams. Store the records in an Amazon S3 bucket.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use Amazon DynamoDB with DynamoDB Accelerator (DAX) for data that is frequently accessed. Export the data to an Amazon S3 bucket by using DynamoDB table export. Run one-time queries on the data in Amazon S3 by using A...

Explanation

Amazon S3 provides durable, scalable object storage that is fully managed. Amazon DynamoDB is a fully managed, serverless NoSQL database with single-digit millisecond latency and automatic scaling. DynamoDB Accelerator (DAX) adds an in-memory cache for microsecond DynamoDB reads.

Topic 1 Β· Question 362 Β· Select all that apply

A company uses a payment processing system that requires messages for a particular payment ID to be received in the same order that they were sent. Otherwise, the payments might be processed incorrectly. Which actions should a solutions architect take to meet this requirement? (Choose two.)

  • AWrite the messages to an Amazon DynamoDB table with the payment ID as the partition key.
  • BWrite the messages to an Amazon Kinesis data stream with the payment ID as the partition key. (correct answer)
  • CWrite the messages to an Amazon ElastiCache for Memcached cluster with the payment ID as the key.
  • DWrite the messages to an Amazon Simple Queue Service (Amazon SQS) queue. Set the message attribute to use the payment ID.
  • EWrite the messages to an Amazon Simple Queue Service (Amazon SQS) FIFO queue. Set the message group to use the payment ID. (correct answer)
Reveal answer & explanation
Correct answer: B, E

The correct answer is B, E. Option B: Write the messages to an Amazon Kinesis data stream with the payment ID as the partition key. Option E: Write the messages to an Amazon Simple Queue Service (Amazon SQS) FIFO queue. Set the message group to use the payment ID.

Explanation

Amazon SQS is a fully managed message queue that decouples components and absorbs traffic spikes. Amazon Kinesis ingests and processes real-time streaming data at scale.

Topic 1 Β· Question 363

A company is building a game system that needs to send unique events to separate leaderboard, matchmaking, and authentication services concurrently. The company needs an AWS event-driven system that guarantees the order of the events. Which solution will meet these requirements?

  • AAmazon EventBridge event bus
  • BAmazon Simple Notification Service (Amazon SNS) FIFO topics (correct answer)
  • CAmazon Simple Notification Service (Amazon SNS) standard topics
  • DAmazon Simple Queue Service (Amazon SQS) FIFO queues
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Amazon Simple Notification Service (Amazon SNS) FIFO topics

Explanation

Amazon SNS is a managed pub/sub service for fan-out notifications to many subscribers.

Topic 1 Β· Question 364 Β· Select all that apply

A hospital is designing a new application that gathers symptoms from patients. The hospital has decided to use Amazon Simple Queue Service (Amazon SQS) and Amazon Simple Notification Service (Amazon SNS) in the architecture. A solutions architect is reviewing the infrastructure design. Data must be encrypted at rest and in transit. Only authorized personnel of the hospital should be able to access the data. Which combination of steps should the solutions architect take to meet these requirements? (Choose two.)

  • ATurn on server-side encryption on the SQS components. Update the default key policy to restrict key usage to a set of authorized principals.
  • BTurn on server-side encryption on the SNS components by using an AWS Key Management Service (AWS KMS) customer managed key. Apply a key policy to restrict key usage to a set of authorized principals. (correct answer)
  • CTurn on encryption on the SNS components. Update the default key policy to restrict key usage to a set of authorized principals. Set a condition in the topic policy to allow only encrypted connections over TLS.
  • DTurn on server-side encryption on the SQS components by using an AWS Key Management Service (AWS KMS) customer managed key. Apply a key policy to restrict key usage to a set of authorized principals. Set a condition in the queue policy to allow only encrypted connections over TLS. (correct answer)
  • ETurn on server-side encryption on the SQS components by using an AWS Key Management Service (AWS KMS) customer managed key. Apply an IAM policy to restrict key usage to a set of authorized principals. Set a condition in the queue policy to allow only encrypted connections over TLS.
Reveal answer & explanation
Correct answer: B, D

The correct answer is B, D. Option B: Turn on server-side encryption on the SNS components by using an AWS Key Management Service (AWS KMS) customer managed key. Apply a key policy to restrict key usage to a set of authorized principals. Option D: Turn on server-side encryption on the SQS components by using an AWS Key Management Service (AWS KMS) customer managed key. Apply a key policy to restrict key usage to a set of authorized principals. Set a condition i...

Explanation

Amazon SQS is a fully managed message queue that decouples components and absorbs traffic spikes. Amazon SNS is a managed pub/sub service for fan-out notifications to many subscribers. AWS KMS manages encryption keys and integrates with most AWS services for encryption at rest.

Topic 1 Β· Question 365

A company runs a web application that is backed by Amazon RDS. A new database administrator caused data loss by accidentally editing information in a database table. To help recover from this type of incident, the company wants the ability to restore the database to its state from 5 minutes before any change within the last 30 days. Which feature should the solutions architect include in the design to meet this requirement?

  • ARead replicas
  • BManual snapshots
  • CAutomated backups (correct answer)
  • DMulti-AZ deployments
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Automated backups

Explanation

AWS Backup centrally automates and manages backups across AWS services.

Topic 1 Β· Question 366

A company’s web application consists of an Amazon API Gateway API in front of an AWS Lambda function and an Amazon DynamoDB database. The Lambda function handles the business logic, and the DynamoDB table hosts the data. The application uses Amazon Cognito user pools to identify the individual users of the application. A solutions architect needs to update the application so that only users who have a subscription can access premium content. Which solution will meet this requirement with the LEAST operational overhead?

  • AEnable API caching and throttling on the API Gateway API.
  • BSet up AWS WAF on the API Gateway API. Create a rule to filter users who have a subscription.
  • CApply fine-grained IAM permissions to the premium content in the DynamoDB table.
  • DImplement API usage plans and API keys to limit the access of users who do not have a subscription. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Implement API usage plans and API keys to limit the access of users who do not have a subscription.

Topic 1 Β· Question 367

A company is using Amazon Route 53 latency-based routing to route requests to its UDP-based application for users around the world. The application is hosted on redundant servers in the company's on-premises data centers in the United States, Asia, and Europe. The company’s compliance requirements state that the application must be hosted on premises. The company wants to improve the performance and availability of the application. What should a solutions architect do to meet these requirements?

  • AConfigure three Network Load Balancers (NLBs) in the three AWS Regions to address the on-premises endpoints. Create an accelerator by using AWS Global Accelerator, and register the NLBs as its endpoints. Provide access to the application by using a CNAME that points to the accelerator DNS. (correct answer)
  • BConfigure three Application Load Balancers (ALBs) in the three AWS Regions to address the on-premises endpoints. Create an accelerator by using AWS Global Accelerator, and register the ALBs as its endpoints. Provide access to the application by using a CNAME that points to the accelerator DNS.
  • CConfigure three Network Load Balancers (NLBs) in the three AWS Regions to address the on-premises endpoints. In Route 53, create a latency-based record that points to the three NLBs, and use it as an origin for an Amazon CloudFront distribution. Provide access to the application by using a CNAME that points to the CloudFront DNS.
  • DConfigure three Application Load Balancers (ALBs) in the three AWS Regions to address the on-premises endpoints. In Route 53, create a latency-based record that points to the three ALBs, and use it as an origin for an Amazon CloudFront distribution. Provide access to the application by using a CNAME that points to the CloudFront DNS.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Configure three Network Load Balancers (NLBs) in the three AWS Regions to address the on-premises endpoints. Create an accelerator by using AWS Global Accelerator, and register the NLBs as its endpoints. Provide acces...

Explanation

AWS Global Accelerator routes users over the AWS backbone to the optimal endpoint for lower latency and fast failover. A Network Load Balancer handles very high throughput TCP/UDP traffic with ultra-low latency and static IPs. A load balancer distributes traffic across targets in multiple AZs for availability and scale.

Topic 1 Β· Question 368

A solutions architect wants all new users to have specific complexity requirements and mandatory rotation periods for IAM user passwords. What should the solutions architect do to accomplish this?

  • ASet an overall password policy for the entire AWS account. (correct answer)
  • BSet a password policy for each IAM user in the AWS account.
  • CUse third-party vendor software to set password requirements.
  • DAttach an Amazon CloudWatch rule to the Create_newuser event to set the password with the appropriate requirements.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Set an overall password policy for the entire AWS account.

Topic 1 Β· Question 369

A company has migrated an application to Amazon EC2 Linux instances. One of these EC2 instances runs several 1-hour tasks on a schedule. These tasks were written by different teams and have no common programming language. The company is concerned about performance and scalability while these tasks run on a single instance. A solutions architect needs to implement a solution to resolve these concerns. Which solution will meet these requirements with the LEAST operational overhead?

  • AUse AWS Batch to run the tasks as jobs. Schedule the jobs by using Amazon EventBridge (Amazon CloudWatch Events). (correct answer)
  • BConvert the EC2 instance to a container. Use AWS App Runner to create the container on demand to run the tasks as jobs.
  • CCopy the tasks into AWS Lambda functions. Schedule the Lambda functions by using Amazon EventBridge (Amazon CloudWatch Events).
  • DCreate an Amazon Machine Image (AMI) of the EC2 instance that runs the tasks. Create an Auto Scaling group with the AMI to run multiple copies of the instance.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use AWS Batch to run the tasks as jobs. Schedule the jobs by using Amazon EventBridge (Amazon CloudWatch Events).

Explanation

AWS Batch schedules and runs batch computing jobs at any scale without managing clusters. Amazon EventBridge routes events between services with rules, enabling event-driven, decoupled architectures. Amazon CloudWatch collects metrics, logs and alarms to monitor and react to operational health.

Topic 1 Β· Question 370

A company runs a public three-tier web application in a VPC. The application runs on Amazon EC2 instances across multiple Availability Zones. The EC2 instances that run in private subnets need to communicate with a license server over the internet. The company needs a managed solution that minimizes operational maintenance. Which solution meets these requirements?

  • AProvision a NAT instance in a public subnet. Modify each private subnet's route table with a default route that points to the NAT instance.
  • BProvision a NAT instance in a private subnet. Modify each private subnet's route table with a default route that points to the NAT instance.
  • CProvision a NAT gateway in a public subnet. Modify each private subnet's route table with a default route that points to the NAT gateway. (correct answer)
  • DProvision a NAT gateway in a private subnet. Modify each private subnet's route table with a default route that points to the NAT gateway.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Provision a NAT gateway in a public subnet. Modify each private subnet's route table with a default route that points to the NAT gateway.

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 371 Β· Select all that apply

A company needs to create an Amazon Elastic Kubernetes Service (Amazon EKS) cluster to host a digital media streaming application. The EKS cluster will use a managed node group that is backed by Amazon Elastic Block Store (Amazon EBS) volumes for storage. The company must encrypt all data at rest by using a customer managed key that is stored in AWS Key Management Service (AWS KMS). Which combination of actions will meet this requirement with the LEAST operational overhead? (Choose two.)

  • AUse a Kubernetes plugin that uses the customer managed key to perform data encryption.
  • BAfter creation of the EKS cluster, locate the EBS volumes. Enable encryption by using the customer managed key.
  • CEnable EBS encryption by default in the AWS Region where the EKS cluster will be created. Select the customer managed key as the default key. (correct answer)
  • DCreate the EKS cluster. Create an IAM role that has a policy that grants permission to the customer managed key. Associate the role with the EKS cluster. (correct answer)
  • EStore the customer managed key as a Kubernetes secret in the EKS cluster. Use the customer managed key to encrypt the EBS volumes.
Reveal answer & explanation
Correct answer: C, D

The correct answer is C, D. Option C: Enable EBS encryption by default in the AWS Region where the EKS cluster will be created. Select the customer managed key as the default key. Option D: Create the EKS cluster. Create an IAM role that has a policy that grants permission to the customer managed key. Associate the role with the EKS cluster.

Explanation

Amazon EKS runs managed Kubernetes when you need the Kubernetes ecosystem. Amazon EBS provides block storage attached to a single EC2 instance. An IAM role grants temporary, least-privilege permissions to AWS resources without long-term credentials.

Topic 1 Β· Question 372

A company wants to migrate an Oracle database to AWS. The database consists of a single table that contains millions of geographic information systems (GIS) images that are high resolution and are identified by a geographic code. When a natural disaster occurs, tens of thousands of images get updated every few minutes. Each geographic code has a single image or row that is associated with it. The company wants a solution that is highly available and scalable during such events. Which solution meets these requirements MOST cost-effectively?

  • AStore the images and geographic codes in a database table. Use Oracle running on an Amazon RDS Multi-AZ DB instance.
  • BStore the images in Amazon S3 buckets. Use Amazon DynamoDB with the geographic code as the key and the image S3 URL as the value. (correct answer)
  • CStore the images and geographic codes in an Amazon DynamoDB table. Configure DynamoDB Accelerator (DAX) during times of high load.
  • DStore the images in Amazon S3 buckets. Store geographic codes and image S3 URLs in a database table. Use Oracle running on an Amazon RDS Multi-AZ DB instance.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Store the images in Amazon S3 buckets. Use Amazon DynamoDB with the geographic code as the key and the image S3 URL as the value.

Explanation

Amazon S3 provides durable, scalable object storage that is fully managed. Amazon DynamoDB is a fully managed, serverless NoSQL database with single-digit millisecond latency and automatic scaling. This option delivers the requirement at the lowest cost.

Topic 1 Β· Question 373

A company has an application that collects data from IoT sensors on automobiles. The data is streamed and stored in Amazon S3 through Amazon Kinesis Data Firehose. The data produces trillions of S3 objects each year. Each morning, the company uses the data from the previous 30 days to retrain a suite of machine learning (ML) models. Four times each year, the company uses the data from the previous 12 months to perform analysis and train other ML models. The data must be available with minimal delay for up to 1 year. After 1 year, the data must be retained for archival purposes. Which storage solution meets these requirements MOST cost-effectively?

  • AUse the S3 Intelligent-Tiering storage class. Create an S3 Lifecycle policy to transition objects to S3 Glacier Deep Archive after 1 year.
  • BUse the S3 Intelligent-Tiering storage class. Configure S3 Intelligent-Tiering to automatically move objects to S3 Glacier Deep Archive after 1 year.
  • CUse the S3 Standard-Infrequent Access (S3 Standard-IA) storage class. Create an S3 Lifecycle policy to transition objects to S3 Glacier Deep Archive after 1 year.
  • DUse the S3 Standard storage class. Create an S3 Lifecycle policy to transition objects to S3 Standard-Infrequent Access (S3 Standard-IA) after 30 days, and then to S3 Glacier Deep Archive after 1 year. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Use the S3 Standard storage class. Create an S3 Lifecycle policy to transition objects to S3 Standard-Infrequent Access (S3 Standard-IA) after 30 days, and then to S3 Glacier Deep Archive after 1 year.

Explanation

S3 Glacier Deep Archive is the lowest-cost storage for long-term archival with retrieval in hours. Amazon S3 Glacier offers low-cost archival storage for infrequently accessed data. S3 Standard-IA reduces cost for infrequently accessed data that still needs high availability. This option delivers the requirement at the lowest cost.

Topic 1 Β· Question 374

A company is running several business applications in three separate VPCs within the us-east-1 Region. The applications must be able to communicate between VPCs. The applications also must be able to consistently send hundreds of gigabytes of data each day to a latency-sensitive application that runs in a single on-premises data center. A solutions architect needs to design a network connectivity solution that maximizes cost-effectiveness. Which solution meets these requirements?

  • AConfigure three AWS Site-to-Site VPN connections from the data center to AWS. Establish connectivity by configuring one VPN connection for each VPC.
  • BLaunch a third-party virtual network appliance in each VPC. Establish an IPsec VPN tunnel between the data center and each virtual appliance.
  • CSet up three AWS Direct Connect connections from the data center to a Direct Connect gateway in us-east-1. Establish connectivity by configuring each VPC to use one of the Direct Connect connections.
  • DSet up one AWS Direct Connect connection from the data center to AWS. Create a transit gateway, and attach each VPC to the transit gateway. Establish connectivity between the Direct Connect connection and the transit gateway. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Set up one AWS Direct Connect connection from the data center to AWS. Create a transit gateway, and attach each VPC to the transit gateway. Establish connectivity between the Direct Connect connection and the transit...

Explanation

AWS Direct Connect provides a dedicated, consistent private network link between on premises and AWS. AWS Transit Gateway centrally connects many VPCs and on-premises networks at scale. This option delivers the requirement at the lowest cost.

Topic 1 Β· Question 375

An ecommerce company is building a distributed application that involves several serverless functions and AWS services to complete order-processing tasks. These tasks require manual approvals as part of the workflow. A solutions architect needs to design an architecture for the order-processing application. The solution must be able to combine multiple AWS Lambda functions into responsive serverless applications. The solution also must orchestrate data and services that run on Amazon EC2 instances, containers, or on-premises servers. Which solution will meet these requirements with the LEAST operational overhead?

  • AUse AWS Step Functions to build the application. (correct answer)
  • BIntegrate all the application components in an AWS Glue job.
  • CUse Amazon Simple Queue Service (Amazon SQS) to build the application.
  • DUse AWS Lambda functions and Amazon EventBridge events to build the application.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use AWS Step Functions to build the application.

Explanation

AWS Step Functions coordinates multi-step workflows as a managed state machine.

Topic 1 Β· Question 376

A company has launched an Amazon RDS for MySQL DB instance. Most of the connections to the database come from serverless applications. Application traffic to the database changes significantly at random intervals. At times of high demand, users report that their applications experience database connection rejection errors. Which solution will resolve this issue with the LEAST operational overhead?

  • ACreate a proxy in RDS Proxy. Configure the users’ applications to use the DB instance through RDS Proxy. (correct answer)
  • BDeploy Amazon ElastiCache for Memcached between the users’ applications and the DB instance.
  • CMigrate the DB instance to a different instance class that has higher I/O capacity. Configure the users’ applications to use the new DB instance.
  • DConfigure Multi-AZ for the DB instance. Configure the users’ applications to switch between the DB instances.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Create a proxy in RDS Proxy. Configure the users’ applications to use the DB instance through RDS Proxy.

Explanation

Amazon RDS Proxy pools and shares database connections to improve scalability and resilience. Amazon RDS is a managed relational database that handles patching, backups and failover. AWS Config tracks resource configuration changes and evaluates compliance.

Topic 1 Β· Question 377

A company recently deployed a new auditing system to centralize information about operating system versions, patching, and installed software for Amazon EC2 instances. A solutions architect must ensure all instances provisioned through EC2 Auto Scaling groups successfully send reports to the auditing system as soon as they are launched and terminated. Which solution achieves these goals MOST efficiently?

  • AUse a scheduled AWS Lambda function and run a script remotely on all EC2 instances to send data to the audit system.
  • BUse EC2 Auto Scaling lifecycle hooks to run a custom script to send data to the audit system when instances are launched and terminated. (correct answer)
  • CUse an EC2 Auto Scaling launch configuration to run a custom script through user data to send data to the audit system when instances are launched and terminated.
  • DRun a custom script on the instance operating system to send data to the audit system. Configure the script to be invoked by the EC2 Auto Scaling group when the instance starts and is terminated.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use EC2 Auto Scaling lifecycle hooks to run a custom script to send data to the audit system when instances are launched and terminated.

Explanation

Auto Scaling adjusts capacity automatically to match demand, improving availability and cost efficiency. Amazon EC2 provides resizable virtual servers when you need full control of the operating system.

Topic 1 Β· Question 378

A company is developing a real-time multiplayer game that uses UDP for communications between the client and servers in an Auto Scaling group. Spikes in demand are anticipated during the day, so the game server platform must adapt accordingly. Developers want to store gamer scores and other non-relational data in a database solution that will scale without intervention. Which solution should a solutions architect recommend?

  • AUse Amazon Route 53 for traffic distribution and Amazon Aurora Serverless for data storage.
  • BUse a Network Load Balancer for traffic distribution and Amazon DynamoDB on-demand for data storage. (correct answer)
  • CUse a Network Load Balancer for traffic distribution and Amazon Aurora Global Database for data storage.
  • DUse an Application Load Balancer for traffic distribution and Amazon DynamoDB global tables for data storage.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use a Network Load Balancer for traffic distribution and Amazon DynamoDB on-demand for data storage.

Explanation

Amazon DynamoDB is a fully managed, serverless NoSQL database with single-digit millisecond latency and automatic scaling. A Network Load Balancer handles very high throughput TCP/UDP traffic with ultra-low latency and static IPs. A load balancer distributes traffic across targets in multiple AZs for availability and scale. This option meets the real-time / low-latency performance requirement.

Topic 1 Β· Question 379

A company hosts a frontend application that uses an Amazon API Gateway API backend that is integrated with AWS Lambda. When the API receives requests, the Lambda function loads many libraries. Then the Lambda function connects to an Amazon RDS database, processes the data, and returns the data to the frontend application. The company wants to ensure that response latency is as low as possible for all its users with the fewest number of changes to the company's operations. Which solution will meet these requirements?

  • AEstablish a connection between the frontend application and the database to make queries faster by bypassing the API.
  • BConfigure provisioned concurrency for the Lambda function that handles the requests. (correct answer)
  • CCache the results of the queries in Amazon S3 for faster retrieval of similar datasets.
  • DIncrease the size of the database to increase the number of connections Lambda can establish at one time.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Configure provisioned concurrency for the Lambda function that handles the requests.

Explanation

AWS Lambda runs code without provisioning servers and scales automatically, which minimizes operational overhead. AWS Config tracks resource configuration changes and evaluates compliance.

Topic 1 Β· Question 380

A company is migrating its on-premises workload to the AWS Cloud. The company already uses several Amazon EC2 instances and Amazon RDS DB instances. The company wants a solution that automatically starts and stops the EC2 instances and DB instances outside of business hours. The solution must minimize cost and infrastructure maintenance. Which solution will meet these requirements?

  • AScale the EC2 instances by using elastic resize. Scale the DB instances to zero outside of business hours.
  • BExplore AWS Marketplace for partner solutions that will automatically start and stop the EC2 instances and DB instances on a schedule.
  • CLaunch another EC2 instance. Configure a crontab schedule to run shell scripts that will start and stop the existing EC2 instances and DB instances on a schedule.
  • DCreate an AWS Lambda function that will start and stop the EC2 instances and DB instances. Configure Amazon EventBridge to invoke the Lambda function on a schedule. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Create an AWS Lambda function that will start and stop the EC2 instances and DB instances. Configure Amazon EventBridge to invoke the Lambda function on a schedule.

Explanation

AWS Lambda runs code without provisioning servers and scales automatically, which minimizes operational overhead. Amazon EC2 provides resizable virtual servers when you need full control of the operating system. Amazon EventBridge routes events between services with rules, enabling event-driven, decoupled architectures. This option delivers the requirement at the lowest cost.

Showing questions 361–380 of 1019 Β· Page 19 of 51