Amazon (SAA-C03) Exam Questions And Answers page 38
A company runs an application on Amazon EC2 instances. The application is deployed in private subnets in three Availability Zones of the us-east-1 Region. The instances must be able to connect to the internet to download files. The company wants a design that is highly available across the Region.
Which solution should be implemented to ensure that there are no disruptions to internet connectivity?
Which solution should be implemented to ensure that there are no disruptions to internet connectivity?
Deploy a NAT gateway in a public subnet of each Availability Zone.
Deploy a transit gateway in a private subnet of each Availability Zone.
Deploy an internet gateway in a public subnet of each Availability Zone.
Design Resilient Architectures
Define Performant Architectures
A company runs an application on an Amazon EC2 instance backed by Amazon Elastic Block Store (Amazon EBS). The instance needs to be available for 12 hours daily. The company wants to save costs by making the instance unavailable outside the window required for the application. However, the contents of the instance s memory must be preserved whenever the instance is unavailable.
What should a solutions architect do to meet this requirement?
What should a solutions architect do to meet this requirement?
Stop the instance outside the application s availability window. Start up the instance again when required.
Hibernate the instance outside the application s availability window. Start up the instance again when required.
Use Auto Scaling to scale down the instance outside the application s availability window. Scale up the instance when required.
Terminate the instance outside the application s availability window. Launch the instance by using a preconfigured Amazon Machine Image (AMI) when required.
Define Performant Architectures
Design Cost-Optimized Architectures
A company runs an application on an Amazon EC2 instance backed by Amazon Elastic Block Store (Amazon EBS). The instance needs to be available for 12 hours daily. The company wants to save costs by making the instance unavailable outside the window required for the application. However, the contents of the instance s memory must be preserved whenever the instance is unavailable.
What should a solutions architect do to meet this requirement?
What should a solutions architect do to meet this requirement?
Terminate the instance outside the application s availability window. Launch the instance by using a preconfigured Amazon Machine Image (AMI) when required.
Stop the instance outside the application s availability window. Start up the instance again when required.
Hibernate the instance outside the application s availability window. Start up the instance again when required.
Use Auto Scaling to scale down the instance outside the application s availability window. Scale up the instance when required.
Define Performant Architectures
Design Cost-Optimized Architectures
A company runs an application that uses multiple Amazon EC2 instances to gather data from its users. The data is then processed and transferred to Amazon S3 for long-term storage. A review of the application shows that there were long periods of time when the EC2 instances were not being used. A solutions architect needs to design a solution that optimizes utilization and reduces costs.
Which solution meets these requirements?
Which solution meets these requirements?
Use Amazon EC2 in an Auto Scaling group with On-Demand instances.
Build the application to use Amazon Lightsail with On-Demand Instances.
Create an Amazon CloudWatch cron job to automatically stop the EC2 instances when there is no activity.
Redesign the application to use an event-driven design with Amazon Simple Queue Service (Amazon SQS) and AWS Lambda.
Design Cost-Optimized Architectures
A company runs an application using Amazon ECS. The application creates resized versions of an original image and then makes Amazon S3 API calls to store the resized images in Amazon S3. How can a solutions architect ensure that the application has permission to access Amazon S3?
Update the S3 role in AWS IAM to allow read/write access from Amazon ECS, and then relaunch the container.
Create an IAM role with S3 permissions, and then specify that role as the taskRoleArn in the task definition.
Create a security group that allows access from Amazon ECS to Amazon S3, and update the launch configuration used by the ECS cluster.
Create an IAM user with S3 permissions, and then relaunch the Amazon EC2 instances for the ECS cluster while logged in as this account.
Define Performant Architectures
Specify Secure Applications and Architectures
A company runs an internal browser-based application. The application runs on Amazon EC2 instances behind an Application Load Balancer. The instances run in an Amazon EC2 Auto Scaling group across multiple Availability Zones. The Auto Scaling group scales up to 20 instances during work hours, but scales down to 2 instances overnight. Staff are complaining that the application is very slow when the day begins, although it runs well by mid-morning.
How should the scaling be changed to address the staff complaints and keep costs to a minimum?
How should the scaling be changed to address the staff complaints and keep costs to a minimum?
Implement a scheduled action that sets the desired capacity to 20 shortly before the office opens.
Implement a step scaling action triggered at a lower CPU threshold, and decrease the cooldown period.
Implement a target tracking action triggered at a lower CPU threshold, and decrease the cooldown period.
Implement a scheduled action that sets the minimum and maximum capacity to 20 shortly before the office opens.
Define Performant Architectures
A company runs an online marketplace web application on AWS. The application serves hundreds of thousands of users during peak hours. The company needs a scalable, near-real-time solution to share the details of millions of financial transactions with several other internal applications. Transactions also need to be processed to remove sensitive data before being stored in a document database for low-latency retrieval.
What should a solutions architect recommend to meet these requirements?
What should a solutions architect recommend to meet these requirements?
Store the transactions data into Amazon DynamoDB. Set up a rule in DynamoDB to remove sensitive data from every transaction upon write. Use DynamoDB Streams to share the transactions data with other applications.
Stream the transactions data into Amazon Kinesis Data Firehose to store data in Amazon DynamoDB and Amazon S3. Use AWS Lambda integration with Kinesis Data Firehose to remove sensitive data. Other applications can consume the data stored in Amazon S3.
Stream the transactions data into Amazon Kinesis Data Streams. Use AWS Lambda integration to remove sensitive data from every transaction and then store the transactions data in AmazonDynamoDB. Other applications can consume the transactions data off the Kinesis data stream.
Store the batched transactions data in Amazon S3 as files. Use AWS Lambda to process every file and remove sensitive data before updating the files in Amazon S3. The Lambda function then stores the data in Amazon DynamoDB. Other applications can consume transaction files stored in Amazon S3.
Define Performant Architectures
Specify Secure Applications and Architectures
A company runs a production application on a fleet of Amazon EC2 instances. The application reads the data from an Amazon SQS queue and processes the messages in parallel. The message volume is unpredictable and often has intermittent traffic. This application should continually process messages without any downtime.
Which solution meets these requirements MOST cost-effectively?
Which solution meets these requirements MOST cost-effectively?
Use Spot Instances exclusively to handle the maximum capacity required.
Use Reserved Instances exclusively to handle the maximum capacity required.
Use Reserved Instances for the baseline capacity and use Spot Instances to handle additional capacity.
Use Reserved Instances for the baseline capacity and use On-Demand Instances to handle additional capacity.
Design Cost-Optimized Architectures
A company runs a static website through its on-premises data center. The company has multiple servers that handle all of its traffic, but on busy days, services are interrupted and the website becomes unavailable. The company wants to expand its presence globally and plans to triple its website traffic.
What should a solutions architect recommend to meet these requirements?
What should a solutions architect recommend to meet these requirements?
Migrate the website content to Amazon S3 and host the website on Amazon CloudFront.
Migrate the website content to Amazon EC2 instances with public Elastic IP addresses in multiple AWS Regions.
Migrate the website content to Amazon EC2 instances and vertically scale as the load increases.
Use Amazon Route 53 to distribute the loads across multiple Amazon CloudFront distributions for each AWS Region that exists globally.
Design Resilient Architectures
Define Performant Architectures
A company runs a three-tier web application in a VPC across multiple Availability Zones. Amazon EC2 instances run in an Auto Scaling group for the application tier.
The company needs to make an automated scaling plan that will analyze each resource s daily and weekly historical workload trends. The configuration must scale resources appropriately according to both the forecast and live changes in utilization.
Which scaling strategy should a solutions architect recommend to meet these requirements?
The company needs to make an automated scaling plan that will analyze each resource s daily and weekly historical workload trends. The configuration must scale resources appropriately according to both the forecast and live changes in utilization.
Which scaling strategy should a solutions architect recommend to meet these requirements?
Implement dynamic scaling with step scaling based on average CPU utilization from the EC2 instances.
Enable predictive scaling to forecast and scale. Configure dynamic scaling with target tracking.
Create an automated scheduled scaling action based on the traffic patterns of the web application.
Set up a simple scaling policy. Increase the cooldown period based on the EC2 instance startup time.
Design Resilient Architectures
Define Performant Architectures
Comments