Amazon (SAA-C03) Exam Questions And Answers page 53
An application is running on an Amazon EC2 instance and must have millisecond latency when running the workload. The application makes many small reads and writes to the file system, but the file system itself is small.
Which Amazon Elastic Block Store (Amazon EBS) volume type should a solutions architect attach to their EC2 instance?
Which Amazon Elastic Block Store (Amazon EBS) volume type should a solutions architect attach to their EC2 instance?
General Purpose SSD (gp2)
Provisioned IOPS SSD (io1)
Throughput Optimized HDD (st1)
Define Performant Architectures
An application requires a development environment (DEV) and production environment (PROD) for several years. The DEV instances will run for 10 hours each day during normal business hours, while the PROD instances will run 24 hours each day. A solutions architect needs to determine a compute instance purchase strategy to minimize costs.
Which solution is the MOST cost-effective?
Which solution is the MOST cost-effective?
DEV with Spot Instances and PROD with On-Demand Instances
DEV with On-Demand Instances and PROD with Spot Instances
DEV with Scheduled Reserved Instances and PROD with Reserved Instances
DEV with On-Demand Instances and PROD with Scheduled Reserved Instances
Design Cost-Optimized Architectures
An application running on an Amazon EC2 instance in VPC-A needs to access files in another EC2 instance in VPC-B. Both are in separate. AWS accounts. The network administrator needs to design a solution to enable 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?
Which solution will meet these requirements?
Set up a VPC peering connection between VPC-A and VPC-B.
Set up VPC gateway endpoints for the EC2 instance running in VPC-B.
Attach a virtual private gateway to VPC-B and enable routing from VPC-A.
Create a private virtual interface (VIF) for the EC2 instance running in VPC-B and add appropriate routes from VPC-B.
Specify Secure Applications and Architectures
Design Cost-Optimized Architectures
An application running on an Amazon EC2 instance needs to access an Amazon DynamoDB table. Both the EC2 instance and the DynamoDB table are in the same AWS account. A solutions architect must configure the necessary permissions.
Which solution will allow least privilege access to the DynamoDB table from the EC2 instance?
Which solution will allow least privilege access to the DynamoDB table from the EC2 instance?
Create an IAM role with the appropriate policy to allow access to the DynamoDB table. Create an instance profile to assign this IAM role to the EC2 instance.
Create an IAM role with the appropriate policy to allow access to the DynamoDB table. Add the EC2 instance to the trust relationship policy document to allow it to assume the role.
Create an IAM user with the appropriate policy to allow access to the DynamoDB table. Store the credentials in an Amazon S3 bucket and read them from within the application code directly.
Create an IAM user with the appropriate policy to allow access to the DynamoDB table. Ensure that the application stores the IAM credentials securely on local storage and uses them to make the DynamoDB calls.
Specify Secure Applications and Architectures
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?
What should the solutions architect do to separate the read requests from the write requests?
Enable read-through caching on the Amazon Aurora database.
Update the application to read from the Multi-AZ standby instance.
Create a read replica and modify the application to use the appropriate endpoint.
Create a second Amazon Aurora database and link it to the primary database as a read replica.
Define Performant Architectures
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?
What should the solutions architect do to separate the read requests from the write requests?
Enable read-through caching on the Amazon Aurora database.
Update the application to read from the Multi-AZ standby instance.
Create a read replica and modify the application to use the appropriate endpoint.
Create a second Amazon Aurora database and link it to the primary database as a read replica.
Define Performant Architectures
An application runs on Amazon EC2 instances across multiple Availability Zones. The instances run in an Amazon EC2 Auto Scaling group behind an Application Load Balancer. The application performs best when the CPU utilization of the EC2 instances is at or near 40%.
What should a solutions architect do to maintain the desired performance across all instances in the group?
What should a solutions architect do to maintain the desired performance across all instances in the group?
Use a simple scaling policy to dynamically scale the Auto Scaling group.
Use a target tracking policy to dynamically scale the Auto Scaling group.
Use an AWS Lambda function to update the desired Auto Scaling group capacity.
Use scheduled scaling actions to scale up and scale down the Auto Scaling group.
Define Performant Architectures
An application runs on Amazon EC2 instances in private subnets. The application needs to access an Amazon DynamoDB table. What is the MOST secure way to access the table while ensuring that the traffic does not leave the AWS network?
Use a VPC endpoint for DynamoDB.
Use a NAT gateway in a public subnet.
Use a NAT instance in a private subnet.
Use the internet gateway attached to the VPC.
Specify Secure Applications and Architectures
An application uses an Amazon RDS MySQL DB instance. The RDS database is becoming low on disk space. A solutions architect wants to increase the disk space without downtime. Which solution meets these requirements with the LEAST amount of effort?
Enable storage auto scaling in RDS.
Increase the RDS database instance size.
Change the RDS database instance storage type to Provisioned IOPS.
Back up the RDS database, increase the storage capacity, restore the database and stop the previous instance.
Define Performant Architectures
An ecommerce company has noticed performance degradation of its Amazon RDS based web application. The performance degradation is attributed to an increase in the number of read-only SQL queries triggered by business analysts. A solutions architect needs to solve the problem with minimal changes to the existing web application.
What should the solutions architect recommend?
What should the solutions architect recommend?
Export the data to Amazon DynamoDB and have the business analysts run their queries.
Load the data into Amazon ElastiCache and have the business analysts run their queries.
Create a read replica of the primary database and have the business analysts run their queries.
Copy the data into an Amazon Redshift cluster and have the business analysts run their queries.
Define Performant Architectures
Comments