Amazon AWS Certified Solutions Architect - Associate SAA-C02
Prev

There are 450 results

Next
#211 (Accuracy: 100% / 6 votes)
A recently created startup built a three-tier web application. The front end has static content. The application layer is based on microservices. User data is stored as JSON documents that need to be accessed with low latency. The company expects regular traffic to be low during the first year, with peaks in traffic when it publicizes new features every month. The startup team needs to minimize operational overhead costs.
What should a solutions architect recommend to accomplish this?
  • A. Use Amazon S3 static website hosting to store and serve the front end. Use AWS Elastic Beanstalk for the application layer. Use Amazon DynamoDB to store user data.
  • B. Use Amazon S3 static website hosting to store and serve the front end. Use Amazon Elastic KubernetesService (Amazon EKS) for the application layer. Use Amazon DynamoDB to store user data.
  • C. Use Amazon S3 static website hosting to store and serve the front end. Use Amazon API Gateway and AWS Lambda functions for the application layer. Use Amazon DynamoDB to store user data.
  • D. Use Amazon S3 static website hosting to store and serve the front end. Use Amazon API Gateway and AWS Lambda functions for the application layer. Use Amazon RDS with read replicas to store user data.
#212 (Accuracy: 95% / 14 votes)
A company is using Amazon DynamoDB with provisioned throughput for the database tier of its ecommerce website. During flash sales, customers experience periods of time when the database cannot handle the high number of transactions taking place. This causes the company to lose transactions. During normal periods, the database performs appropriately.
Which solution solves the performance problem the company faces?
  • A. Switch DynamoDB to on-demand mode during flash sales.
  • B. Implement DynamoDB Accelerator for fast in memory performance.
  • C. Use Amazon Kinesis to queue transactions for processing to DynamoDB.
  • D. Use Amazon Simple Queue Service (Amazon SQS) to queue transactions to DynamoDB.
#213 (Accuracy: 100% / 7 votes)
A company runs its production workload on an Amazon Aurora MySQL DB cluster that includes six Aurora Replicas. The company wants near-real-lime reporting queries from one of its departments to be automatically distributed across three of the Aurora Replicas. Those three replicas have a different compute and memory specification from the rest of the DB cluster.
Which solution meets these requirements?
  • A. Create and use a custom endpoint for the workload.
  • B. Create a three-node cluster clone and use the reader endpoint.
  • C. Use any of the instance endpoints for the selected three nodes.
  • D. Use the reader endpoint to automatically distribute the read-only workload.
#214 (Accuracy: 100% / 2 votes)
A company has NFS servers in an on-premises data center that need to periodically back up small amounts of data to Amazon S3. Which solution meets these requirements and is MOST cost-effective?
  • A. Set up AWS Glue to copy the data from the on-premises servers to Amazon S3.
  • B. Set up an AWS DataSync agent on the on-premises servers, and sync the data to Amazon S3.
  • C. Set up an SFTP sync using AWS Transfer for SFTP to sync data from on-premises to Amazon S3.
  • D. Set up an AWS Direct Connect connection between the on-premises data center and a VPC, and copy the data to Amazon S3.
#215 (Accuracy: 100% / 2 votes)
A solutions architect is redesigning a monolithic application to be a loosely coupled application composed of two microservices: Microservice A and Microservice
B.

Microservice A places messages in a main Amazon Simple Queue Service (Amazon SQS) queue for Microservice B to consume.
When Microservice B fails to process a message after four retries, the message needs to be removed from the queue and stored for further investigation.
What should the solutions architect do to meet these requirements?
  • A. Create an SQS dead-letter queue. Microservice B adds failed messages to that queue after it receives and fails to process the message four times.
  • B. Create an SQS dead-letter queue. Configure the main SQS queue to deliver messages to the dead-letter queue after the message has been received four times.
  • C. Create an SQS queue for failed messages. Microservice A adds failed messages to that queue after Microservice B receives and fails to process the message four times.
  • D. Create an SQS queue for failed messages. Configure the SQS queue for failed messages to pull messages from the main SQS queue after the original message has been received four times.
#216 (Accuracy: 100% / 7 votes)
A company is Re-architecting a strongly coupled application to be loosely coupled. Previously the application used a request/response pattern to communicate between tiers. The company plans to use Amazon Simple Queue Service (Amazon SQS) to achieve decoupling requirements. The initial design contains one queue for requests and one for responses. However, this approach is not processing all the messages as the application scales.
What should a solutions architect do to resolve this issue?
  • A. Configure a dead-letter queue on the ReceiveMessage API action of the SQS queue.
  • B. Configure a FIFO queue, and use the message deduplication ID and message group ID.
  • C. Create a temporary queue, with the Temporary Queue Client to receive each response message.
  • D. Create a queue for each request and response on startup for each producer, and use a correlation ID message attribute.
#217 (Accuracy: 100% / 16 votes)
A company is preparing to deploy a new serverless workload. A solutions architect needs to configure permissions for invoking an AWS Lambda function. The function will be triggered by an Amazon EventBridge (Amazon CloudWatch Events) rule. Permissions should be configured using the principle of least privilege.
Which solution will meet these requirements?
  • A. Add an execution role to the function with lambda:InvokeFunction as the action and * as the principal.
  • B. Add an execution role to the function with lambda:InvokeFunction as the action and Service:amazonaws.com as the principal.
  • C. Add a resource-based policy to the function with lambda:'* as the action and Service:events.amazonaws.com as the principal.
  • D. Add a resource-based policy to the function with lambda:InvokeFunction as the action and Service:events.amazonaws.com as the principal.
#218 (Accuracy: 100% / 3 votes)
A company uses on-premises servers to host its applications. The company is running out of storage capacity. The applications use both block storage and NFS storage. The company needs a high-performing solution that supports local caching without re-architecting its existing applications.
Which combination of actions should a solutions architect take to meet these requirements? (Choose two.)
  • A. Mount Amazon S3 as a file system to the on-premises servers.
  • B. Deploy an AWS Storage Gateway file gateway to replace NFS storage.
  • C. Deploy AWS Snowball Edge to provision NFS mounts to on-premises servers.
  • D. Deploy an AWS Storage Gateway volume gateway to replace the block storage.
  • E. Deploy Amazon Elastic Fife System (Amazon EFS) volumes and mount them to on-premises servers.
#219 (Accuracy: 100% / 5 votes)
A company wants to build an online marketplace application on AWS as a set of loosely coupled microservices. For this application, when a customer submits a new order, two microservices should handle the event simultaneously. The Email microservice will send a confirmation email, and the OrderProcessing microservice will start the order delivery process. If a customer cancels an order, the OrderCancellation and Email microservices should handle the event simultaneously.
A solutions architect wants to use Amazon Simple Queue Service (Amazon SQS) and Amazon Simple Notification Service (Amazon SNS) to design the messaging between the microservices.

How should the solutions architect design the solution?
  • A. Create a single SQS queue and publish order events to it. The Email, OrderProcessing, and OrderCancellation microservices can then consume messages off the queue.
  • B. Create three SNS topics for each microservice. Publish order events to the three topics. Subscribe each of the Email, OrderProcessing, and OrderCancellation microservices to its own topic.
  • C. Create an SNS topic and publish order events to it. Create three SQS queues for the Email, OrderProcessing, and OrderCancellation microservices. Subscribe all SQS queues to the SNS topic with message filtering.
  • D. Create two SQS queues and publish order events to both queues simultaneously. One queue is for the Email and OrderProcessing microservices. The second queue is for the Email and OrderCancellation microservices.
#220 (Accuracy: 100% / 2 votes)
A solutions architect is designing an architecture to run a third-party database server. The database software is memory intensive and has a CPU-based licensing model where the cost increases with the number of vCPU cores within the operating system. The solutions architect must select an Amazon EC2 instance with sufficient memory to run the database software, but the selected instance has a large number of vCPUs. The solutions architect must ensure that the vCPUs will not be underutilized and must minimize costs.
Which solution meets these requirements?
  • A. Select and launch a smaller EC2 instance with an appropriate number of vCPUs.
  • B. Configure the CPU cores and threads on the selected EC2 instance during instance launch.
  • C. Create a new EC2 instance and ensure multithreading is enabled when configuring the instance details.
  • D. Create a new Capacity Reservation and select the appropriate instance type. Launch the instance into this new Capacity Reservation.