PRACTICE3
PRACTICE3
Malpi
0 of 0 points
Name *
Email: *
SET 4 42 of 65 points
Q.1 A media company uses Amazon ElastiCache Redis to enhance the *1/1
performance of its RDS database layer. The company wants a robust
disaster recovery strategy for its caching layer that guarantees minimal
downtime as well as minimal data loss while ensuring good application
performance.
Schedule daily automatic backups at a time when you expect low resource
utilization for your cluster
Add read-replicas across multiple availability zones to reduce the risk of potential
data loss because of failure
Feedback
Correct option:
Opt for Multi-AZ configuration with automatic failover functionality to help mitigate failure
- Multi-AZ is the best option when data retention, minimal downtime, and application
performance are a priority.
Data-loss potential - Low. Multi-AZ provides fault tolerance for every scenario, including
hardware-related issues.
Performance impact - Low. Of the available options, Multi-AZ provides the fastest time to
recovery, because there is no manual procedure to follow after the process is
implemented.
Cost - Low to high. Multi-AZ is the lowest-cost option. Use Multi-AZ when you can't risk
losing data because of hardware failure or you can't afford the downtime required by other
options in your response to an outage.
Q.2 As part of the on-premises data center migration to AWS Cloud, a *1/1
company is looking at using multiple AWS Snow Family devices to move
their on-premises data.
AWS Snowcone
AWS Snowmobile
Feedback
AWS Snowball Edge Compute Optimized - AWS Snowball is a data migration and edge
computing device that comes in two device options: Compute Optimized and Storage
Optimized. Snowball Edge Storage Optimized devices provide 40 vCPUs of compute
capacity coupled with 80 terabytes of usable block or Amazon S3-compatible object
storage. It is well-suited for local storage and large-scale data transfer. Snowball Edge
Compute Optimized devices provide 52 vCPUs, 42 terabytes of usable block or object
storage, and an optional GPU for use cases such as advanced machine learning and full-
motion video analysis in disconnected environments.
Q.3 A company has migrated its application from a monolith architecture *1/1
to a microservices based architecture. The development team has
updated the Route 53 simple record to point "myapp.mydomain.com"
from the old Load Balancer to the new one.
The users are still not redirected to the new Load Balancer. What has
gone wrong in the configuration?
Feedback
Amazon Route 53 is a highly available and scalable cloud Domain Name System (DNS)
web service. Amazon Route 53 effectively connects user requests to infrastructure
running in AWS – such as Amazon EC2 instances, Elastic Load Balancing load balancers,
or Amazon S3 buckets – and can also be used to route users to infrastructure outside of
AWS.
You can use Amazon Route 53 to configure DNS health checks to route traffic to healthy
endpoints or to independently monitor the health of your application and its endpoints.
Amazon Route 53 Traffic Flow makes it easy for you to manage traffic globally through a
variety of routing types, including Latency Based Routing, Geo DNS, Geoproximity, and
Weighted Round Robin—all of which can be combined with DNS Failover to enable a
variety of low-latency, fault-tolerant architectures.
The TTL is still in effect - TTL (time to live), is the amount of time, in seconds, that you
want DNS recursive resolvers to cache information about a record. If you specify a longer
value (for example, 172800 seconds, or two days), you reduce the number of calls that
DNS recursive resolvers must make to Route 53 to get the latest information for the
record. This has the effect of reducing latency and reducing your bill for Route 53 service.
However, if you specify a longer value for TTL, it takes longer for changes to the record (for
example, a new IP address) to take effect because recursive resolvers use the values in
their cache for longer periods before they ask Route 53 for the latest information. If you're
changing settings for a domain or subdomain that's already in use, AWS recommends that
you initially specify a shorter value, such as 300 seconds, and increase the value after you
confirm that the new settings are correct.
For this use-case, the most likely issue is that the TTL is still in effect so you have to wait
until it expires for the new request to perform another DNS query and get the value for the
new Load Balancer.
Q.4 A systems administrator is creating IAM policies and attaching them *1/1
to IAM identities. After creating the necessary identity-based policies, the
administrator is now creating resource-based policies.
Which is the only resource-based policy that the IAM service supports?
Permissions boundary
Trust policy
Feedback
Correct option:
You manage access in AWS by creating policies and attaching them to IAM identities
(users, groups of users, or roles) or AWS resources. A policy is an object in AWS that,
when associated with an identity or resource, defines their permissions. Resource-based
policies are JSON policy documents that you attach to a resource such as an Amazon S3
bucket. These policies grant the specified principal permission to perform specific actions
on that resource and define under what conditions this applies.
Trust policy - Trust policies define which principal entities (accounts, users, roles, and
federated users) can assume the role. An IAM role is both an identity and a resource that
supports resource-based policies. For this reason, you must attach both a trust policy and
an identity-based policy to an IAM role. The IAM service supports only one type of
resource-based policy called a role trust policy, which is attached to an IAM role.
Q.5 You are working as an AWS architect for a weather tracking facility. *0/1
You are asked to set up a Disaster Recovery (DR) mechanism with
minimum costs. In case of failure, the facility can only bear data loss of a
few minutes without jeopardizing the forecasting models.
Multi-Site
Warm Standby
Pilot Light
Correct answer
Pilot Light
Feedback
Incorrect options:
Backup and Restore - In most traditional environments, data is backed up to tape and sent
off-site regularly. If you use this method, it can take a long time to restore your system in
the event of a disruption or disaster. Amazon S3 is an ideal destination for backup data
that might be needed quickly to perform a restore. Transferring data to and from Amazon
S3 is typically done through the network and is therefore accessible from any location.
There are many commercial and open-source backup solutions that integrate with
Amazon S3. You can use AWS Import/Export to transfer very large data sets by shipping
storage devices directly to AWS. For longer-term data storage where retrieval times of
several hours are adequate, there is Amazon Glacier, which has the same durability model
as Amazon S3. Amazon Glacier is a low-cost alternative starting from $0.01/GB per
month. Amazon Glacier and Amazon S3 can be used in conjunction to produce a tiered
backup solution. Even though Backup and Restore method is cheaper, it has an RPO in
hours, so this option is not the right fit.
Warm Standby - The term warm standby is used to describe a DR scenario in which a
scaled-down version of a fully functional environment is always running in the cloud. A
warm standby solution extends the pilot light elements and preparation. It further
decreases the recovery time because some services are always running. By identifying
your business-critical systems, you can fully duplicate these systems on AWS and have
them always on. This option is more costly compared to Pilot Light.
References:
https://aws.amazon.com/blogs/publicsector/rapidly-recover-mission-critical-systems-in-a-
disaster/
https://docs.aws.amazon.com/wellarchitected/latest/reliability-pillar/plan-for-disaster-
recovery-dr.html
https://docs.aws.amazon.com/wellarchitected/latest/reliability-pillar/disaster-recovery-dr-
objectives.html
Partially meshed VPC peering can be used to connect the Amazon VPCs to the on-
premises networks
Fully meshed VPC peering can be used to connect the Amazon VPCs to the on-
premises networks
Use AWS Transit Gateway to connect the Amazon VPCs to the on-premises
networks
Use Transit VPC Solution to connect the Amazon VPCs to the on-premises
networks
Q.7 A company uses Application Load Balancers (ALBs) in multiple AWS *1/1
Regions. The ALBs receive inconsistent traffic that varies throughout the
year. The engineering team at the company needs to allow the IP
addresses of the ALBs in the on-premises firewall to enable connectivity.
Set up AWS Global Accelerator. Register the ALBs in different Regions to the
Global Accelerator. Configure the on-premises firewall's rule to allow static IP
addresses associated with the Global Accelerator
Develop an AWS Lambda script to get the IP addresses of the ALBs in different
Regions. Configure the on-premises firewall's rule to allow the IP addresses of the
ALBs
Migrate all ALBs in different Regions to the Network Load Balancer (NLBs).
Configure the on-premises firewall's rule to allow the Elastic IP addresses of all the
NLBs
Set up a Network Load Balancer (NLB) in one Region. Register the private IP
addresses of the ALBs in different Regions with the NLB. Configure the on-
premises firewall's rule to allow the Elastic IP address attached to the NLB
Q.8 The engineering team at a leading e-commerce company is *0/1
anticipating a surge in the traffic because of a flash sale planned for the
weekend. You have estimated the web traffic to be 10x. The content of
your website is highly dynamic and changes very often.
Correct answer
Use AWS VPN connection between the on-premises datacenter and your Amazon
VPC. Once this is established, you can use Amazon Elastic File System (Amazon
EFS) to get a scalable, fully managed elastic NFS file system for use with AWS
Cloud services and on-premises resources
Use Tape Gateway, which can be used to move on-premises tape data onto
AWS Cloud. Then, Amazon S3 archiving storage classes can be used to store
data cost-effectively for years
Use AWS DataSync, which makes it simple and fast to move large amounts of data
online between on-premises storage and AWS Cloud. Data moved to Cloud can
then be stored cost-effectively in Amazon S3 archiving storage classes
Use AWS Direct Connect, a cloud service solution that makes it easy to establish a
dedicated network connection from on-premises to AWS to transfer data. Once this
is done, Amazon S3 can be used to store data at lesser costs
Q.10 A development team has configured an Elastic Load Balancer for *1/1
host-based routing. The idea is to support multiple subdomains and
different top-level domains.
XAMPLE.COM
example.com
example.test.com
test.example.com
Q.11 An e-commerce company has copied 1 PB of data from its on- *1/1
premises data center to an Amazon S3 bucket in the us-west-1 Region
using an AWS Direct Connect link. The company now wants to set up a
one-time copy of the data to another S3 bucket in the us-east-1 Region.
The on-premises data center does not allow the use of AWS Snowball.
Copy data from the source S3 bucket to a target S3 bucket using the S3 console
Copy data from the source bucket to the destination bucket using the aws S3
sync command
Use Snowball Edge device to copy the data from one Region to another Region
Q.12 Amazon Route 53 is configured to route traffic to two Network Load *1/1
Balancer (NLB) nodes belonging to two Availability Zones (AZs): AZ-A
and AZ-B. Cross-zone load balancing is disabled. AZ-A has four targets
and AZ-B has six targets.
Which of the following is the MOST cost-effective solution for this use-
case?
Q.14 As a solutions architect, you have created a solution that utilizes an *1/1
Application Load Balancer with stickiness and an Auto Scaling Group
(ASG). The ASG spawns across 2 Availability Zones (AZ). AZ-A has 3 EC2
instances and AZ-B has 4 EC2 instances. The ASG is about to go into a
scale-in event due to the triggering of a CloudWatch alarm.
The instance with the oldest launch configuration will be terminated in AZ-B
Q.15 A startup's cloud infrastructure consists of a few Amazon EC2 *0/1
instances, Amazon RDS instances and Amazon S3 storage. A year into
their business operations, the startup is incurring costs that seem too
high for their business requirements.
Use AWS Compute Optimizer recommendations to help you choose the optimal
Amazon EC2 purchasing options and help reserve your instance capacities at
reduced costs
Use AWS Cost Explorer Resource Optimization to get a report of EC2 instances that
are either idle or have low utilization and use AWS Compute Optimizer to look at
instance type recommendations
Correct answer
Use AWS Cost Explorer Resource Optimization to get a report of EC2 instances that
are either idle or have low utilization and use AWS Compute Optimizer to look at
instance type recommendations
Q.16 A company has recently created a new department to handle their *1/1
services workload. An IT team has been asked to create a custom VPC to
isolate the resources created in this new department. They have set up
the public subnet and internet gateway (IGW). However, they are not able
to ping the Amazon EC2 instances with Elastic IP launched in the newly
created VPC.
As a Solutions Architect, the team has requested your help. How will you
troubleshoot this scenario? (Select two)
Create a secondary IGW to attach with public subnet and move the current IGW to
private and write route tables
As a Solutions Architect, you would like to bring the time to create a new
instance in your Elastic Beanstalk deployment to be less than 2 minutes.
Which of the following options should be combined to build a solution for
this requirement? (Select two)
Use EC2 user data to customize the dynamic installation parts at boot time
Create a Golden AMI with the static installation components already setup
It ensures EC2 instances that have inherited a security group can access the bucket
Correct answer
How can you implement an efficient cost strategy for your S3 bucket?
(Select two)
Create a Lifecycle Policy to transition objects to Glacier using a prefix after 180
days
Create a Lifecycle Policy to transition objects to S3 One Zone IA using a prefix after
45 days
Create a Lifecycle Policy to transition all objects to Glacier after 180 days
Correct answer
Create a Lifecycle Policy to transition all objects to Glacier after 180 days
Q.20 For security purposes, a development team has decided to deploy *1/1
the EC2 instances in a private subnet. The team plans to use VPC
endpoints so that the instances can access some AWS services securely.
The members of the team would like to know about the two AWS
services that support Gateway Endpoints.
Amazon S3
DynamoDB
Q.21 A social media company wants the capability to dynamically alter *1/1
the size of a geographic area from which traffic is routed to a specific
server resource.
Weighted routing
Geolocation routing
Geoproximity routing
Latency-based routing
Q.22 A company wants to grant access to an S3 bucket to users in its *0/1
own AWS account as well as to users in another AWS account. Which of
the following options can be used to meet this requirement?
Use a bucket policy to grant permission to users in its account as well as to users
in another account
Use either a bucket policy or a user policy to grant permission to users in its
account as well as to users in another account
Use a user policy to grant permission to users in its account as well as to users in
another account
Correct answer
Use a bucket policy to grant permission to users in its account as well as to users in
another account
Q.23 A company runs a popular dating website on the AWS Cloud. As a *0/1
Solutions Architect, you've designed the architecture of the website to
follow a serverless pattern on the AWS Cloud using API Gateway and
AWS Lambda. The backend uses an RDS PostgreSQL database. Currently,
the application uses a username and password combination to connect
the Lambda function to the RDS database.
Attach an AWS Identity and Access Management (IAM) role to AWS Lambda
Restrict the RDS database security group to the Lambda's security group
Embed a credential rotation logic in the AWS Lambda, retrieving them from SSM
Correct answer
Attach an AWS Identity and Access Management (IAM) role to AWS Lambda
Migrate the data to EC2 instance hosted SQL Server database. Deploy the EC2
instances in a Multi-AZ configuration
Migrate the data to Amazon RDS for SQL Server database in a cross-region read-
replica configuration
Migrate the data to Amazon RDS for SQL Server database in a cross-region
Multi-AZ deployment
Migrate the data to Amazon RDS for SQL Server database in a Multi-AZ deployment
Correct answer
Migrate the data to Amazon RDS for SQL Server database in a Multi-AZ deployment
Q.25 As an e-sport tournament hosting company, you have servers that *1/1
need to scale and be highly available. Therefore you have deployed an
Elastic Load Balancer (ELB) with an Auto Scaling group (ASG) across 3
Availability Zones (AZs). When e-sport tournaments are running, the
servers need to scale quickly. And when tournaments are done, the
servers can be idle. As a general rule, you would like to be highly
available, have the capacity to scale and optimize your costs.
Q.26 A financial services firm has traditionally operated with an on- *1/1
premise data center and would like to create a disaster recovery strategy
leveraging the AWS Cloud.
Multi Site
Warm Standby
Pilot Light
As a Solutions Architect, how will you handle the upload of these files to
Amazon S3?
Create an AMI after installing the software and use this AMI to run the recovery
process in other Regions
Create an AMI after installing the software and copy the AMI across all Regions.
Use this Region-specific AMI to run the recovery process in the respective
Regions
Correct answer
Instance Store
Correct answer
Q.35 A mobile gaming company is experiencing heavy read traffic to its *1/1
Amazon Relational Database Service (RDS) database that retrieves
player’s scores and stats. The company is using an RDS database
instance type that is not cost-effective for their budget. The company
would like to implement a strategy to deal with the high volume of read
traffic, reduce latency, and also downsize the instance size to cut costs.
Create a new Network Access Control List (NACL) that blocks SSH from the entire
EC2 subnet into the DB
Use IAM authentication to access the DB instead of the database user's access
credentials
Create a new security group that blocks SSH from the selected EC2 instances into
the DB
Correct answer
Use an Auto Scaling Group (ASG) with Dynamic Elastic IPs attachment
Q.38 You started a new job as a solutions architect at a company that *0/1
has both AWS experts and people learning AWS. Recently, a developer
misconfigured a newly created RDS database which resulted in a
production outage.
How can you ensure that RDS specific best practices are incorporated
into a reusable infrastructure template to be used by all your AWS users?
Attach an IAM policy to interns preventing them from creating an RDS database
Create a Lambda function which sends emails when it finds misconfigured RDS
databases
Correct answer
Amazon DynamoDB
Amazon Neptune
Amazon ElastiCache
How can you figure out what's happening without restricting the rights of
the users?
Use Amazon EKS with AWS Fargate for serverless orchestration of the
containerized services
Use Amazon ECS with AWS Fargate for serverless orchestration of the
containerized services
Use Amazon ECS with Amazon EC2 for serverless orchestration of the
containerized services
Correct answer
Use Amazon EKS with AWS Fargate for serverless orchestration of the
containerized services
Use Amazon ECS with AWS Fargate for serverless orchestration of the
containerized services
Q.42 A photo hosting service publishes a collection of beautiful mountain *1/1
images, every month, that aggregate over 50 GB in size and downloaded
all around the world. The content is currently hosted on EFS and
distributed by Elastic Load Balancing (ELB) and Amazon EC2 instances.
The website is experiencing high load each month and very high network
costs.
What could be the reason the instances are being marked as unhealthy?
(Select two)
Your web-app has a runtime that is not supported by the Application Load
Balancer
The security group of the EC2 instance does not allow for traffic from the
security group of the Application Load Balancer
Correct answer
The security group of the EC2 instance does not allow for traffic from the security
group of the Application Load Balancer
Q.44 A retail company is using AWS Site-to-Site VPN connections for *1/1
secure connectivity to its AWS cloud resources from its on-premises data
center. Due to a surge in traffic across the VPN connections to the AWS
cloud, users are experiencing slower VPN connectivity.
Create a transit gateway with equal cost multipath routing and add additional
VPN tunnels
Use AWS Global Accelerator for the VPN connection to maximize the throughput
Create a virtual private gateway with equal cost multipath routing and multiple
channels
Use Transfer Acceleration for the VPN connection to maximize the throughput
Q.45 The engineering team at an e-commerce company has been tasked *0/1
with migrating to a serverless architecture. The team wants to focus on
the key points of consideration when using Lambda as a backbone for
this architecture.
If you intend to reuse code in more than one Lambda function, you should consider
creating a Lambda Layer for the reusable code
Serverless architecture and containers complement each other but you cannot
package and deploy Lambda functions as container images
Lambda allocates compute power in proportion to the memory you allocate to your
function. AWS, thus recommends to over provision your function time out settings
for the proper performance of Lambda functions
Since Lambda functions can scale extremely quickly, it's a good idea to deploy a
CloudWatch Alarm that notifies your team when function metrics such as
ConcurrentExecutions or Invocations exceeds the expected threshold
The bigger your deployment package, the slower your Lambda function will
cold-start. Hence, AWS suggests packaging dependencies as a separate
package from the actual Lambda package
Correct answer
If you intend to reuse code in more than one Lambda function, you should consider
creating a Lambda Layer for the reusable code
By default, Lambda functions always operate from an AWS-owned VPC and hence
have access to any public internet address or public AWS APIs. Once a Lambda
function is VPC-enabled, it will need a route through a NAT gateway in a public
subnet to access public resources
Since Lambda functions can scale extremely quickly, it's a good idea to deploy a
CloudWatch Alarm that notifies your team when function metrics such as
ConcurrentExecutions or Invocations exceeds the expected threshold
Q.46 A company has developed a popular photo-sharing website using a *0/1
serverless pattern on the AWS Cloud using API Gateway and AWS
Lambda. The backend uses an RDS PostgreSQL database. The website is
experiencing high read traffic and the Lambda functions are putting an
increased read load on the RDS database.
Correct answer
Amazon Simple Queue Service (SQS) with Amazon Simple Notification Service
(SNS)
Correct answer
Correct answer
Amazon EC2
AWS Lambda
AWS Glue
Amazon ElasticSearch
Amazon Aurora
Amazon Neptune
Amazon Redshift
Q.52 The engineering team at a social media company has recently *0/1
migrated to AWS Cloud from its on-premises data center. The team is
evaluating CloudFront to be used as a CDN for its flagship application.
The team has hired you as an AWS Certified Solutions Architect
Associate to advise on CloudFront capabilities on routing, security, and
high availability.
Use field level encryption in CloudFront to protect sensitive data for specific
content
Use KMS encryption in CloudFront to protect sensitive data for specific content
Use an origin group with primary and secondary origins to configure CloudFront
for high-availability and failover
Correct answer
Use field level encryption in CloudFront to protect sensitive data for specific
content
Use an origin group with primary and secondary origins to configure CloudFront for
high-availability and failover
Amazon MQ
Correct answer
Correct answer
The company wants a solution to reduce the costs without changing any
of the application code. What do you recommend?
Configure EventBridge events for the bucket actions on Amazon S3. An AWS
Lambda function can then be triggered from the EventBridge event that will
send the necessary data to Amazon Kinesis Data Streams
Amazon S3 bucket actions can be directly configured to write data into Amazon
Simple Notification Service (SNS). SNS can then be used to send the updates to
Amazon Kinesis Data Streams
Leverage S3 event notification to trigger a Lambda function for the file create event.
The Lambda function will then send the necessary data to Amazon Kinesis Data
Streams
Correct answer
Leverage Amazon Kinesis Data Streams to capture the data from the website
and feed it into Amazon Kinesis Data Analytics which can query the data in real
time. Lastly, the analyzed feed is output into Kinesis Data Firehose to persist the
data on Amazon S3
Leverage Amazon SQS to capture the data from the website. Configure a fleet of
EC2 instances under an Auto scaling group to process messages from the SQS
queue and trigger the scaling policy based on the number of pending messages in
the queue. Perform real-time analytics using a third-party library on the EC2
instances
Leverage Amazon Kinesis Data Streams to capture the data from the website and
feed it into Kinesis Data Firehose to persist the data on Amazon S3. Lastly, use
Amazon Athena to analyze the data in real time
Leverage Amazon Kinesis Data Streams to capture the data from the website and
feed it into Amazon QuickSight which can query the data in real time. Lastly, the
analyzed feed is output into Kinesis Data Firehose to persist the data on Amazon
S3
Q.61 A company has built a serverless application using API Gateway *1/1
and AWS Lambda. The backend is leveraging an RDS Aurora MySQL
database. The web application was initially launched in the Americas and
the company would now like to expand it to Europe, where a read-only
version will be available to improve latency. You plan on deploying the API
Gateway and AWS Lambda using CloudFormation, but would like to have
a read-only copy of your data in Europe as well.
Create a Lambda function to periodically back up and restore the Aurora database
in another region
Q.62 You have developed a new REST API leveraging the API Gateway, *1/1
AWS Lambda and Aurora database services. Most of the workload on the
website is read-heavy. The data rarely changes and it is acceptable to
serve users outdated data for about 24 hours. Recently, the website has
been experiencing high load and the costs incurred on the Aurora
database have been very high.
How can you easily reduce the costs while improving performance, with
minimal changes?
Q.64 Your company runs a web portal to match developers to clients who *1/1
need their help. As a solutions architect, you've designed the architecture
of the website to be fully serverless with API Gateway & AWS Lambda.
The backend uses a DynamoDB table. You would like to automatically
congratulate your developers on important milestones, such as - their
first paid contract. All the contracts are stored in DynamoDB.
KMS
Secrets Manager
Systems Manager
Correct answer
Secrets Manager
Forms