AWS SAA C03 Exam Notes Flashcards
A company uses EC2 instances and stores data on EBS volumes and must ensure all data in encrypted at rest using KMS and control key rotation
Create a customer managed key
Migration of multi tier on premises to AWS, must minimize application changes and improve application resiliency during migration
Migrate the web tier to EC2 in an Auto Scaling Group behind ALB
Migrate the database to RDS Multi AZ
How do you enable WAF on CLB
Replace CLB with ALB
Running an SMB server that stores large files that are accessed up to 7 days after that a max of 24 hours after Creation date
AWS File Gateway and S3 Lifecycle policy to Glacier Deep Archive afterwards
Allow instances in private subnet to access public Internet
NAT Gateway
Ivp6 Traffic
Egress Only Internet Gateway
Web application database RDS on ASG heavy read load
Read Replica
Elasticache cluster cache of query results
Secure environment variables for lambda and api credentials used by a lambda function across multiple environments
Encrypt environment with a new KMS key
RDS exclusive availability to EC2
IAM DB Authentication
Windows Server
Amazon Fsx for Windows File Server
Early morning or specific time of day EC2 traffic surge
Scheduling or time scaling
Migrate the data on-premises to the DR site on AWS over a few days. We have 15TB of data and our on-premises data center has a 1.5Gbps internet connection. Company security policy requires network encryption during data transfer. Which solution is the most appropriate from a cost perspective?
Configure VPN between on premises and AWS
Created 2 public and 2 private subnets on my VPC. Web applications are developed as microservices, so you will build multiple EC2s to place those resources. Depending on the URL, you will need to target different EC2 instances to route the requests. Which load balancer best practice meets these requirements?
Build ALB in the public subnets, Build EC2 private subnets, distribute requests per the url
A developer is building a new online transaction processing (OLTP) application for a small, highly read-write intensive database. A single table in the database is continuously updated throughout the day, so developers want to ensure good performance in database access. Which EBS storage option is suitable for maintaining application performance?
Provisioned IOPS SSD
Backups must be retained for 7 years for compliance purposes. We rarely have access to backup files, and if we need to restore a backup, we typically give 5 business days‘ notice. The company is currently exploring cloud-based capabilities to reduce the storage costs and operational burden of tape management, and wants to minimize the disruption of migrating from tape backup to the cloud. Which storage solution is the most cost effective?
Backup to S3 Glacier using Storage Gateway Tape Gateway
Your accounting application runs on-premises and uses MySQL as its database. The business department reported that there were times when performance degraded, and analysis revealed that it occurred when users were performing reporting tasks during working hours. You are looking to improve performance and are considering moving to AWS. Which solution is the most cost-effective from a build and operations perspective? (Select one)
Deploy Aurora MYSQL in Multi AZ with multiple read replicas
A network engineer created two VPCs, named VPC1 and VPC2. I have EC2 running in each VPC and I need to access EC2 in VPC2 from EC2 in VPC1. Since applications exchange large amounts of data across EC2 across VPCs, communication between VPCs must have no single point of failure, have sufficient bandwidth, and be secure. Which solution is right to meet these requirements?
Connect VPC’s via transit gateways
Building an EC2 instance capable of high-performance computing in order to create a physics computing system that analyzes natural phenomena. This instance requires low-latency, high-throughput networking and adequate storage capacity. Which EC2 instance launch option meets your requirements?
Cluster Placement Group
A solution architect is designing an application that uses EBS volumes on EC2 running in the Tokyo region of AWS. As a disaster countermeasure, it is necessary to back up the EBS volume in another region and restore the EBS volume in another region when a disaster occurs. What is the most efficient way to meet this requirement?
Create an EBS Snapshot and copy to the desired region
The system you are building on AWS requires data encryption to handle confidential data, and has the following management requirements for encryption keys. ?Managed as a single tenant ?Cryptographic module that satisfies FIPS 140-2 Level 3 Which is the best solution to meet the above requirements?
CloudHSM
A company runs a shopping application that uses Amazon DynamoDB to store customer information. In case of data corruption, a solutions architect needs to design a solution that meets a recovery point objective (RPO) of 15 minutes and a recovery time objective (RTO) of 1 hour.
Configure DynamoDB point-in-time recovery. For RPO recovery, restore to the desired point in time.
A company’s HTTP application is behind a Network Load Balancer (NLB). The NLB’s target group is configured to use an Amazon EC2 Auto Scaling group with multiple EC2 instances that run the web service. The company notices that the NLB is not detecting HTTP errors for the application. These errors require a manual restart of the EC2 instances that run the web service. The company needs to improve the application’s availability without writing custom scripts or code.
Replace the NLB with an Application Load Balancer. Enable HTTP health checks by supplying the URL of the company’s application. Configure an Auto Scaling action to replace unhealthy instances.
A company is running a business-critical web application on Amazon EC2 instances behind an Application Load Balancer. The EC2 instances are in an Auto Scaling group. The application uses an Amazon Aurora PostgreSQL database that is deployed in a single Availability Zone. The company wants the application to be highly available with minimum downtime and minimum loss of data. How should the company achieve this?
Configure the Auto Scaling group to use multiple Availability Zones. Configure the database as Multi-AZ. Configure an Amazon RDS Proxy instance for the database.
A solutions architect is designing the cloud architecture for a new application being deployed on AWS. The process should run in parallel while adding and removing application nodes as needed based on the number of jobs to be processed. The processor application is stateless. How must the solutions architect ensure that the application is loosely coupled and the job items are durably stored?
Create an Amazon SQS queue to hold the jobs that need to be processed. Create an Amazon Machine Image (AMI) that consists of the processor application. Create a launch template that uses the AMI. Create an Auto Scaling group using the launch template. Set the scaling policy for the Auto Scaling group to add and remove nodes based on the number of items in the SQS queue.
A company is running a batch job on an EC2 instance inside a private subnet. The instance gathers input data from an S3 bucket in the same region through a NAT Gateway. The company is looking for a solution that will reduce costs without imposing risks on redundancy or availability.
Remove the NAT Gateway and use a Gateway VPC endpoint to access the S3 bucket from the instance.
A specific type of Elastic Load Balancer that uses UDP as the protocol for communication between clients and thousands of game servers around the world.
Use Network Load Balancer for TCP/UDP protocols.
Encrypt EBS volumes restored from the unencrypted EBS snapshots
Copy the snapshot and enable encryption with a new symmetric CMK while creating an EBS volume using the snapshot.
A company plans to deploy a Docker-based batch application in AWS. The application will be used to process both mission-critical data as well as non-essential batch jobs.
Use ECS as the container management service then set up a combination of Reserved and Spot EC2 Instances for processing mission-critical and non-essential batch jobs respectively.
A healthcare company stores sensitive patient health records in their on-premises storage systems. These records must be kept indefinitely and protected from any type of modifications once they are stored. Compliance regulations mandate that the records must have granular access control and each data access must be audited at all levels. Currently, there are millions of obsolete records that are not accessed by their web application, and their on-premises storage is quickly running out of space. The Solutions Architect must design a solution to immediately move existing records to AWS and support the ever-growing number of new health records.
Set up AWS DataSync to move the existing health records from the on-premises network to the AWS Cloud. Launch a new Amazon S3 bucket to store existing and new records. Enable AWS CloudTrail with Data Events and Amazon S3 Object Lock in the bucket.
A company has an application hosted in an Amazon ECS Cluster behind an Application Load Balancer. The Solutions Architect is building a sophisticated web filtering solution that allows or blocks web requests based on the country that the requests originate from. However, the solution should still allow specific IP addresses from that country.
Add another rule in the AWS WAF web ACL with a geo match condition that blocks requests that originate from a specific country.
Using AWS WAF, create a web ACL with a rule that explicitly allows requests from approved IP addresses declared in an IP Set.
A tech company that you are working for has undertaken a Total Cost Of Ownership (TCO) analysis evaluating the use of Amazon S3 versus acquiring more storage hardware. The result was that all 1200 employees would be granted access to use Amazon S3 for the storage of their personal documents.
Configure an IAM role and an IAM Policy to access the bucket.
HPC for Linux
Amazon Fsx for Lustre
A company is designing a resilient architecture for its application that relies heavily on Amazon DynamoDB for data storage. The solutions architect is looking for a caching solution to improve read performance and reduce the load on DynamoDB. What service should the architect recommend for this scenario?
Amazon DynamoDB Accelerator (DAX).
A company is deploying Amazon EC2 instances for a web application that requires access to both public and private resources. They want to ensure that the EC2 instances have public IP addresses for external access and private IP addresses for communication within their Virtual Private Cloud (VPC). Which configuration should they use?
Launch the EC2 instances in a public subnet with both public and private IP addresses enabled. Configure appropriate security groups for public and private access.
A company wants to design a disaster recovery architecture that ensures business continuity in the event of a regional AWS service outage. Which AWS service can help them achieve this goal?
AWS Global Accelerator
A company is designing an application that requires both scalability and high availability. The application consists of microservices deployed on AWS Fargate. Each microservice has varying resource demands based on the time of day, and the company aims to optimize costs without sacrificing performance. What strategies and AWS services should the solutions architect recommend to achieve both scalability and cost optimization?
Use AWS Fargate for microservices with AWS Auto Scaling based on custom metrics, implement an API Gateway for communication between microservices, and utilize Amazon Aurora Serverless for cost-efficient database scalability.
A financial institution is migrating its monolithic application to a microservices architecture on AWS. The institution wants to ensure that each microservice has its own isolated storage with granular access control. What AWS service should the solutions architect recommend for secure and isolated microservices storage?
Amazon DynamoDB with fine-grained access control
A company has a three-tier application for image sharing. The application uses an Amazon EC2 instance for the front-end layer, another EC2 instance for the application layer, and a third EC2 instance for a MySQL database. A solutions architect must design a scalable and highly available solution that requires the least amount of change to the application. Which solution meets these requirements?
Use load-balanced Multi-AZ AWS Elastic Beanstalk environments for the front-end layer and the application layer. Move the database to an Amazon RDS Multi-AZ DB instance. Use Amazon S3 to store and serve users’ images.
A company has an application that ingests incoming messages, and dozens of other applications and microservices quickly consume these messages. The message volume varies drastically and can sometimes reach 100,000 messages per second. The company aims to decouple the solution and increase scalability. What solution best meets these requirements?
Publish the messages to an Amazon Simple Notification Service (Amazon SNS) topic with multiple Amazon Simple Queue Service (Amazon SQS) subscriptions. Configure consumer applications to process the messages from the queues.
An application runs on an Amazon EC2 instance that has an Elastic IP address in VPC A. The application requires access to a database in VPC B. Both VPCs are in the same AWS account. Which solution will provide the required access MOST securely?
Configure a VPC peering connection between VPC A and VPC B.
DDOS Layer 7
WAF and Cloudffront
AWS ML to identify PII
AWS Textract to extract and Comprehend to identify PII
Encryption questions with Self managed keys
Pick the option with “Create a new customer managed key”
Ensure NLB equal distribution between 2 availability zones
Disable Cross Zone load balancing
A company’s cloud operations team wants to standardize resource remediation. The company wants to provide a standard set of governance evaluations and remediations to all member accounts in its organization in AWS Organizations.
Which self-managed AWS service can the company use to meet these requirements with the LEAST amount of operational effort?
AWS Config conformance packs are collections of AWS Config rules and remediation actions that you can deploy as a single entity in an account and a Region or across an organization in AWS Organizations.
company runs an application on three very large Amazon EC2 instances in a single Availability Zone in the us-east-1 Region. Multiple 16 TB Amazon Elastic Block Store (Amazon EBS) volumes are attached to each EC2 instance. The operations team uses an AWS Lambda script triggered by a schedule-based Amazon EventBridge rule to stop the instances on evenings and weekends, and start the instances on weekday mornings.
Before deploying the solution, the company used the public AWS pricing documentation to estimate the overall costs of running this data warehouse solution 5 days a week for 10 hours a day. When looking at monthly Cost Explorer charges for this new account, the overall charges are higher than the estimate.
What is the MOST likely cost factor that the company overlooked?
When you stop an EC2 instance, AWS does not charge you for usage or data transfer. However, AWS does charge you for the storage of any EBS volumes that are attached to the instance.
A company wants to build an immutable infrastructure for its software applications. The company wants to test the software applications before sending traffic to them. The company seeks an efficient solution that limits the effects of application bugs.
Which combination of steps should a solutions architect recommend? (Select TWO.)
Route 53 weighted routing gives you the ability to send a percentage of traffic to multiple resources. You can use a blue/green deployment strategy to deploy software applications predictably and to quickly roll back deployments if tests fail.
AWS CloudFormation-The company could use a separate environment to test changes before the company deploys changes to production.
An environment has an Auto Scaling group across two Availability Zones referred to as AZ-a and AZ-b. AZ-a has four Amazon EC2 instances, and AZ-b has three EC2 instances. The Auto Scaling group uses a default termination policy. None of the instances are protected from a scale-in event.
How will Auto Scaling proceed if there is a scale-in event?
The default termination policy helps ensure that instances are distributed evenly across Availability Zones for high availability. This action is the starting point of the default termination policy if the Availability Zones have an unequal number of instances and the instances are unprotected.
A solutions architect is designing a database solution that must support a high rate of random disk reads and writes. It must provide consistent performance, and requires long-term persistence.
Which storage solution meets these requirements?
Provisioned IOPS volumes support a high rate of random disk reads and writes. Provisioned IOPS volumes handle I/O-intensive workloads (particularly database workloads) that are sensitive to storage performance and consistency. Provisioned IOPS volumes use a consistent IOPS rate that you specify when you create them. Amazon EBS delivers the provisioned performance 99.9% of the time.
A team has an application that detects when new objects are uploaded into an Amazon S3 bucket. The uploads invoke an AWS Lambda function to write object metadata into an Amazon DynamoDB table and an Amazon RDS for PostgreSQL database.
Which action should the team take to ensure high availability?
By default, Amazon RDS is deployed to a single Availability Zone. Multi-AZ is the standard option to provide high availability. In a Multi-AZ setup, RDS DB instances are synchronously replicated in other Availability Zones to provide high availability and failover support.
An application launched on Amazon EC2 instances needs to publish personally identifiable information (PII) about customers using Amazon Simple Notification Service (Amazon SNS). The application is launched in private subnets within an Amazon VPC.
What is the MOST secure way to allow the application to access service endpoints in the same AWS Region?
The use of PrivateLink does not require a public IP address on the instances or public access from the instance subnet. Traffic remains within the Region of the VPC and provides no single point of failure with the VPC endpoint. PrivateLink is the feature that powers VPC endpoints.
A solutions architect is responsible for a new highly available three-tier architecture on AWS. An Application Load Balancer distributes traffic to two different Availability Zones with an auto scaling group that consists of Amazon EC2 instances and a Multi-AZ Amazon RDS DB instance. The solutions architect must recommend a multi-Region recovery plan with a recovery time objective (RTO) of 30 minutes. Because of budget constraints, the solutions architect cannot recommend a plan that replicates the entire architecture. The recovery plan should not use the secondary Region unless necessary.
Which disaster recovery strategy will meet these requirements?
A pilot light strategy meets all the requirements. This strategy does not have a large increase in cost. This strategy offers an RTO within 10s of minutes.
A company is looking for ways to incorporate its current AWS usage expenditure into its operational expense tracking dashboard. A solutions architect has been tasked with proposing a method that enables the company to fetch its current year‘s cost data and project the costs for the forthcoming 12 months programmatically.
Which approach would fulfill these needs with the MINIMUM operational burden?
Leverage the AWS Cost Explorer API to retrieve usage cost-related data, using pagin
AWS Cost Explorer API
An Amazon DynamoDB table has a variable load, ranging from sustained heavy usage some days, to only having small spikes on others. The load is 80% read and 20% write. The provisioned throughput capacity has been configured to account for the heavy load to ensure throttling does not occur.
What would be the most efficient solution to optimize cost?
Create DynamoDB auto scaling policy
A company is transitioning their web presence into the AWS cloud. As part of the migration the company will be running a web application both on-premises and in AWS for a period of time. During the period of co-existence the client would like 80% of the traffic to hit the AWS-based web servers and 20% to be directed to the on-premises web servers.
What method can a Solutions Architect use to distribute traffic as requested?
Use Route 53 with a weighted routing policy and configure the respective weigh
Route 53 with weighted routing policy
A Solutions Architect needs to capture information about the traffic that reaches an Amazon Elastic Load Balancer. The information should include the source, destination, and protocol.
What is the most secure and reliable method for gathering this data?
You can use VPC Flow Logs to capture detailed information about the traffic going to and from your Elastic Load Balancer. Create a flow log for each network interface for your load balancer. There is one network interface per load balancer subnet.
The database layer of an on-premises web application is being migrated to AWS. The database currently uses an in-memory cache. A Solutions Architect must deliver a solution that supports high availability and replication for the caching layer.
Which service should the Solutions Architect recommend?
Amazon ElastiCache Redis
Amazon ElastiCache Redis
CORRECT: “Amazon ElastiCache Redis“ is the correct answer.
INCORRECT: “Amazon ElastiCache Memcached“ is incorrect as it does not support high availability or multi-AZ.
A corporation has a web-based multiplayer gaming service that operates using both TCP and UDP protocols. Amazon Route 53 is currently employed to direct application traffic to a set of Network Load Balancers (NLBs) in various AWS Regions. To prepare for an increase in user activity, the company must enhance application performance and reduce latency.
Which approach will best meet these requirements?
Implement AWS Global Accelerator ahead of the NLBs
AWS Global Accelerator is designed to improve the availability and performance of your applications for local and global users. It directs traffic to optimal endpoints over the AWS global network, thus enhancing the performance of your TCP and UDP traffic by routing packets through the AWS global network infrastructure, reducing jitter, and improving overall game performance.
A web application runs on a series of Amazon EC2 instances behind an Application Load Balancer (ALB). A Solutions Architect is updating the configuration with a health check and needs to select the protocol to use. What options are available? (choose 2)
An Application Load Balancer periodically sends requests to its registered targets to test their status. These tests are called health checks.
Each load balancer node routes requests only to the healthy targets in the enabled Availability Zones for the load balancer. Each load balancer node checks the health of each target, using the health check settings for the target groups with which the target is registered. After your target is registered, it must pass one health check to be considered healthy. After each health check is completed, the load balancer node closes the connection that was established for the health check.
If a target group contains only unhealthy registered targets, the load balancer nodes route requests across its unhealthy targets.
For an ALB the possible protocols are HTTP and HTTPS. The default is the HTTP protocol.