Font size
WorksheetsSA Chapter 10
Total questions: 98
Worksheet time: 49mins
What is the main focus of Domain 2 in the AWS Certified Solutions Architect Associate Exam as covered in Chapter 10?
Design cost-effective architectures
Design resilient architectures
Design secure applications
Design high-performance databases
Which of the following is a characteristic of resilient architectures as mentioned in Chapter 10?
Design monolithic and tightly coupled architectures
Design scalable and loosely coupled architectures
Design single-point-of-failure architectures
Design architectures that are not fault-tolerant
What is another characteristic of resilient architectures that should be designed according to Chapter 10?
Design architectures that rely on a single data center
Design architectures that cannot scale
Design highly available and/or fault-tolerant architectures
Design architectures with manual recovery processes
What is the definition of resiliency in the context of an application as described in the introduction?
The ability of an application to perform well under high traffic
The ability of an application to avoid failure and recover from it quickly
The ability of an application to handle large amounts of data
The ability of an application to be user-friendly
What does the term 'availability' refer to in the context of this document?
The percentage of time an application is not working
The percentage of time an application is working as expected
The total uptime of an application in hours
The speed at which an application responds to requests
According to the document, AWS resources are expected to be available what percentage of the time?
100 percent of the time
90 percent of the time
99 percent of the time
Not guaranteed to be available 100 percent of the time
What will you learn in this chapter according to the introduction?
How to improve the user interface of AWS applications
How to calculate the cost of AWS resources
How to design an AWS environment to tolerate resource failures and recover from unavoidable failures
How to ensure AWS resources are available 100 percent of the time
What is the annual availability percentage if the application is unavailable for 3 days, 15 hours, and 39 minutes?
99%
99.9%
99.99%
99.999%
How long can an application with 99.999% availability be unavailable during a year?
5 minutes
52 minutes
4 hours, 22 minutes
8 hours, 45 minutes
What is the term used to describe the process of moving an application from the datacenter to the cloud without making any changes to the application's code?
Cloud shifting
Code refactoring
Lift and shift
Application redesigning
Which AWS service can be used for a relational database?
Amazon EC2
Amazon RDS
Amazon ElastiCache
Amazon S3
If an application is designed to run on traditional Linux or Windows servers and requires manual management of database software on an EC2 instance, it is considered a:
Cloud-native application
Traditional application
Lifted and shifted application
Decentralized application
What is the total availability of an application if it is running on a single EC2 instance with an availability of 99.9 percent and using an RDS with an availability of 99.95 percent?
99.85%
99.95%
99.9995%
99.8995%
How much downtime per year would an application likely experience with a total availability of 99.89 percent?
About 36 days
About 14 hours
About 18 hours
About 9 hours
What is the improved availability when using three EC2 instances in different availability zones instead of one, assuming each instance has an availability of 90 percent?
99.9%
99.99%
99.999%
99.9%
If an application uses three EC2 instances each with 99.9 percent availability and an ALB with 99.99 percent availability, what is the combined availability of the application?
99.9999%
99.999%
99.99%
99.9%
What is the availability of an application that uses six EC2 instances with an availability of 99.9 percent each and an ALB with an availability of 99.99 percent?
99.9999%
99.99999%
99.999999%
99.999%
What is the total application availability when you multiply 99.999 percent by the availability of DynamoDB (99.99 percent) and the availability of the ALB (99.99 percent)?
99.977 percent
99.999 percent
99.98 percent
99.95 percent
If you have six instances in one region and replicate this setup in a different region using an ALB and Route 53, what is the starting point for calculating the total availability?
The failure rate of the application in each region
The availability of the ALB
The number of instances in each region
The availability of Route 53
What is the failure rate of the application in each region if the total availability is 99.979%?
0.021%
0.001%
0.02%
0.2%
After calculating the failure rate, what is the next step in finding the total availability?
Multiply the failure rate by itself and subtract from 100%
Add the failure rate to 100%
Divide the failure rate by 100%
Subtract the failure rate from 100%
What is the approximate downtime per year when the total availability is about 99.999 percent?
5 minutes
10 minutes
2 hours
10 hours
Which of the following languages can be used to create a function that runs on AWS Lambda?
C#
Go
Ruby
All of the above
What is the primary benefit of using Lambda functions according to the text?
Lambda functions can resize images.
Lambda functions are useful for performing intermittent tasks without keeping a running EC2 instance.
Lambda functions are billed based on the time the function runs.
Lambda functions trigger the S3 bucket to upload images.
What can be increased upon request to AWS to prevent hitting service limits?
The number of Lambda functions you can create.
The number of EC2 instances you can run simultaneously.
Specific service limits such as network throughput, S3 PUT requests per second, and the number of instances per region.
The availability of EC2 instances.
What is a recommended strategy to maximize availability for an application?
Upgrading to a more powerful instance class.
Hosting a web application, having multiple smaller instances, and spreading them across different availability zones.
Using a single powerful instance to handle all the work.
Avoiding the use of distributed application design.
What is a potential consequence of not distributing the work across multiple resources in a cloud application?
Decreased costs due to lower resource usage.
Improved performance due to centralized processing.
Poor performance and likely instance crashing if too many instances fail.
Easier management of the application due to simplicity.
What is an advantage of using a distributed application design that is mentioned in the text?
It allows for easier debugging of applications.
It can handle increased load without causing service disruption.
It simplifies the architecture of the application.
It reduces the need for CloudWatch Alarms.
What is the purpose of EC2 Auto Scaling?
To automatically configure the instances that it launches
To avoid application failure and recover from it when it happens by managing EC2 instances
To provide a backup service for EC2 instances
To reduce the cost of running EC2 instances
What do both launch configurations and launch templates in EC2 Auto Scaling do?
They define the security group settings for instances
They specify the instance type and AMI for manual provisioning
They define the basic configuration parameters of the instance and any startup scripts
They create a new EC2 instance from scratch
Can you modify a launch configuration after creating it in EC2 Auto Scaling?
Yes, at any time
Yes, but only within the first 24 hours
No, you must create a new launch configuration to change settings
No, but you can modify the launch template instead
What additional capabilities do launch templates have over launch configurations?
They can only be used with EC2 Auto Scaling
They are less versatile and cannot be used for one-off EC2 instances
They are more versatile and can be used for spinning up one-off EC2 instances or even a spot fleet
They do not allow for the customization of settings
What is the purpose of creating a launch template in AWS?
To install and configure a simple web server
To automatically scale the EC2 instances
To monitor the performance of EC2 instances
To reserve EC2 instances for future use
What can you do with versions of a launch template in AWS?
Delete old versions to save storage space
Flip back and forth between versions as needed
Merge multiple versions into a single template
Encrypt versions for security purposes
What instance type is specified in the exercise for the launch template?
t2.large
t2.micro
m5.large
m5.micro
What script is entered in the User Data text field according to the exercise?
A Python automation script
A Bash script to install Apache and create a welcome page
A JavaScript function for user interaction
A PowerShell script for Windows configuration
What is the final step in the exercise after configuring and launching an instance using a launch template?
Scale the instance to handle more traffic
Terminate the instance
Backup the instance for recovery
Upgrade the instance to a larger type
What is the purpose of specifying the minimum and maximum size of an Auto Scaling group?
To ensure the number of healthy instances never goes below or above a certain number
To control the cost of running instances
To distribute traffic evenly across instances
To automate system and instance status checks
If the desired capacity for an Auto Scaling group is not specified, what will Auto Scaling use as the default number of instances to maintain?
The maximum value of the Auto Scaling group
The minimum value of the Auto Scaling group
Zero instances
The number of instances based on the previous usage
What happens if an instance in an Auto Scaling group becomes unhealthy?
Auto Scaling will ignore the instance until it becomes healthy again
Auto Scaling will terminate and replace the unhealthy instance
Auto Scaling will distribute traffic to healthy instances only
Auto Scaling will send an alert to the AWS administrator
What is the group size of an Auto Scaling group if the minimum is set to 1, the maximum to 10, and the desired capacity to 4, and one instance becomes terminated?
The group size will remain at 3
The group size will decrease to 0
The group size will increase back to 4
The group size will stay at 10
What will happen when a new instance is created by Auto Scaling and an Application Load Balancer (ALB) target group is specified?
The new instance will be terminated immediately
The new instance will be added to the specified ALB target group automatically
The new instance will be isolated from the ALB target group
The new instance will require manual addition to the ALB target group
What HTTP response codes range is used by a load balancer's target group health checks to determine if an instance is healthy?
100 to 199
200 to 299
200 to 499
500 to 599
What happens when an instance fails the load balancer health check?
The instance is rebooted.
Traffic is routed away from the failed instance, and it is replaced.
The instance is isolated for further investigation.
The load balancer shuts down.
What is a good design practice mentioned for recovery actions in resilient architectures?
To have a separate recovery action for each possible cause of failure.
To have a complex set of recovery actions for different scenarios.
To have a few recovery actions that work for a variety of circumstances.
To ignore minor failures and focus only on major ones.
What does Auto Scaling do when you change the minimum, desired, or maximum values for a group?
It sends a notification to the administrator.
It ignores the changes until the next scheduled maintenance.
It automatically adjusts by adding or terminating instances.
It requires manual intervention to apply the changes.
What can running out of instance resources such as CPU utilization, memory, or disk space lead to?
Temporary performance degradation
Automatic resource scaling
Failure of whatever you're running on it
An automatic backup of data
What does Auto Scaling do before instances hit the point of being overburdened?
It removes some instances to balance the load.
It automatically provisions more instances.
It sends a notification to the administrator.
It shuts down the system to prevent damage.
Which of the following is NOT an aggregate metric generated by Auto Scaling?
Aggregate CPU utilization
Average request count per target
Total memory usage
Average network bytes in
What are the three dynamic scaling policies available in Auto Scaling?
Simple, Step, and Target Tracking
Basic, Advanced, and Custom
Immediate, Delayed, and Scheduled
Linear, Exponential, and Logarithmic
What happens when a ChangeInCapacity adjustment type is chosen and the current desired capacity is 4 with an increase of 2?
The desired capacity decreases to 2.
The desired capacity remains the same.
The desired capacity increases to 6.
The desired capacity increases to 8.
What is the default cooldown period in Auto Scaling after it completes an adjustment?
120 seconds
300 seconds
600 seconds
900 seconds
If a PercentChangeInCapacity adjustment is set to 50 percent and the current desired capacity is 4, what will the new desired capacity be after the adjustment?
2
4
6
8
What action does Auto Scaling take if an instance is unhealthy during the cooldown period after an adjustment?
It waits for the cooldown period before replacing the unhealthy instance.
It immediately replaces the unhealthy instance.
It increases the cooldown period.
It does nothing until the cooldown period ends.
What type of policy allows you to add instances based on how much the aggregate metric exceeds the threshold?
Simple scaling policy
Step scaling policy
Target tracking policy
Aggregate tracking policy
When using a step scaling policy, what is the default warm-up time for Auto Scaling to consider the metrics of newly added instances?
60 seconds
300 seconds
600 seconds
No warm-up time
If the average CPU utilization increases to 62 percent and the ChangeInCapacity adjustment is set to 4, what action will Auto Scaling execute given a lower bound of 60 and an upper bound of infinity?
No action will be taken.
Decrease the desired capacity by 4.
Increase the desired capacity by 4.
Reset the CPU utilization to 60 percent.
What happens if the metric falls within the lower bound of the second step in a step scaling policy?
Auto Scaling will decrease the desired capacity.
Auto Scaling will increase the desired capacity.
Auto Scaling will execute the first step adjustment.
No action will be taken by Auto Scaling.
Which of the following is NOT a component of a step adjustment in a step scaling policy?
A lower bound
The adjustment type
A cooldown period
The amount by which to increase the desired capacity
What must the metric you choose to adjust the number of instances in Auto Scaling change proportionally to?
The time of day
The instance load
The number of users online
The static value set by the user
Which of the following is NOT an appropriate use for aggregate metrics like the total request count for the ALB when using a target tracking policy?
Scaling out
Scaling in by deleting instances
Adjusting to the load on an individual instance
Keeping the metric near the target
When creating a scheduled action for Auto Scaling, which of the following do you NOT need to specify?
A start date and time
A minimum, maximum, or desired capacity value
The color of the instances
A recurrence pattern
What can you optionally set in a scheduled action to ensure that you have enough instances before demand hits?
A warm-up time
A cool-down period
A maximum cost limit
A specific user request rate
What is the purpose of setting a scheduled action in Auto Scaling?
To adjust capacity reactively after demand has occurred
To adjust capacity proactively, ensuring enough instances before demand hits
To permanently set the number of instances to a fixed number
To disable scaling in completely
What is the purpose of creating a weekly recurring policy to set the desired capacity to 4 every Friday?
To decrease the desired capacity due to lower expected traffic
To handle an expected spike in traffic on Fridays
To comply with regulatory requirements
To perform routine maintenance on the system
Which AWS service is mentioned as offering different data storage options to ensure the durability of your data?
Amazon EC2
Amazon S3
Amazon RDS
Amazon VPC
According to the text, what should you do to avoid data loss from the failure of a single availability zone?
Use One Zone-Infrequent Access storage class exclusively
Store all data in a single, highly durable storage class
Distribute objects across multiple availability zones
Rely solely on dynamic scaling policies for data protection
What is the start date for the scheduled action setting the desired capacity to 4 every Friday?
January 4, 2019
January 5, 2019
The first Friday after creating the action
The first Saturday after creating the action
What is the recurrence interval for the scheduled action in the example provided?
Every day
Every week
Once a month
Once a year
What is the purpose of enabling S3 versioning in AWS?
To delete objects more efficiently
To prevent data corruption and accidental deletion
To increase the storage capacity of S3
To replicate objects across multiple regions
What does AWS Elastic File System (EFS) provide?
A managed Relational Database Service
A managed Network File System that can be shared among EC2 instances
A service for monitoring application logs
A data lifecycle management system
What is the benefit of cross-region replication between S3 buckets?
It decreases the cost of storage
It allows for data analysis
It synchronously copies every object from the source bucket to the destination
It automatically deletes old versions of objects
How does AWS Elastic Block Storage (EBS) handle availability zone failures?
By deleting snapshots in affected zones
By replicating volumes across multiple availability zones
By creating log files for instances
By using a Data Lifecycle Manager for databases
What is one of the easiest ways to back up an EBS volume?
Enabling S3 versioning
Taking a snapshot of it
Implementing cross-region replication
Using CloudWatch Logs
What does the Amazon Data Lifecycle Manager allow you to do with EBS snapshots?
Increase the storage capacity of snapshots
Collect and store application logs
Create a Snapshot Lifecycle Policy and specify snapshot creation intervals and retention numbers
Replicate snapshots across different AWS accounts
What important piece of data often gets stored on EBS that is crucial for troubleshooting?
Network configurations
Application log files
Snapshot lifecycle policies
Versioning records
What does Amazon RDS replicate for additional resiliency?
It replicates data synchronously from the primary to a secondary instance in a different availability zone.
It replicates data asynchronously to an S3 bucket.
It replicates data to a standby RDS instance in the same availability zone.
It replicates data to DynamoDB tables for backup purposes.
What is the unique offering of Amazon Aurora compared to other RDS engines?
It allows you to provision additional IP addresses.
It stores your database across three different availability zones.
It provides automatic failover to one of the Aurora replicas.
It offers point-in-time recovery for database tables.
How long can you restore your DynamoDB tables to any point in time using point-in-time recovery?
From 24 hours until 1 minute before the current time.
From 35 days until 5 minutes before the current time.
From 30 days until 1 hour before the current time.
From 7 days until 10 minutes before the current time.
When designing a VPC, why is it important to leave enough unused address space within the CIDR?
To allow for the creation of additional subnets later.
To ensure data is replicated across availability zones.
To provide space for DynamoDB global tables.
To store backups of database instances.
What is one reason AWS might add additional availability zones to a region?
To reduce the cost of services.
To provide additional IP addresses for new resources.
To increase the storage capacity for Amazon S3.
To improve network resiliency and scalability.
What is the design principle often used by application developers to make their applications more scalable and reliable according to the text?
Strong binding
Tight integration
Loose coupling
Direct linking
According to the text, what might be a reason to leave room in your availability zone planning?
To accommodate future network issues
To allow for additional EC2 instances as demand grows
To ensure faster data transfer speeds
To prevent overlapping of VPC addresses
What should you take into account if your EC2 instances have multiple private IP addresses?
The cost of additional IP addresses
The speed of the network connection
The consumption of IP address space
The type of microservices used
What is a potential benefit of using Direct Connect as a primary connection to AWS?
It provides speeds of 1 or 10 Gbps with consistent latency
It allows for unlimited data storage
It automatically resolves network issues
It offers free IP address allocation
What term does SQS use to describe the component that places messages into the queue?
Consumer
Receiver
Producer
Messenger
What is the maximum size of a message that can be placed in an SQS queue?
64 KB
128 KB
256 KB
512 KB
What action does a consumer perform to read messages from an SQS queue?
SendMessage
DeleteMessage
ReceiveMessage
CheckMessage
What is the purpose of the visibility timeout in SQS?
To limit the number of messages sent to the queue
To prevent duplication of effort by other consumers processing the same message
To delete messages after they have been processed
To batch messages for processing
What is the default visibility timeout in SQS?
0 seconds
12 hours
30 seconds
1 hour
What is the default retention period for messages in a queue according to the Simple Queue Service?
1 minute
14 days
4 days
15 minutes
What is the maximum duration you can set for a delay for individual messages in a queue?
0 seconds
1 minute
15 minutes
14 days
Which type of queue is the default queue type in Simple Queue Service?
FIFO Queue
Standard Queue
Delay Queue
Message Timer Queue
How many in-flight messages can standard queues handle?
3,000 messages
120,000 messages
20,000 messages
Unlimited messages
What is a unique feature of FIFO queues compared to standard queues?
They can handle up to about 120,000 in-flight messages.
They deliver messages exactly once and in the order they were received.
They allow messages to be delivered out-of-order.
They are the default queue type.
What is the purpose of using message groups in FIFO queues?
To increase the number of in-flight messages
To allow messages to be delivered out-of-order
To maintain message ordering within a subset of messages
To reduce the retention period of messages
What is the default polling method when receiving messages from a queue?
Long polling
Short polling
No polling
Delayed polling
What is the maximum amount of time long polling can take to check all the servers servicing your queue?
5 seconds
10 seconds
20 seconds
30 seconds
