saa-c02-part-01 Flashcards

1
Q

A solutions architect is designing a solution where users will be directed to a backup static error page if the primary website is unavailable. The primary website’s DNS records are hosted in Amazon Route 53 where their domain is pointing to an Application Load Balancer (ALB).

Which configuration should the solutions architect use to meet the company’s needs while minimizing changes and infrastructure overhead?

  1. Point a Route 53 alias record to an Amazon CloudFront distribution with the ALB as one of its origins. Then, create custom error pages for the distribution.
  2. Set up a Route 53 active-passive failover configuration. Direct traffic to a static error page hosted within an Amazon S3 bucket when Route 53 health checks determine that the ALB endpoint is unhealthy.
  3. Update the Route 53 record to use a latency-based routing policy. Add the backup static error page hosted within an Amazon S3 bucket to the record so the traffic is sent to the most responsive endpoints.
  4. Set up a Route 53 active-active configuration with the ALB and an Amazon EC2 instance hosting a static error page as endpoints. Route 53 will only send requests to the instance if the health checks fail for the ALB.
A
  1. Set up a Route 53 active-passive failover configuration. Direct traffic to a static error page hosted within an Amazon S3 bucket when Route 53 health checks determine that the ALB endpoint is unhealthy.

backup static error page = active-passive failover

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

A solutions architect is designing a high performance computing (HPC) workload on Amazon EC2. The EC2 instances need to communicate to each other frequently and require network performance with low latency and high throughput.

Which EC2 configuration meets these requirements?

  1. Launch the EC2 instances in a cluster placement group in one Availability Zone.
  2. Launch the EC2 instances in a spread placement group in one Availability Zone.
  3. Launch the EC2 instances in an Auto Scaling group in two Regions and peer the VPCs.
  4. Launch the EC2 instances in an Auto Scaling group spanning multiple Availability Zones.
A
  1. Launch the EC2 instances in a cluster placement group in one Availability Zone.

high performance computing (HPC) = cluster placement group

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

A company wants to host a scalable web application on AWS. The application will be accessed by users from different geographic regions of the world. Application users will be able to download and upload unique data up to gigabytes in size. The development team wants a cost-effective solution to minimize upload and download latency and maximize performance.

What should a solutions architect do to accomplish this?

  1. Use Amazon S3 with Transfer Acceleration to host the application.
  2. Use Amazon S3 with CacheControl headers to host the application.
  3. Use Amazon EC2 with Auto Scaling and Amazon CloudFront to host the application.
  4. Use Amazon EC2 with Auto Scaling and Amazon ElastiCache to host the application.
A
  1. Use Amazon EC2 with Auto Scaling and Amazon CloudFront to host the application.

different regions = edge caching = CloudFront

cost-effective solution= CloudFront

minimize latency = CloudFront

maximize performance = CloudFront

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

A company is migrating from an on-premises infrastructure to the AWS Cloud. One of the company’s applications stores files on a Windows file server farm that uses Distributed File System Replication (DFSR) to keep data in sync. A solutions architect needs to replace the file server farm.

Which service should the solutions architect use?

  1. Amazon Elastic File System (Amazon EFS)
  2. Amazon FSx
  3. Amazon S3
  4. AWS Storage Gateway
A
  1. Amazon FSx

Windows file server = FSx

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A company has a legacy application that processes data in two parts. The second part of the process takes longer than the first, so the company has decided to rewrite the application as two microservices running on Amazon ECS that can scale independently.
How should a solutions architect integrate the microservices?

  1. Implement code in microservice 1 to send data to an Amazon S3 bucket. Use S3 event notifications to invoke microservice 2.
  2. Implement code in microservice 1 to publish data to an Amazon SNS topic. Implement code in microservice 2 to subscribe to this topic.
  3. Implement code in microservice 1 to send data to Amazon Kinesis Data Firehose. Implement code in microservice 2 to read from Kinesis Data Firehose.
  4. Implement code in microservice 1 to send data to an Amazon SQS queue. Implement code in microservice 2 to process messages from the queue.
A
  1. Implement code in microservice 1 to send data to an Amazon SQS queue. Implement code in microservice 2 to process messages from the queue.

processes data in two parts = decouple = SQS queue

scale independently = decouple = SQS queue

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A company captures clickstream data from multiple websites and analyzes it using batch processing. The data is loaded nightly into Amazon Redshift and is consumed by business analysts. The company wants to move towards near-real-time data processing for timely insights. The solution should process the streaming data with minimal effort and operational overhead.

Which combination of AWS services are MOST cost-effective for this solution? (Choose two.)

  1. Amazon EC2
  2. AWS Lambda
  3. Amazon Kinesis Data Streams
  4. Amazon Kinesis Data Firehose
  5. Amazon Kinesis Data Analytics
A
  1. AWS Lambda
  2. Amazon Kinesis Data Firehose

near-real-time data processing = Kinesis *

batch = lambda

minimal effort and operational overhead = Amazon Kinesis Data Firehose is the easiest way to load streaming data into AWS.

Loads to Amazon Redshift = Amazon Kinesis Data Firehose

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

A company’s application runs on Amazon EC2 instances behind an Application Load Balancer (ALB). The instances run in an Amazon EC2 Auto Scaling group across multiple Availability Zones. On the first day of every month at midnight, the application becomes much slower when the month-end financial calculation batch executes. This causes the CPU utilization of the EC2 instances to immediately peak to 100%, which disrupts the application.

What should a solutions architect recommend to ensure the application is able to handle the workload and avoid downtime?

  1. Configure an Amazon CloudFront distribution in front of the ALB.
  2. Configure an EC2 Auto Scaling simple scaling policy based on CPU utilization.
  3. Configure an EC2 Auto Scaling scheduled scaling policy based on the monthly schedule.
  4. Configure Amazon ElastiCache to remove some of the workload from the EC2 instances.
A
  1. Configure an EC2 Auto Scaling scheduled scaling policy based on the monthly schedule.

On the first day of every month at midnight = predictable scaling = scheduled scaling policy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Amazon EC2 instances behind an Application Load Balancer. The instances run in an EC2 Auto Scaling group across multiple Availability Zones and use an Amazon Aurora database. A solutions architect needs to make the application more resilient to periodic increases in request rates.

Which architecture should the solutions architect implement? (Choose two.)

  1. Add AWS Shield.
  2. Add Aurora Replica.
  3. Add AWS Direct Connect.
  4. Add AWS Global Accelerator.
  5. Add an Amazon CloudFront distribution in front of the Application Load Balancer.
A
  1. Add AWS Global Accelerator.
  2. Add an Amazon CloudFront distribution in front of the Application Load Balancer.

periodic increases in request rates = edge caching needed = CloudFront

periodic increases in request rates = edge caching needed = Global Accelerator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

An application running on AWS uses an Amazon Aurora Multi-AZ deployment for its database. When evaluating performance metrics, a solutions architect discovered that the database reads are causing high I/O and adding latency to the write requests against the database.

What should the solutions architect do to separate the read requests from the write requests?

  1. Enable read-through caching on the Amazon Aurora database.
  2. Update the application to read from the Multi-AZ standby instance.
  3. Create a read replica and modify the application to use the appropriate endpoint.
  4. Create a second Amazon Aurora database and link it to the primary database as a read replica.
A
  1. Create a read replica and modify the application to use the appropriate endpoint.

reads are causing high I/O and adding latency = read replica

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A recently acquired company is required to build its own infrastructure on AWS and migrate multiple applications to the cloud within a month. Each application has approximately 50 TB of data to be transferred. After the migration is complete, this company and its parent company will both require secure network connectivity with consistent throughput from their data centers to the applications. A solutions architect must ensure one-time data migration and ongoing network connectivity.
Which solution will meet these requirements?

  1. AWS Direct Connect for both the initial transfer and ongoing connectivity.
  2. AWS Site-to-Site VPN for both the initial transfer and ongoing connectivity.
  3. AWS Snowball for the initial transfer and AWS Direct Connect for ongoing connectivity.
  4. AWS Snowball for the initial transfer and AWS Site-to-Site VPN for ongoing connectivity.
A
  1. AWS Snowball for the initial transfer and AWS Direct Connect for ongoing connectivity.

40-80TB = Snowball

ongoing network connectivity = Direct Connect

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

A company serves content to its subscribers across the world using an application running on AWS. The application has several Amazon EC2 instances in a private subnet behind an Application Load Balancer (ALB). Due to a recent change in copyright restrictions, the chief information officer (CIO) wants to block access for certain countries.

Which action will meet these requirements?

  1. Modify the ALB security group to deny incoming traffic from blocked countries.
  2. Modify the security group for EC2 instances to deny incoming traffic from blocked countries.
  3. Use Amazon CloudFront to serve the application and deny access to blocked countries.
  4. Use ALB listener rules to return access denied responses to incoming traffic from blocked countries
A
  1. Use Amazon CloudFront to serve the application and deny access to blocked countries.

block access for certain countries = geo restrictions = CloudFront

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

A company is creating a new application that will store a large amount of data. The data will be analyzed hourly and modified by several Amazon EC2 Linux instances that are deployed across multiple Availability Zones. The application team believes the amount of space needed will continue to grow for the next 6 months.

Which set of actions should a solutions architect take to support these needs?

  1. Store the data in an Amazon Elastic Block Store (Amazon EBS) volume. Mount the EBS volume on the application instances.
  2. Store the data in an Amazon Elastic File System (Amazon EFS) file system. Mount the file system on the application instances.
  3. Store the data in Amazon S3 Glacier. Update the S3 Glacier vault policy to allow access to the application instances.
  4. Store the data in an Amazon Elastic Block Store (Amazon EBS) Provisioned IOPS volume shared between the application instances.
A

Store the data in an Amazon Elastic File System (Amazon EFS) file system. Mount the file system on the application instances.

multiple Availability Zones = EFS

Linux = EFS

data modified = not static = not S3

single AZ = EBS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

A company is migrating a three-tier application to AWS. The application requires a MySQL database. In the past, the application users reported poor application performance when creating new entries. These performance issues were caused by users generating different real-time reports from the application during working hours.

Which solution will improve the performance of the application when it is moved to AWS?

  1. Import the data into an Amazon DynamoDB table with provisioned capacity. Refactor the application to use DynamoDB for reports.
  2. Create the database on a compute optimized Amazon EC2 instance. Ensure compute resources exceed the on-premises database.
  3. Create an Amazon Aurora MySQL Multi-AZ DB cluster with multiple read replicas. Configure the application to use the reader endpoint for reports.
  4. Create an Amazon Aurora MySQL Multi-AZ DB cluster. Configure the application to use the backup instance of the cluster as an endpoint for the reports.
A
  1. Create an Amazon Aurora MySQL Multi-AZ DB cluster with multiple read replicas. Configure the application to use the reader endpoint for reports.

Look for answers that look similar. It is going to be one of those.

real-time reports = read operations = read replicas needed

MySQL = RDS = not DynamoDB = Aurora compatible

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

A solutions architect is deploying a distributed database on multiple Amazon EC2 instances. The database stores all data on multiple instances so it can withstand the loss of an instance. The database requires block storage with latency and throughput to support several million transactions per second per server.

Which storage solution should the solutions architect use?

  1. EBS Amazon Elastic Block Store (Amazon EBS)
  2. Amazon EC2 instance store
  3. Amazon Elastic File System (Amazon EFS)
  4. Amazon S3
A
  1. Amazon EC2 instance store

block storage = instance store

Latency and throughput = instance store

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Organizers for a global event want to put daily reports online as static HTML pages. The pages are expected to generate millions of views from users around the world. The files are stored in an Amazon S3 bucket. A solutions architect has been asked to design an efficient and effective solution.

Which action should the solutions architect take to accomplish this?

  1. Generate presigned URLs for the files.
  2. Use cross-Region replication to all Regions.
  3. Use the geoproximity feature of Amazon Route 53.
  4. Use Amazon CloudFront with the S3 bucket as its origin.
A
  1. Use Amazon CloudFront with the S3 bucket as its origin.

users around the world = edge caching = CloudFront

efficient = CloudFront

S3 static pages = origin + CloudFront

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

A solutions architect is designing a new service behind Amazon API Gateway. The request patterns for the service will be unpredictable and can change suddenly from 0 requests to over 500 per second. The total size of the data that needs to be persisted in a backend database is currently less than 1 GB with unpredictable future growth. Data can be queried using simple key-value requests.

Which combination of AWS services would meet these requirements? (Choose two.)

  1. AWS Fargate
  2. AWS Lambda
  3. Amazon DynamoDB
  4. Amazon EC2 Auto Scaling
  5. MySQL-compatible Amazon Aurora
A
  1. AWS Lambda
  2. Amazon DynamoDB

key-value data = non-relational = DynamoDB

requests unpredictable = lambda

17
Q

A start-up company has a web application based in the us-east-1 Region with multiple Amazon EC2 instances running behind an Application Load Balancer across multiple Availability Zones. As the company’s user base grows in the us-west-1 Region, it needs a solution with low latency and high availability.

What should a solutions architect do to accomplish this?

  1. Provision EC2 instances in us-west-1. Switch the Application Load Balancer to a Network Load Balancer to achieve cross-Region load balancing.
  2. Provision EC2 instances and an Application Load Balancer in us-west-1. Make the load balancer distribute the traffic based on the location of the request.
  3. Provision EC2 instances and configure an Application Load Balancer in us-west-1. Create an accelerator in AWS Global Accelerator that uses an endpoint group that includes the load balancer endpoints in both Regions.
  4. Provision EC2 instances and configure an Application Load Balancer in us-west-1. Configure Amazon Route 53 with a weighted routing policy. Create alias records in Route 53 that point to the Application Load Balancer.
A
  1. Provision EC2 instances and configure an Application Load Balancer in us-west-1. Create an accelerator in AWS Global Accelerator that uses an endpoint group that includes the load balancer endpoints in both Regions.

multiple regions = AWS Global Accelerator

low latency = caching = AWS Global Accelerator

18
Q

A solutions architect is designing a solution to access a catalog of images and provide users with the ability to submit requests to customize images. Image customization parameters will be in any request sent to an AWS API Gateway API. The customized image will be generated on demand, and users will receive a link they can click to view or download their customized image. The solution must be highly available for viewing and customizing images.

What is the MOST cost-effective solution to meet these requirements?

  1. Use Amazon EC2 instances to manipulate the original image into the requested customization. Store the original and manipulated images in Amazon S3. Configure an Elastic Load Balancer in front of the EC2 instances.
  2. Use AWS Lambda to manipulate the original image to the requested customization. Store the original and manipulated images in Amazon S3. Configure an Amazon CloudFront distribution with the S3 bucket as the origin.
  3. Use AWS Lambda to manipulate the original image to the requested customization. Store the original images in Amazon S3 and the manipulated images in Amazon DynamoDB. Configure an Elastic Load Balancer in front of the Amazon EC2 instances.
  4. Use Amazon EC2 instances to manipulate the original image into the requested customization. Store the original images in Amazon S3 and the manipulated images in Amazon DynamoDB. Configure an Amazon CloudFront distribution with the S3 bucket as the origin.
A
  1. Use AWS Lambda to manipulate the original image to the requested customization. Store the original and manipulated images in Amazon S3. Configure an Amazon CloudFront distribution with the S3 bucket as the origin.

catalog of images = S3

MOST cost-effective = severless = AWS Lambda

MOST cost-effective = severless = Store the original and manipulated images in Amazon S3

users will receive a link = CloudFront distribution with the S3 bucket as the origin

19
Q

A company is planning to migrate a business-critical dataset to Amazon S3. The current solution design uses a single S3 bucket in the us-east-1 Region with versioning enabled to store the dataset. The company’s disaster recovery policy states that all data multiple AWS Regions.

How should a solutions architect design the S3 solution?

  1. Create an additional S3 bucket in another Region and configure cross-Region replication.
  2. Create an additional S3 bucket in another Region and configure cross-origin resource sharing (CORS).
  3. Create an additional S3 bucket with versioning in another Region and configure cross-Region replication.
  4. Create an additional S3 bucket with versioning in another Region and configure cross-origin resource (CORS).
A
  1. Create an additional S3 bucket with versioning in another Region and configure cross-Region replication.

S3 multiple AWS Regions = cross-Region replication

versioning enabled = not default

20
Q

A company has an application running on Amazon EC2 instances in a VPC. One of the applications needs to call an Amazon S3 API to store and read objects. The company’s security policies restrict any internet-bound traffic from the applications.

Which action will fulfill these requirements and maintain security?

  1. Configure an S3 interface endpoint.
  2. Configure an S3 gateway endpoint.
  3. Create an S3 bucket in a private subnet.
  4. Create an S3 bucket in the same Region as the EC2 instance.
A
  1. Configure an S3 gateway endpoint.

security policies restrict any internet-bound = internal VPC traffic only = endpoint

needs to call an Amazon S3 API = gateway endpoint

anything not S3 or DynamoDB = interface endpoint

21
Q
A