Font size
WorksheetsSA Chapter 11
Total questions: 96
Worksheet time: 48mins
What is one of the objectives in Domain 3: Design High-Performing Architectures?
Design scalable and loosely coupled architectures.
Design highly available and/or fault-tolerant architectures.
Determine high-performing and/or scalable storage solutions.
Determine high-performing data ingestion and transformation solutions.
Which of the following is NOT an objective listed under Domain 3: Design High-Performing Architectures?
Design high-performing and elastic compute solutions.
Determine high-performing database solutions.
Design scalable and loosely coupled architectures.
Determine high-performing and/or scalable network architectures.
What is the main purpose of leveraging AWS features according to the introduction?
To ensure every system is running without failures
To get full value from AWS by leveraging features that set the cloud apart from legacy environments
To reduce the cost of cloud resources to a minimum
To replace all legacy systems with AWS services
Which of the following is NOT listed as an ability for the purposes of the chapter on AWS?
Quickly launch test environments to experiment and measure performance
Abstract operations by using managed services to automate infrastructure provisioning
Manually control the scaling of operations to meet changing demand
Automate the deployment of complex, full-stack infrastructure through scripts and templates
What chapter might have discussed how to respond to failures in AWS before this chapter?
Chapter 9
Chapter 10 "Resilient Architectures"
Chapter 11
Chapter 12
What is the ultimate goal of "compute" services according to the text?
To solve real-world performance problems.
To apply some kind of compute resource to a workload demand quickly and efficiently.
To provide the cheapest solution for computing needs.
To always use the same kind of compute resource for every problem.
What should you match the EC2 instance type to, as closely as possible?
The cheapest available option.
The most popular instance type.
The workload you expect to face.
The instance with the most storage.
What does ECU stand for in the context of EC2 instance parameters?
Elastic Compute Unit.
Elastic CPU Usage.
Efficient Compute Utility.
Enhanced Computing Unit.
What does the 'vCPUs' parameter represent for an EC2 instance?
The velocity of the CPU.
The virtualization capability of the CPU.
The number of virtual CPUs allotted to an instance.
The vendor of the CPU.
What does 'EBS-Optimized Available' indicate about an EC2 instance?
It can be optimized for energy-saving purposes.
It has additional security features enabled.
It can be configured to use EBS optimization for dedicated I/O throughput.
It is available for use with Elastic Beanstalk services.
What does Auto Scaling in AWS help with?
Reducing the data transfer rate
Supporting application demand by running identical workloads in parallel with existing instances
Encrypting data using AES-NI
Improving graphics and analytics performance
What is the purpose of Intel AES-NI as mentioned in the instance type parameter descriptions?
It is used to improve network performance.
It supports IPv6 addressing.
It is an encryption instruction set.
It benefits from short-term performance boosts.
What does Intel AVX stand for and what is its benefit?
Advanced Vector Extensions, used for improved graphics/analytics performance
Advanced Encryption Standard-New Instructions, used for encryption
Auto Vector Extensions, used for automatic scaling
Advanced Velocity X, used for network performance
What happens when demand falls and Auto Scaling is enabled in AWS?
EC2 will launch one or more exact copies of your instance.
EC2 will automatically shut down instances to prevent unused resources from running.
The account administrators take a snapshot of the EBS volume.
A private EC2 AMI is generated.
What instance type is recommended to be used when creating a launch configuration for an application using Auto Scaling according to the exercise?
c4.large
m5.xlarge
t2.micro
r3.8xlarge
What command is used to install the Apache web server in the exercise?
apt-get install -y apache2
yum install -y apache2
apt-get install -y nginx
yum install -y nginx
What is the target value for the CPU Utilization to confirm that the autoscaling is working in this exercise?
70 to 80 percent
5 percent
20 percent
50 percent
What is the minimum and maximum capacity set for the Auto Scaling group in the exercise?
Minimum 0, Maximum 2
Minimum 1, Maximum 1
Minimum 1, Maximum 2
Minimum 2, Maximum 2
According to the exercise, what do you need to do after the Auto Scaling group starts the first instance?
Configure notifications and tags
Point your browser to the IP address associated with the instance
Create a new security group
Increase the Group Size value
What command is suggested to "cheat" and raise the CPU level high enough to launch a second instance in the exercise?
while true; do true; done
while false; do true; done
while true; do false; done
while false; do false; done
Which AWS service is designed for container management and works with its front-end abstraction AWS Fargate?
Amazon Elastic Compute Cloud (EC2)
Amazon Elastic Container Service (ECS)
AWS Lambda
Amazon Simple Storage Service (S3)
What is the maximum duration for which AWS Lambda functions can run code bursts?
Up to 5 minutes
Up to 15 minutes
Up to 30 minutes
Up to 60 minutes
For which use case are EC2 instances considered a good fit according to Table 11.2?
Short-lived, ephemeral tasks
Long-lived, more complex web applications
Highly scalable, automated applications
Applications that do not require monitoring
Which type of applications are ECS containers best suited for, as per the common use cases in Table 11.2?
Long-lived, more complex web applications
Short-lived, stateless applications
Highly scalable, automated applications
Infrequently used applications
What is the primary benefit of using serverless workloads like AWS Lambda?
They require a dedicated ongoing server host.
They provide "instant-on" compute functionality with less overhead than a full server.
They are not closely integrated with other AWS services.
They run indefinitely until manually stopped.
Which AWS service provides durable storage where IOPS, latency, and throughput settings determine data access performance?
Amazon S3
Amazon Glacier
Elastic Block Store (EBS)
Amazon FSx for Windows File Server
Which of the following is not a use case for Lambda functions according to the table?
Microservices deployments
Testing environments
Processing transactions
Data backup and recovery
Why are RAID 5 and RAID 6 configurations not recommended by AWS for instances that require high IOPS?
They provide too much available bandwidth.
They are only suitable for smaller instances.
They can leave the instance unbootable if a single drive fails.
They are not supported on the AWS platform.
What is the purpose of S3 Cross-Region Replication (CRR)?
To increase the storage capacity of S3 buckets.
To automatically synchronize content of a bucket in one region with a bucket in another region.
To reduce the cost of S3 bucket storage.
To improve the upload speed to S3 buckets.
What can be replicated using S3 Cross-Region Replication?
Only objects with a specified prefix.
Only new objects created after enabling versioning.
All objects in the source bucket.
Only objects that are publicly accessible.
What happens to the objects from the source bucket when S3 Cross-Region Replication is enabled?
They are moved to the destination bucket and deleted from the source bucket.
Copies of the objects are created in the destination bucket.
They are archived in the source bucket and sent to the destination bucket.
They are encrypted and sent to the destination bucket.
What must be done to the destination bucket to ensure that deleted objects from the source bucket do not disappear from the destination bucket in S3 Cross-Region Replication?
Enable versioning on the destination bucket.
Increase the storage class of the destination bucket.
Disable public access to the destination bucket.
Configure lifecycle policies on the destination bucket.
What is the additional per-gigabyte cost of Amazon S3 Transfer Acceleration often found in the range of?
$0.04
$0.10
$0.02
$0.50
To check if S3 Transfer Acceleration would benefit your use case, what URL should you enter in your browser?
s3-accelerate-speedtest.s3-accelerate.amazonaws.com/en/accelerate-speed-comparison.html?region=us-east-1&bucket=my-bucket-name
s3-transfer-speedtest.s3.amazonaws.com/en/speed-comparison.html?region=us-east-1&bucket=my-bucket-name
s3-accelerate-test.s3.amazonaws.com/en/accelerate-speed-comparison.html?region=us-east-1&bucket=my-bucket-name
s3-speedtest.s3-accelerate.amazonaws.com/en/speed-comparison.html?region=us-east-1&bucket=my-bucket-name
Which AWS CLI command enables S3 Transfer Acceleration on an existing bucket?
aws s3api put-bucket-accelerate-configuration --bucket my-bucket-name --accelerate-configuration Status=Enabled
aws s3api enable-bucket-acceleration --bucket my-bucket-name --acceleration-status Enabled
aws s3api set-bucket-accelerate --bucket my-bucket-name --accelerate Enabled
aws s3api update-bucket-accelerate-configuration --bucket my-bucket-name --status Accelerate
What is the correct endpoint URL to use when transferring a file with S3 Transfer Acceleration?
http://s3-accelerate.amazonaws.com
http://s3-accelerate-speedtest.amazonaws.com
http://s3-accelerate-speedtest.s3.amazonaws.com
http://s3-accelerate.amazons3.com
What is one example of using CloudFront with an S3 bucket for optimizing content delivery?
Using an S3 bucket containing videos and images as a load balancer
Using an S3 bucket containing videos and images as an origin for a CloudFront distribution
Using an EC2 instance as an origin for a CloudFront distribution
Hosting media files locally on EC2 instances
What are the critical factors to consider when choosing the right RDS instance type?
Software updates and patches only
Replication and network accessibility only
Database schemas, indexes, and views only
Software updates and patches, replication, network accessibility, and database schemas, indexes, and views
What are the elements that make up the CAP theorem of distributed data?
Consistency, Availability, and Performance
Consistency, Administration, and Partition Tolerance
Consistency, Availability, and Partition Tolerance
Consistency, Accessibility, and Performance
What will the storage volume type you choose for your database impact the most?
The color and design of the database interface
The read and write performance of your database
The geographical location of your data storage
The brand of the database software
What is the role of Pivotal Greenplum Database according to Table 11.3?
Distributed Hadoop-based SQL query engine
Petabyte-scale data warehouse SaaS designed for cloud environments
Massively parallel data warehouse for big data analytics and data science
Automated resource growth for databases
Which technology is available as an EC2 marketplace AMI?
Pivotal Greenplum Database
Snowflake
Presto
Amazon Redshift
What is the maximum network speed provided by enhanced networking on AWS compatible instance types?
10 Gbps
50 Gbps
100 Gbps
1 Gbps
Which of the following is not one of the enhanced networking technologies mentioned in the text?
Elastic Network Adapter (ENA)
Elastic Fabric Adapter (EFA)
Virtual Function (VF) interface
Elastic Load Balancing (ELB)
What is the primary function of a load balancer in front of infrastructure as described in the text?
To distribute incoming requests to DNS servers like Route 53 or CloudFront
To ensure that all traffic goes to a single server to prevent overloading
To route incoming requests to the appropriate backend application servers
To serve as a firewall and protect the infrastructure from cyber attacks
According to the text, what is the benefit of using a load balancer with regards to traffic patterns?
It allows for manual updates to server addresses and availability
It prevents customers from accessing the application
It automates the process and handles unexpected and violent changes in traffic patterns
It requires constant monitoring of server load and manual rerouting of traffic
What is the role of a domain like 'example.com' in the context of a load balancer?
It is used to manually update the load balancer's configuration
It is associated with the load balancer to route traffic to backend servers
It serves as the only server in the infrastructure
It is the technology that enhances the network
What is the purpose of the website link provided in the text?
To offer a tutorial on how to set up a load balancer
To provide details and instructions for enabling enhanced networking
To sell networking equipment
To register a new domain for load balancing
As of August 2022, which Elastic Load Balancing service has been removed from service?
Application Load Balancer
Network Load Balancer
Gateway Load Balancer
Classic Load Balancer
Which load balancer operates at the Application layer (Layer 7) of the OSI model?
Classic Load Balancer
Network Load Balancer
Gateway Load Balancer
Application Load Balancer
At which layer of the OSI model does the Network Load Balancer function?
Layer 3
Layer 4
Layer 5
Layer 7
Which AWS service is tightly integrated with Auto Scaling, the Elastic Container Service, and CloudFormation?
Classic Load Balancer
Network Load Balancer
Gateway Load Balancer
Application Load Balancer
On which layer of the OSI model does the Gateway Load Balancer operate?
Layer 1
Layer 2
Layer 3
Layer 7
What is the primary function of the Gateway Load Balancer?
To manage HTTP and HTTPS traffic
To manage TCP traffic
To manage private connectivity between servers in one VPC
To manage containerized applications
What is the file extension of the health check file that needs to be entered in the Create Target Group link for the exercise?
.php
.html
.js
.css
What is the target type value that should be changed to when creating a target group in the exercise?
Instance ID
IP
DNS Name
URL
What can be heavily automated using both native AWS and third-party tools according to the text under "Infrastructure Automation"?
Only AWS CLI commands
Only AWS SDK foundations
Sophisticated operations
Basic AWS operations
What formats can AWS CloudFormation templates be in?
JSON or XML
YAML or CSV
JSON or YAML
XML or CSV
What allows for an infrastructure as code (IaC) environment in AWS?
Textual abstractions
Graphical user interfaces
Physical hardware configurations
Manual scripting
Which of the following is NOT a way to create templates as mentioned in the document?
Using the browser-based drag-and-drop interface
Working with prebuilt sample templates
Manually writing and uploading a template document
Using a command-line interface to auto-generate templates
What is a CloudFormation stack?
A set of cloud-based storage options
The group of resources defined by your template
A type of virtual private cloud
What will AWS report when a CloudFormation stack has been successfully loaded?
The logical ID of the stack
The physical ID of the stack
That the stack resources are in a pending state
That the stack has successfully loaded or, in the event of a failure, will roll back changes
What is the logical ID in a CloudFormation template?
The identifier for the AWS command-line interface
The identifier for the S3 bucket where templates are stored
The unique identifier for each resource within a template
The physical ID of the VPC created by CloudFormation
How can you create a stack named Network using a template stored locally?
aws cloudformation create-stack --stack-name Network --template-url file://network-stack.json
aws cloudformation create-stack --stack-name Network --template-body file://network-stack.json
aws cloudformation create-stack --stack-name Network --template-body network-stack.json
aws cloudformation create-stack --stack-name Network --template-url network-stack.json
Which AWS CLI command can be used to create a stack named Network using a template stored in an S3 bucket?
aws cloudformation create-stack --stack-name Network --template-url https://s3.amazonaws.com/cf-templates-c23z8b2vmpbb-us-east-1/network-stack.json
aws cloudformation create-stack --stack-name Network --template-body https://s3.amazonaws.com/cf-templates-c23z8b2vmpbb-us-east-1/network-stack.json
aws cloudformation create-stack --stack-name Network --template-url s3://cf-templates-c23z8b2vmpbb-us-east-1/network-stack.json
aws cloudformation create-stack --stack-name Network --template-body s3://cf-templates-c23z8b2vmpbb-us-east-1/network-stack.json
What allows you to pass custom values to your stack when creating it in AWS CloudFormation?
Parameters
Logical IDs
Nested stacks
Termination protection
What will happen if termination protection is not enabled on a CloudFormation stack and you delete it?
The stack will be marked for review before deletion.
The stack and all resources created by it will be immediately deleted.
The stack deletion will be postponed for 24 hours.
Only the stack will be deleted, but the resources will remain.
What is a best practice for organizing AWS infrastructure to avoid having all resources in a single stack?
Using multiple stacks organized by life cycle and ownership.
Hard-coding all resources into a single template.
Enabling termination protection on all resources.
Defining all resources as parameters.
What are the additional stacks called that are configured within a CloudFormation template to create more stacks?
Parameter stacks
Logical stacks
Nested stacks
Dependent stacks
What is the stack that creates additional stacks in CloudFormation called?
Child stack
Parent stack
Base stack
Master stack
What does the "Ref" intrinsic function return in the context of the 'PublicVPC' resource?
The logical ID of the 'PublicVPC' resource
The URL of the 'PublicVPC' resource
The physical ID of the 'PublicVPC' resource
The outputs of the 'PublicVPC' resource
What must be created first when creating a web stack using the provided CloudFormation template?
The EC2 Auto Scaling group
The network stack
The Secure Shell (SSH) key pair
The CloudFormation templates
What can the Outputs section in a CloudFormation template be used for?
To reference values from the parent stack
To store the physical IDs of resources
To define the logical IDs of resources
To provide the URL of the CloudFormation template
What AWS CLI command is used to create a stack in CloudFormation?
aws cloudformation describe-stacks
aws cloudformation delete-stack --stack-name web-stack
aws cloudformation create-stack --stack-name web-stack --template-url [URL of the web-stack.json template] --parameters ParameterKey=KeyName,ParameterValue=[the name of your SSH keypair] --capabilities CAPABILITY_NAMED_IAM
aws s3 cp network-stack.json s3://[bucket-name]/
What is the purpose of the "Export" field in the Output section of a CloudFormation template?
To delete the stack output values
To describe the stack output values
To share information with stacks outside of a nested hierarchy
To create a new stack with the specified output values
What is the AWS::StackName in CloudFormation?
A function to delete a stack
A parameter that defines the stack's region
A pseudo-parameter that returns the name of the stack
A command to update the stack's resources
What is the best way to modify a resource configuration in a stack according to the text?
Delete the stack and recreate it with the new configuration
Modify the resource configuration directly in the CloudFormation console
Perform a direct update or create a change set
Manually update each resource outside of CloudFormation
What does CloudFormation provide when you create a change set?
A list of user permissions required for the changes
A list of every resource it will add, remove, or modify
A new stack with the updated resources
Immediate execution of changes without review
What happens when a resource is updated with 'Update with No Interruption'?
The resource is deleted and recreated with a new physical ID
The resource is updated with an interruption and changes its physical ID
The resource is updated without interruption and without changing its physical ID
The resource is temporarily disabled but retains its physical ID
What occurs when a resource is updated with 'Update with Some Interruption'?
The resource is updated without any changes to its physical ID
The resource is updated with an interruption but retains its physical ID
The resource is updated with an interruption and changes its physical ID
The resource is permanently removed from the stack
What does CloudFormation do when a new resource with a new physical ID is created?
It updates the dependent resources to point to the new resource and retains the original.
It deletes the new resource immediately after creation.
It creates a new resource and updates dependent resources to point to this new resource, deleting the original.
It creates a duplicate of the original resource in a different availability zone.
What is the purpose of a stack policy in AWS CloudFormation?
To prevent specific resources in a stack from being modified by a stack update.
To automatically update all resources in a stack.
To delete specific resources in a stack after an update.
To document the changes made to resources after an update.
Which action allows updates to the specific resource only if the update will modify and not replace or delete the resource?
Update:Modify
Update:Replace
Update:Delete
Update:*
What must the principal always be in a stack policy?
A specific AWS account ID.
The wildcard (*).
A specific IAM role.
The logical ID of the resource.
Which element specifies the logical ID of the resource to which the policy applies in a stack policy?
Action
Principal
Resource
Condition
What condition type allows you to use wildcards to specify multiple resource types within a service in a stack policy?
StringEquals
StringLike
NumericLessThanEquals
DateEquals
What action is denied by the stack policy in the provided JSON snippet?
Update any resource
Update a specific resource identified by "LogicalResourceId/PublicVPC"
Delete a resource
Create a new resource
What will happen if an update is attempted that is prevented by the stack policy?
The update will be performed without any issues.
The update will succeed only if IAM policies allow it.
The update will fail and CloudFormation will not attempt to update the stack.
CloudFormation will still attempt to update the stack, but the update will fail.
How can you temporarily override a stack policy during a direct update?
By deleting the stack policy
By modifying the IAM policies
By specifying a stack policy that overrides the existing one
By creating a new stack
What happens to the stack policy after a direct update with a temporary override is complete?
It remains overridden.
It is deleted.
It reverts to the original policy.
It must be manually reset.
Which scripting languages can be used to create your own infrastructure automation scripts?
Python and Java
Bash and Windows PowerShell
C++ and Ruby
PHP and JavaScript
What is the purpose of third-party configuration management tools like Puppet, Chef, and Ansible in managing AWS infrastructure?
To manage and play music files on AWS
To closely manage AWS infrastructure and automate resource stack definitions and deployments
To enhance the graphical user interface of AWS services
To provide additional security layers against unauthorized access
What can be added as a layer along with a load balancer for an Amazon EC2 Container Service (ECS) cluster or an RDS database instance in AWS OpsWorks for Chef?
A physical hardware component
A mobile application
An Amazon VPC infrastructure stack
An Amazon EC2 infrastructure stack like a Node.js app server
What does an 'app' point to in the context of AWS OpsWorks Chef deployments?
The physical server hardware
The application code you want to install on the instances running in your stack
The user interface of the AWS management console
The AWS customer support team
What are the four goals for monitoring change in infrastructure configurations according to the text?
Speed, Efficiency, Cost reduction, and Reliability
Compatibility, User-friendliness, Scalability, and Performance
Watching for changes, Intervention of a member of your admin team, Finding out fast and assessing implications, and Unauthorized hacker intervention
Backup, Recovery, Archiving, and Data analysis
What is the primary concern of passive monitoring of application performance and availability?
To analyze real-time events and fix them immediately.
To understand historical events and how to avoid future failures.
To actively test the performance and availability of the application.
To monitor and optimize the infrastructure configurations in real-time.
