Practice questions for the AWS SAP-C02 (Solutions Architect Professional) exam, Chapter 3.
-
Q1. Q226. A company needs to migrate its customer transactions database
from on premises to AWS. The database resides on an Oracle DB instance
that runs on a Linux server. According to a new security requirement,
the company must rotate the database password each year.
Which solution will meet these requirements with the LEAST operational
overhead?
- A. Convert the database to Amazon DynamoDB by using the AWS Schema
Conversion Tool (AWS SCT).
Store the password in AWS Systems Manager Parameter Store. Create an
Amazon CloudWatch alarm to invoke an AWS Lambda function for yearly
password rotation.
- B. Migrate the database to Amazon RDS for Oracle. Store the password in
AWS Secrets Manager. Turn on automatic rotation Configure a yearly
rotation schedule.
- C. Migrate the database to an Amazon EC2 instance. Use AWS Systems
Manager Parameter Store to keep and rotate the connection string by
using an AWS Lambda function on a yearly schedule.
- D. Migrate the database to Amazon Neptune by using the AWS Schema
Conversion Tool (AWS SCT).
Create an Amazon CloudWatch alarm to invoke an AWS Lambda function for
yearly password rotation.
View question →
-
Q2. Q227. A company wants to migrate its on-premises application to AWS.
The database for the application stores structured product data and
temporary user session data. The company needs to decouple the product
data from the user session data.The company also needs to implement
replication in another AWS Region for disaster recovery.
Which solution will meet these requirements with the HIGHEST
performance?
- A. Create an Amazon RDS DB instance with separate schemas to host the
product data and the user session data. Configure a read replica for the
DB instance in another Region.
- B. Create an Amazon RDS DB instance to host the product data. Configure
a read replica for the DB instance in another Region. Create a global
datastore in Amazon ElastiCache for Memcached to host the user session
data.
- C. Create two Amazon DynamoDB global tables. Use one global table to
host the product data. Use the other global table to host the user
session data. Use DynamoDB Accelerator (DAX) for caching.
- D. Create an Amazon RDS DB instance to host the product data. Configure
a read replica for the DB instance in another Region. Create an Amazon
DynamoDB global table to host the user session data.
View question →
-
Q3. Q228. A company runs an unauthenticated static website
(www.example.com) that includes a registration form for users. The
website uses Amazon S3 for hosting and uses Amazon CloudFront as the
content delivery network with AWS WAF configured. When the registration
form is submitted, the website calls an Amazon API Gateway API endpoint
that invokes an AWS Lambda function to process the payload and forward
the payload to an external API call.
During testing, a solutions architect encounters a cross-origin resource
sharing (CoRS)error. The solutions architect confirms that the
CloudFront distribution origin has the Access-Control-Allow-Origin
header set to www.example.com.
What should the solutions architect do to resolve the error?
- A. Change the CORS configuration on the S3 bucket.Add rules for CORS to
the AllowedOrigin element for wwwexample.com.
- B. Enable the CORS setting in AWS WAF. Create a web ACL rule in which
the Access-Control-Allow- Origin header is set to www.example.com.
- C. Enable the CORS setting on the API Gateway API endpoint. Ensure that
the API endpoint is configured to return all responses that have the
Access-Control-Allow-Origin header set to www.example.com.
- D. Enable the CORS setting on the Lambda function. Ensure that the
return code of the function has the Access-Control-Allow-Origin header
set to www.example.com.
View question →
-
Q4. Q229. A company is running an application on Amazon EC2 instances in
the AWS Cloud. The application is using a MongoDB database with a
replica set as its data tier. The MongoDB database is installed on
systems in the company's on-premises data center and is accessible
through an AWS Direct Connect connection to the data center environment.
A solutions architect must migrate the on-premises MongoDB database to
Amazon DocumentDB (with MongoDB compatibility).
Which strategy should the solutions architect choose to perform this
migration?
- A. Create a fleet of EC2 instances. Install MongoDB Community Edition on
the EC2 instances, and create a database. Configure continuous
synchronous replication with the database that is running in the on-
premises data center.
- B. Create an AWS Database Migration Service (AWS DMS) replication
instance. Create a source endpoint for the on-premises MongoDB database
by using change data capture (CDC) Create a target endpoint for the
Amazon DocumentDB database.
Create and run a DMS migration task.
- C. Create a data migration pipeline by using AWS Data Pipeline. Define
data nodes for the on-premises MongoDB database and the Amazon
DocumentDB database. Create a scheduled task to run the data pipeline.
- D. Create a source endpoint for the on-premises MongoDB database by
using AWS Glue crawlers.
Configure continuous asynchronous replication between the MongoDB
database and the Amazon DocumentDB database.
View question →
-
Q5. Q230. A company is running an application in the AWS Cloud. The core
business logic is running on a set of Amazon EC2 instances in an Auto
Scaling group. An Application Load Balancer (ALB) distributes traffic to
the EC2 instances. Amazon Route 53 record api.example.com is pointing to
the ALE. The company's development team makes major updates to the
business logic. The company has a rule that when changes are deployed,
only 10% of customers can receive the new logic during a testing window.
A customer must use the same version of the business logic during the
testing window. How should the company deploy the updates to meet these
requirements?
- A. Create a second ALB, and deploy the new logic to a set of EC2
instances in a new Auto Scaling group.
Configure the ALB to distribute traffic to the EC2 instances. Update the
Route 53 record to use weighted routing, and point the record to both of
the ALBs
- B. Create a second target group that is referenced by the ALB.Deploy the
new logic to EC2 instances in this new target group. Update the ALB
listener rule to use weighted target groups. Configure ALB target group
stickiness
- C. Create a new launch configuration for the Auto Scaling group. Specify
the launch configuration to use the AutoScalingRollingUpdate policy, and
set the MaxBatchSize option to 10. Replace the launch configuration on
the Auto Scaling group. Deploy the changes
- D. Create a second Auto Scaling group that is referenced by the ALB.
Deploy the new logic on a set of EC2 instances in this new Auto Scaling
group. Change the ALB routing algorithm to least outstanding requests
(LOR). Configure ALB session stickiness
View question →
-
Q6. Q231. A company has a latency-sensitive trading platform that uses
Amazon DynamoDB as a storage backend. The company configured the
DynamoDB table to use on-demand capacity mode.A solutions architect
needs to design a solution to improve the performance of the trading
platform. The new solution must ensure high availability for the trading
platform.Which solution will meet these requirements with the LEAST latency?
- A. Create a two-node DynamoDB Accelerator (DAX) cluster. Configure an
application to read and write data by using DAX
- B. Create a three-node DynamoDB Accelerator (DAX) cluster. Configure an
application to read data by using DAX and to write data directly to the
DynamoDB table
- C. Create a three-node DynamoDB Accelerator (DAX) cluster. Configure an
application to read data directly from the DynamoDB table and to write
data by using DAX
- D. Create a single-node DynamoDB Accelerator (DAX) cluster. Configure an
application to read data by using DAX and to write data directly to the
DynamoDB table
View question →
-
Q7. Q232. A company is running applications on AWS in a multi-account
environment. The company's sales team and marketing team use separate
AWS accounts in AWS Organizations. The sales team stores petabytes of
data in an Amazon S3 bucket. The marketing team uses Amazon QuickSight
for data visualizations. The marketing team needs access to data that
the sales team stores in the S3 bucket. The company has encrypted the S3
bucket with an AWS Key Management Service (AWS KMS) key. The marketing
team has already created the IAM service role for QuickSight to provide
QuickSight access in the marketing AWS account. The company needs a
solution that will provide secure access to the data in the S3 bucket
across AWS accounts.Which solution will meet these requirements with the LEAST operational
overhead?
- A. Create a new S3 bucket in the marketing account. Create an S3
replication rule in the sales account to copy the objects to the new S3
bucket in the marketing account. Update the QuickSight permissions in
the marketing account to grant access to the new S3 bucket
- B. Create an SCP to grant access to the S3 bucket to the marketing
account. Use AWS Resource Access Manager (AWS RAM) to share the KMS key
from the sales account with the marketing account. Update the QuickSight
permissions in the marketing account to grant access to the S3 bucket
- C. Update the S3 bucket policy in the marketing account to grant access
to the QuickSight role. Create a KMS grant for the encryption key that
is used in the S3 bucket. Grant decrypt access to the QuickSight
role.Update the QuickSicht permissions in the marketing account to grant
access to the S3 bucket
- D. Create an IAM role in the sales account and grant access to the S3
bucket. From the marketing account, assume the IAM role in the sales
account to access the S3 bucket. Update the QuickSight role to create a
trust relationship with the new IAM role in the sales account
View question →
-
Q8. Q233. A company's public API runs as tasks on Amazon Elastic
Container Service(Amazon ECS). The tasks run on AWS Fargate behind an
Application Load Balancer (ALB) and are configured with Service Auto
Scaling for the tasks based on CPU utilization. This service has been
running well for several months. Recently, API performance slowed down
and made the application unusable.The company discovered that a
significant number of SQL injection attacks had occurred against the API
and that the API service had scaled to its maximum amount.
A solutions architect needs to implement a solution that prevents SQL
injection attacks from reaching the ECS API service. The solution must
allow legitimate traffic through and must maximize operational
efficiency
Which solution meets these requirements?
- A. Create a new AWS WAF web ACL to monitor the HTTP requests and HTTPS
requests that are forwarded to the ALB in front of the ECS tasks
- B. Create a new AWS WAF Bot Control implementation. Add a rule in the
AWS WAF Bot Control managed rule group to monitor traffic and allow only
legitimate traffic to the ALB in front of the ECS tasks
- C. Create a new AWS WAF web ACL.Add a new rule that blocks requests that
match the SQL database rule group.Set the web ACL to allow all other
traffic that does not match those rules. Attach the web ACL to the ALB
in front of the ECS tasks
- D. Create a new AWS WAF web ACL.Create a new empty IP set in AWS WAF.
Add a new rule to the web ACL to block requests that originate from IP
addresses in the new IP set. Create an AWS Lambda function that scrapes
the API logs for IP addresses that send SQL iniection attacks. and add
those IP addresses to the IP set Attach the web ACL to the ALB in front
of the ECS tasks
View question →
-
Q9. Q234. A global manufacturing company plans to migrate the majority of
its applications to AWS. However, the company is concerned about
applications that need to remain within a specific country or in the
company's central on-premises data center because of data regulatory
requirements or requirements for latency of single-digit milliseconds.
The company also is concerned about the applications that it hosts in
some of its factory sites, where limited network infrastructure exists.
The company wants a consistent developer experience so that its
developers can build applications once and deploy on premises, in the
cloud, or in a hybrid architecture. The developers must be able to use
the same tools, APIs, and services that are familiar to them.
Which solution will provide a consistent hybrid experience to meet these
requirements'
- A. Migrate all applications to the closest AWS Region that is compliant.
Set up an AWS Direct Connect connection between the central on-premises
data center and AWS. Deploy a Direct Connect gateway
- B. Use AWS Snowball Edge Storage Optimized devices for the applications
that have data regulatory requirements or requirements for latency of
single-digit milliseconds. Retain the devices on premises.
Deploy AWS Wavelength to host the workloads in the factory sites
- C. Install AWS Outposts for the applications that have data regulatory
requirements or requirements for latency of single-digit milliseconds.
Use AWS Snowball Edge Compute Optimized devices to host the workloads in
the factory sites
- D. Migrate the applications that have data regulatory requirements or
requirements for latency of single- digit milliseconds to an AWS Local
Zone. Deploy AWS Wavelength to host the workloads in the factory sites
View question →
-
Q10. Q235. an environmental company is deploying sensors in major cities
throughout a country to measure air quality. The sensors connect to AWS
loT Core to ingest timeseries data readings.The company stores the data
in Amazon DynamoDB For business continuity. the company must have the
ability to ingest and store data in two AWS Regions.Which solution will meet these requirements?
- A. Create an Amazon Route 53 alias failover routing policy with values
for AWS IloT Core data endpoints in both Regions. Migrate data to Amazon
Aurora global tables
- B. Create a domain configuration for AWS loT Core in each Region. Create
an Amazon Route 53 latency- based routing policy. Use AWS loT Core data
endpoints in both Regions as values. Migrate the data to Amazon MemoryDB
for Redis and configure cross-Region replication
- C. Create a domain configuration for AWS IoT Core in each Region. Create
an Amazon Route 53 health check that evaluates domain configuration
health. Create a failover routing policy with values for the domain name
from the AWS loT Core domain configurations. Update the DynamoDB table
to a global table
- D. Create an Amazon Route 53 latency-based routing policy. Use AWS IoT
Core data endpoints in both Regions as values. Configure DynamoDB
streams and cross-Region data replication
View question →
-
Q11. Q236. A company has applications in an AWS account that is named
Source. The account is in an organization in AWS Organizations. One of
the applications uses AWS Lambda functions and stores inventory data in
an Amazon Aurora database.The application deploys the Lambda functions
by using a deployment package.The company has configured automated backups for Aurora.The company wants to migrate the Lambda functions and the Aurora
database to a new AWS account that is named Target. The application
processes critical data, so the company must minimize downtime.Which solution will meet these requirements?
- A. Download the Lambda function deployment package from the Source
account Use the deployment package and create new Lambda functions in
the Target account. Share the automated Aurora DB cluster snapshot with
the Target account
- B. Download the Lambda function deployment package from the Source
account Use the deployment package and create new Lambda functions in
the Target account. Share the Aurora DB cluster with the Target account
by using AWS Resource Access Manager (AWS RAM). Grant the Target account
permission to clone the Aurora DB cluste
- C. Use AWS Resource Access Manager (AWS RAM) to share the Lambda
functions and the Aurora DB cluster with the Target account. Grant the
Target account permission to clone the Aurora DB cluster
- D. Use AWS Resource Access Manager (AWS RAM) to share the Lambda
functions with the Target account Share the automated Aurora DB cluster
snapshot with the Target account
View question →
-
Q12. Q237. A delivery company needs to migrate its third-party route
planning application to AWS.The third party supplies a supported Docker
image from a public registry. The image can run in as many containers as
required to generate the route map.
The company has divided the delivery area into sections with supply hubs
so that delivery drivers travel the shortest distance possible from the
hubs to the customers. To reduce the time necessary to generate route
maps, each section uses its own set of Docker containers with a custom
configuration that processes orders only in the section's area.
The company needs the ability to allocate resources cost-effectively
based on the number of running containers
Which solution will meet these requirements with the LEAST operational
overhead?
- A. Create an Amazon Elastic Kubernetes Service (Amazon EKS) cluster on
Amazon EC2. Use the Amazon EKS CLI to launch the planning application in
pods by using the --tags option to assign a custom tag to the pod.
- B. Create an Amazon Elastic Kubernetes Service (Amazon EKS) cluster on
AWS Fargate. Use the Amazon EKS CLI to launch the planning application.
Use the AWS CLI tag-resource API call to assign a custom tag to the pod
- C. Create an Amazon Elastic Container Service (Amazon ECS) cluster on
Amazon EC2. Use the AWS CLI with run-tasks set to true to launch the
planning application by using the --tags option to assign a custom tag
to the task
- D. Create an Amazon Elastic Container Service (Amazon ECS) cluster on
AWS Fargate. Use the AWS CLI run-task command and set
enableECSManagedTags to true to launch the planning application. Use
the-tags option to assign a custom tag to the task
View question →
-
Q13. Q238. A solutions architect is creating an application that stores
objects in an Amazon S3 bucket. The solutions architect must deploy the
application in two AWS Regions that will be used simultaneously. The
objects in the two S3 buckets must remain synchronized with each other.
Which combination of steps will meet these requirements with the LEAST
operational overhead?(Select THREE.)
- A. Create an S3 Multi-Region Access Point. Change the application to
refer to the Multi-Region Access Point
- B. Configure two-way S3 Cross-Region Replication (CRR) between the two
S3 buckets
- C. Modify the application to store obiects in each S3 bucket
- D. Create an S3 Lifecycle rule for each S3 bucket to copy objects from
one S3 bucket to the other S3 bucket
- E. Enable S3 Versioning for each S3 bucket
- F. Configure an event notification for each S3 bucket to invoke an AWS
Lambda function to copy objects from one S3 bucket to the other S3
bucket.
View question →
-
Q14. Q239. A company uses AWs Organizations for a multi-account setup in
the AWS Cloud. The company's finance team has a data processing
application that uses AWS Lambda and Amazon DynamoDB. The company's
marketing team wants to access the data that is stored in the DynamoDB
table. The DvnamoDB table contains confidential data. The marketing team
can have access to only specific attributes of data in the DynamoDB
table.The finance team and the marketina team have separate AWS accountsWhat should a solutions architect do to provide the marketing team with
the appropriate access to the DynamoDB table?
- A. Create an SCP to grant the marketing team's AWS account access to
the specific attributes of the DynamoDB table. Attach the SCP to the OU
of the finance team
- B. Create an IAM role in the finance team's account by using IAM policy
conditions for specific DynamoDB attributes (fine-grained access
control). Establish trust with the marketing team's account. In the
marketing team's account, create an IAM role that has permissions to
assume the IAM role in the finance team's account
- C. Create a resource-based IAM policy that includes conditions for
specific DynamoDB attributes (fine- grained access control) Attach the
policy to the DynamoDB table. In the marketing team's account, create
an IAM role that has permissions to access the DynamoDB table in the
finance team's account
- D. Create an IAM role in the finance team's account to access the
DynamoDB table. Use an IAM permissions boundary to limit the access to
the specific attributes. In the marketing team's account, create an IAM
role that has permissions to assume the IAM role in the finance team's
account
View question →
-
Q15. Q240. A company has deployed its database on an Amazon RDS for MySQL
DB instance in the us-east-1 Region.The company needs to make its data
available to customers in Europe.The customers in Europe must have
access to the same data as customers in the United States (US) and will
not tolerate high application latency or stale data. The customers in
Europe and the customers in the US need to write to the database. Both
groups of customers need to see updates from the other group in real
time.
Which solution will meet these requirements?
- A. Create an Amazon Aurora MySQL replica of the RDS for MySQL DB
instance. Pause application writes to the RDS DB instance. Promote the
Aurora Replica to a standalone DB cluster. Reconfigure the application
to use the Aurora database anc resume writes. Add eu-west-1 as a
secondary Region to the DB cluster.Enable write forwarding on the DB
cluster. Deploy the application in eu-west-1. Configure the application
to use the Aurora MySQL endpoint in eu-west-1
- B. Add a cross-Region replica in eu-west-1 for the RDS for MySQL DB
instance. Configure the replica to replicate write queries back to the
primary DB instance. Deploy the application in eu-west-1. Configure the
application to use the RDS for MySQL endpoint in eu-west-1
- C. Copy the most recent snapshot from the RDS for MySQL DB instance to
eu-west-1. Create a new RDS for MySQL DB instance in eu-west-1 from the
snapshot. Configure MySQL logical replication from us- east-1 to
eu-west-1. Enable write forwarding on the DB cluster. Deploy the
application in eu-west- 1.Configure the application to use the RDS for
MySQL endpoint in eu-west-
- D. Convert the RDS for MySQL DB instance to an Amazon Aurora MySQL DB
cluster. Add eu-west-1 as a secondary Region to the DB cluster. Enable
write forwarding on the DB cluster. Deploy the application in eu-west-1.
Configure the application to use the Aurora MySQL endpoint in eu-west-1
View question →
-
Q16. Q241. A company is planning a one-time migration of an on-premises
MySQL database to Amazon Aurora MySQL in the us-east-1 Region.The
company's current internet connection has limited bandwidth. The
on-premises MySQL database is 60 TB in size.The company estimates that
it will take a month to transfer the data to AWS over the current
internet connection.
The company needs a migration solution that will migrate the database
more quickly Which solution will migrate the database in the LEAST
amount of time?
- A. Request a 1 Gbps AWS Direct Connect connection between the
on-premises data center and AWS.
Use AWS Database Migration Service (AWS DMS) to migrate the on-premises
MySQL database to Aurora MySQL
- B. Use AWS DataSync with the current internet connection to accelerate
the data transfer between the on- premises data center and AWS. Use AWS
Application Migration Service to migrate the on-premises MySQL database
to Aurora MySQL
- C. Order an AWS Snowball Edge device. Load the data into an Amazon S3
bucket by using the S3 interface. Use AWS Database Migration Service
(AWS DMS) to migrate the data from Amazon S3 to Aurora MySQL
- D. Order an AWS Snowball device. Load the data into an Amazon S3 bucket
by using the S3 Adapter for Snowball. Use AWS Application Migration
Service to migrate the data from Amazon S3 to Aurora MySQL
View question →
-
Q17. Q242. A company is designing a new website that hosts static content.
The website will give users the ability to upload and download large
files. According to company requirements, all data must be encrypted in
transit and at rest A solutions architect is building the solution by
using Amazon S3 and Amazon CloudFront. Which combination of steps will
meet the encryption requirements? (Select THREE.)
- A. Turn on S3 server-side encryption for the S3 bucket that the web
application uses
- B. Add a policy attribute of "aws: SecureTransport": "true" for read
and write operations in the S3 ACLs
- C. Create a bucket policy that denies any unencrypted operations in the
S3 bucket that the web application uses
- D. Configure encryption at rest on CloudFront by using server-side
encryption with AWS KMS keys (SSE- KMS)
- E. Configure redirection of HTTP requests to HTTPS requests in
CloudFront
- F. Use the RequireSSL option in the creation of presigned URLs for the
S3 bucket that the web application uses
View question →
-
Q18. Q243. A company is running a critical stateful web application on two
Linux Amazon EC2 instances behind an Application Load Balancer (ALB)
with an Amazon RDS for MySQL database.The company hosts the DNS records
for the application in Amazon Route 53. A solutions architect must
recommend a solution to improve the resiliency of the applicationThe solution must meet the following objectives.-- Application tier: RPO of 2 minutes, RTO of 30 minutes-- Database tier: RPO of 5 minutes. RTO of 30 minutesThe company does not want to make significant changes to the existing
application architecture.The company must ensure optimal latency after a
failover.Which solution will meet these requirements?
- A. Configure the EC2 instances to use AWS Elastic Disaster Recovery.
Create a cross-Region read replica for the RDS DB instance. Create an
ALB in a second AWS Region. Create an AWS Global Accelerator endpoint,
and associate the endpoint with the ALBs.Update DNS records to point to
the Global Accelerator endpoint
- B. Configure the EC2 instances to use Amazon Data Lifecycle Manager
(Amazon DLM) to take snapshots of the EBS volumes. Configure RDS
automated backups. Configure backup replication to a second AWS Region.
Create an ALB in the second Region. Create an AWS Global Accelerator
endpoint, and associate the endpoint with the ALBs. Update DNS records
to point to the Global Accelerator endpoint
- C. Create a backup plan in AWS Backup for the EC2 instances and RDS DB
instance. Configure backup replication to a second AWS Region. Create an
ALB in the second Region. Configure an Amazon CloudFront distribution in
front of the ALB Update DNS records to point to CloudFront
- D. Configure the EC2 instances to use Amazon Data Lifecycle Manager
(Amazon DLM) to take snapshots of the EBS volumes. Create a cross-Region
read replica for the RDS DB instance. Create an ALB in a second AWS
Region. Create an AWS Global Accelerator endpoint. and associate the
endpoint with the ALBs
View question →
-
Q19. Q244. A company has a website that runs on Amazon EC2 instances
behind an Application Load Balancer (ALB). The instances are in an Auto
Scaling group. The ALB is associated with an AWS WAF web ACL. The
website often encounters attacks in the application layer. The attacks
produce sudden and significant increases in traffic on the application
server. The access logs show that each attack originates from different
IP addresses. A solutions architect needs to implement a solution to
mitigate these attacks. Which solution will meet these requirements with
the LEAST operational overhead?
- A. Create an Amazon CloudWatch alarm that monitors server access. Set a
threshold based on access by IP address. Configure an alarm action that
adds the IP address to the web ACL's deny list
- B. Deploy AWS Shield Advanced in addition to AWS WAF. Add the ALB as a
protected resource
- C. Create an Amazon CloudWatch alarm that monitors user IP addresses.
Set a threshold based on access by IP address. Configure the alarm to
invoke an AWS Lambda function to add a deny rule in the application
server's subnet route table for any IP addresses that activate the
alarm
- D. Inspect access logs to find a pattern of IP addresses that launched
the attacks. Use an Amazon Route 53 geolocation routing policy to deny
traffic from the countries that host those IP addresses
View question →
-
Q20. Q245. A company has an organization in AWS Organizations. The company
is using AWS Control Tower to deploy a landing zone for the
organization. The company wants to implement governance and policy
enforcement. The company must implement a policy that will detect Amazon
RDS DB instances that are not encrypted at rest in the company's
production OU.
Which solution will meet this requirement?
- A. Turn on mandatory controls (guardrails) in AWS Control Tower. Apply
the mandatory controls (guardrails) to the production OU
- B. Enable the appropriate control (guardrail) from the list of strongly
recommended controls (guardrails) in AWS Control Tower. Apply the
control (guardrail) to the production OU
- C. Use AWS Config to create a new mandatory control (guardrail). Apply
the AWS Config rule to all accounts in the production OU
- D. Create a custom SCP in AWS Control Tower. Apply the SCP to the
production OU
View question →
-
Q21. Q246. A media storage application uploads user photos to Amazon S3
for processing. End users are reporting that some uploaded photos are
not being processed properly. The Application Developers trace the logs
and find that AWS Lambda is experiencing execution issues when thousands
of users are on the system simultaneously. Issues are caused by:
* Limits around concurrent executions.
* The performance of Amazon DynamoDB when saving data. Which actions
can be taken to increase the performance and reliability of the
application? (Choose two.)
- A. Evaluate and adjust the read capacity units (RCUs) for the DynamoDB
tables.
- B. Evaluate and adjust the write capacity units (WCUs) for the DynamoDB
tables.
- C. Add an Amazon ElastiCache layer to increase the performance of Lambda
functions
- D. Configure a dead letter queue that will reprocess failed or timed-out
Lambda functions.
- E. Use S3 Transfer Acceleration to provide lower-latency access to end
users.
View question →
-
Q22. Q247. A company ingests and processes streaming market data. The data
rate is constant. A nightly process that calculates aggregate statistics
is run, and each execution takes about 4 hours to complete. The
statistical analysis is not mission critical to the business, and
previous data points are picked up on the next execution if a particular
run fails. The current architecture uses a pool of Amazon EC2 Reserved
Instances with 1-year reservations running full time to ingest and store
the streaming data in attached Amazon EBS volumes. On- Demand EC2
instances are launched each night to perform the nightly processing,
accessing the stored data from NFS shares on the ingestion servers, and
terminating the nightly processing servers when complete. The Reserved
Instance reservations are expiring, and the company needs to determine
whether to purchase new reservations or implement a new design.
Which is the most cost-effective design?
- A. Update the ingestion process to use Amazon Kinesis Data Firehose to
save data to Amazon S3. Use a fleet of On-Demand EC2 instances that
launches each night to perform the batch processing of the S3 data and
terminates when the processing completes.
- B. Update the ingestion process to use Amazon Kinesis Data Firehouse to
save data to Amazon S3. Use AWS Batch to perform nightly processing with
a Spot market bid of 50% of the On-Demand price.
- C. Update the ingestion process to use a fleet of EC2 Reserved Instances
behind a Network Load Balancer with 3-year leases. Use Batch with Spot
instances with a maximum bid of 50% of the On- Demand price for the
nightly processing.
- D. Update the ingestion process to use Amazon Kinesis Data Firehose to
save data to Amazon Redshift.
Use an AWS Lambda function scheduled to run nightly with Amazon
CloudWatch Events to query Amazon Redshift to generate the daily
statistics.
View question →
-
Q23. Q248. A Solutions Architect must update an application environment
within AWS Elastic Beanstalk using a blue/ green deployment methodology.
The Solutions Architect creates an environment that is identical to the
existing application environment and deploys the application to the new
environment.
What should be done next to complete the update?
- A. Redirect to the new environment using Amazon Route 53
- B. Select the Swap Environment URLs option
- C. Replace the Auto Scaling launch configuration
- D. Update the DNS records to point to the green environment
View question →
-
Q24. Q249. A company is migrating an application to AWS. It wants to use
fully managed services as much as possible during the migration. The
company needs to store large, important documents within the application
with the following requirements:
- The data must be highly durable and available.
- The data must always be encrypted at rest and in transit.
- The encryption key must be managed by the company and rotated
periodically. Which of the following solutions should the Solutions
Architect recommend?
- A. Deploy the storage gateway to AWS in file gateway mode. Use Amazon
EBS volume encryption using an AWS KMS key to encrypt the storage
gateway volumes.
- B. Use Amazon S3 with a bucket policy to enforce HTTPS for connections
to the bucket and to enforce server-side encryption and AWS KMS for
object encryption.
- C. Use Amazon DynamoDB with SSL to connect to DynamoDB. Use an AWS KMS
key to encrypt DynamoDB objects at rest.
- D. Deploy instances with Amazon EBS volumes attached to store this data.
Use EBS volume encryption using an AWS KMS key to encrypt the data.
View question →
-
Q25. Q250. A company has a complex web application that leverages Amazon
CloudFront for global scalability and performance. Over time, users
report that the web application is slowing down. The company's
operations team reports that the CloudFront cache hit ratio has been
dropping steadily. The cache metrics report indicates that query strings
on some URLS are inconsistently ordered and are specified sometimes in
mixed case letters and sometimes in lowercase letters.
Which set of actions should the solutions architect take to increase the
cache hit ratio as quickly as possible?
- A. Deploy a Lambda@Edge function to sort parameters by name and force
them to be lowercase. Select the CloudFront viewer request trigger to
invoke the function.
- B. Update the CloudF ront distribution to disable caching based on query
string parameters.
- C. Deploy a reverse proxy after the load balancer to post process the
emitted URLs in the application to force the URL strings to be
lowercase.
- D. Update the CloudFront distribution to specify casing-insensitive
query string processing.
View question →
-
Q26. Q251. A company is developing a gene reporting device that will
collect genomic information to assist researchers with collecting large
samples of data from a diverse population. The device will push 8 KB of
genomic data every second to a data platform that will need to process
and analyze the data and provide information back to researchers. The
data platform must meet the following requirements. Provide
near-real-time analytics of the inbound genomic data Ensure the data is
flexible, parallel, and durable Deliver results of processing to a data
warehouse.
Which strategy should a solutions architect use to meet these
requirements?
- A. Use Amazon Kinesis Data Firehose to collect the inbound sensor data,
analyze the data with Kinesis clients, and save the results to an Amazon
RDS instance.
- B. Use Amazon Kinesis Data Streams to collect the inbound sensor data,
analyze the data with Kinesis clients, and save the results to an Amazon
Redshift cluster using Amazon EMR.
- C. Use Amazon S3 to collect the inbound device data, analyze the data
from Amazon SQS with Kinesis, and save the results to an Amazon Redshift
cluster.
- D. Use an Amazon API Gateway to put requests into an Amazon SQS queue,
analyze the data with an AWS Lambda function,and save the results to an
Amazon Redshift cluster using Amazon EMR.
View question →
-
Q27. Q252. A solutions architect has implemented a SAML 2.0 federated
identity solution with their company' s on- premises identity provider
(ldP) to authenticate users' access to the AWS environment. When the
solutions architect tests authentication through the federated identity
web portal, access to the AWS environment is granted. However, when test
users attempt to authenticate through the federated identity web portal,
they are not able to access the AWS environment.
Which items should the solutions architect check to ensure identity
federation is properly configured? (Select THREE.)
- A. The IAM user's permissions policy has allowed the use of SAML
federation for that user.
- B. The IAM roles created for the federated users' or federated groups'
trust policy have set the SAML provider as the principal.
- C. Test users are not in the AWSFederatedUsers group in the company's
ldP.
- D. The web portal calls the AWS STS AssumeRoleWithSAML API with the ARN
of the SAML provider, the ARN of the IAM role, and the SAML assertion
from idP.
- E. The on-premises ldP's DNS hostname is reachable from the AWS
environment VPC5.
- F. The company's ldP defines SAML assertions that properly map users or
groups in the company to IAM roles with appropriate permissions.
View question →
-
Q28. Q253. A company is creating a centralized logging service running on
Amazon EC2 that will receive and analyze logs from hundreds of AWS
accounts. AWS PrivateLink is being used to provide connectivity between
the client services and the logging service.In each AWS account with a
client, an interface endpoint has been created for the logging service
and is available. The logging service running on EC2 instances with a
Network Load Balancer (NLB) are deployed in different subnets. The
clients are unable to submit logs using the VPC endpoint.Which combination of steps should a solutions architect take to resolve
this issue? (Select TWO.)
- A. Check that the NACL is attached to the logging service subnet to
allow communications to and from the NLB subnets.Check that the NACL is
attached to the NLB subnet to allow communications to and from the
logging service subnets running on EC2 instances.
- B. Check that the NACL is attached to the logging service subnets to
allow communications to and from the interface endpoint subnets. Check
that the NACL is attached to the interface endpoint subnet to allow
communications to and from the logging service subnets running on EC2
instances.
- C. Check the security group for the logging service running on the EC2
instances to ensure it allows ingress from the NLB subnets.
- D. Check the security group for the logging service running on EC2
instances to ensure it allows ingress from the clients.
- E. Check the security group for the NL .B to ensure it allows ingress
from the interface endpoint subnets.
View question →
-
Q29. Q254. A company has an application that generates reports and stores
them in an Amazon S3 bucket. When a user accesses their report, the
application generates a signed URL to allow the user to download the
report. The company's security team has discovered that the files are
public and that anyone can download them without authentication The
company has suspended the generation of new reports until the problem is
resolved.
Which set of actions will immediately remediate the security issue
without impacting the application's normal workflow?
- A. Create an AWS Lambda function that applies a deny all policy for
users who are not authenticated.
Create a scheduled event to invoke the Lambda function.
- B. Review the AWS Trusted Advisor bucket permissions check and implement
the recommended actions.
- C. Run a script that puts a private ACL on all of the objects in the
bucket.
- D. Use the Block Public Access feature in Amazon s3 to set the
IgnorePublicAcls option to TRUE on the bucket.
View question →
-
Q30. Q255. A large company recently experienced an unexpected increase in
Amazon RDS and Amazon DynamoDB costs. The company needs to increase
visibility into details of AWS Billing and Cost Management. There are
various accounts associated with AWS Organizations,
including many development and production accounts. There is no
consistent tagging strategy across the organization, but there are
guidelines in place that require all infrastructure to be deployed using
AWS CloudFormation with consistent tagging. Management requires cost
center numbers and project ID numbers for all existing and future
DynamoDB tables and RDS instances. Which strategy should the solutions
architect provide to meet these requirements?
- A. Use Tag Editor to tag existing resources. Create cost allocation tags
to define the cost center and project ID and allow 24 hours for tags to
propagate to existing resources.
- B. Use an AWS Config rule to alert the finance team of untagged
resources. Create a centralized AWS Lambda based solution to tag
untagged RDS databases and DynamoDB resources every hour using a
cross-account role.
- C. Use Tag Editor to tag existing resources. Create cost allocation tags
to define the cost center and project ID. Use SCPs to restrict resource
creation that do not have the cost center and project ID on the
resource.
- D. Create cost allocation tags to define the cost center and project ID
and allow 24 hours for tags to propagate to existing resources. Update
existing federated roles to restrict privileges to provision resources
that do not include the cost center and project ID on the resource.
View question →
-
Q31. Q256. A company provides auction services for artwork and has users
across North America and Europe. The company hosts its application in
Amazon EC2 instances in the us east-1 Region. Artists upload photos of
their work as large-size, high-resolution image files from their mobile
phones to a centralized Amazon S3 bucket created in the us -east-1
Region. The users in Europe are reporting slow performance for their
image uploads .
How can a solutions architect improve the performance of the image
upload process?
- A. Redeploy the application to use S3 multipart uploads
- B. Create an Amazon CloudFront distribution and point to the application
as a custom origin.
- C. Configure the buckets to use S3 Transfer Acceleration.
- D. Create an Auto Scaling group for the EC2 instances and create a
scaling policy.
View question →
-
Q32. Q257. A solutions architect has an operational workload deployed on
Amazon EC2 instances in an Auto Scaling group. The VPC architecture
spans two Availability Zones (AZ) with a subnet in each that the Auto
Scaling group is targeting. The VPC is connected to an on-premises
environment and connectivity cannot be interrupted. The maximum size of
the Auto Scaling group is 20 instances in service. The VPC IPv4
addressing is as follows:
VPC CIDR: 10.0.0.0/23
AZ1 subnet CIDR 10.0.0.0/24
AZ2 subnet CIDR: 10.0.1.0/24
Since deployment, a third AZ has become available in the Region. The
solutions architect wants to adopt the new AZ without adding additional
IPv4 address space and without service downtime.
Which solution will meet these requirements?
- A. Update the Auto Scaling group to use the AZ2 subnet only Delete and
re-create the AZ1 subnet using half the previous address space. Adjust
the Auto Scaling group to also use the new AZ1 subnet. When the
instances are healthy, adjust the Auto Scaling group to use the AZ1
subnet only. Remove the current AZ2 subnet. Create a new AZ2 subnet
using the second half of the address space from the original AZ1 subnet.
Create a new AZ3 subnet using half the original AZ2 subnet address
space, then update the Auto Scaling group to target all three new
subnets.
- B. Terminate the EC2 instances in the AZ1 subnet. Delete and re-create
the AZ1 subnet using half the address space Update the Auto Scaling
group to use this new subnet. Repeat this for the second AZ.
Define a new subnet in AZ3, then update the Auto Scaling group to target
all three new subnets .
- C. Create a new VPC with the same lPv4 address space and define three
subnets, with one for each AZ.
Update the existing Auto Scaling group to target the new subnets in the
new VPC
- D. Update the Auto Scaling group to use the AZ2 subnet only. Update the
AZ1 subnet to have half the previous address space. Adjust the Auto
Scaling group to also use the AZ1 subnet again. When the instances are
healthy, adjust the Auto Scaling group to use the AZ1 subnet only.
Update the current AZ2 subnet and assign the second half of the address
space from the original AZ1 subnet. Create a new AZ3 subnet using half
the original AZ2 subnet address space, then update the Auto Scaling
group to target all three new subnets.
View question →
-
Q33. Q258. A company has built a high performance computing (HPC) cluster
in AWS for a tightly coupled workload that generates a large number of
shared files stored in Amazon EFS. The cluster was performing well when
the number of Amazon EC2 instances in the cluster was 100. However, when
the company increased the cluster size to 1,000 EC2 instances, overall
performance was well below expectations. Which collection of design
choices should a solutions architect make to achieve the maximum
performance from the HPC cluster? (Choose three.)
- A. Ensure the HPC cluster is launched within a single Availability Zone.
- B. Launch the EC2 instances and attach elastic network interfaces in
multiples of four.
- C. Select EC2 instance types with an Elastic Fabric Adapter (EFA)
enabled.
- D. Ensure the clusters is launched across multiple Availability Zones
- E. Replace Amazon EFS win multiple Amazon EBS volumes in a RAID array.
- F. Replace Amazon EFS with Amazon FSx for Lustre.
View question →
-
Q34. Q259. A company hosts a blog post application on AWS using Amazon API
Gateway, Amazon DynamoDB, and AWS Lambda. The application currently does
not use API keys to authorize requests. The API model is as follows:
GET/posts/[postid] to get post details.
GET/users[userid] to get user details.
GET/comments/[commentid] to get comments details.
The company has noticed users are actively discussing topics in the
comments section, and the company wants to increase user engagement by
marking the comments appears in real time. Which design should be used
to reduce comment latency and improve user experience?
- A. Use edge-optimized API with Amazon CloudFront to cache API responses.
- B. Modify the blog application code to request GET comment[commented]
every 10 seconds.
- C. Use AWS AppSync and leverage WebSockets to deliver comments.
- D. Change the concurrency limit of the Lambda functions to lower the API
response time.
View question →
-
Q35. Q260. A company hosts a web application on AWS in the us-east-1
Region. The application servers are distributed across three
Availability Zones behind an Application Load Balancer. The database is
hosted in MYSQL database on an Amazon EC2 instance. A solutions
architect needs to design a cross-Region data recovery solution using
AWS services with an RTO of less than 5 minutes and an RPO of less than
1 minute. The solutions architect is deploying application servers in
us-west- 2, and has configured Amazon Route 53 health checks and DNS
failover to us-west-2.
Which additional step should the solutions architect take?
- A. Migrate the database to an Amazon RDS for MySQL instance with a
cross-Region read replica in us- west-2.
- B. Migrate the database to an Amazon Aurora global database with the
primary in us-east-1 and the secondary in us-west-2.
- C. Migrate the database to an Amazon RDS for MySQL instance with a
Multi-AZ deployment.
- D. Create a MySQL standby database on an Amazon EC2 instance in
us-west-2.
View question →
-
Q36. Q261. A company is using AWS Organizations to manage multiple
accounts. Due to regulatory requirements, the company wants to restrict
specific member accounts to certain AWS Regions, where they are
permitted to deploy resources. The resources in the accounts must be
tagged, enforced based on a group standard, and centrally managed with
minimal configuration.
What should a solutions architect do to meet these requirements?
- A. Create an AWS Config rule in the specific member accounts to limit
Regions and apply a tag policy.
- B. From the AWS Billing and Cost Management console, in the master
account, disable Regions for the specific member accounts and apply a
tag policy on the root.
- C. Associate the specific member accounts with the root. Apply a tag
policy and an SCP using conditions to limit Regions.
- D. Associate the specific member accounts with a new OU. Apply a tag
policy and an SCP using conditions to limit Regions.
View question →
-
Q37. Q262. A solutions architect is designing an application to accept
timesheet entries from employees on their mobile devices. Timesheets
will be submitted weekly, with most of the submissions occurring on
Friday. The data must be stored in a format that allows payroll
administrators to run monthly reports. The infrastructure must be highly
available and scale to match the rate of incoming data and reporting
requests. Which combination of steps meets these requirements while
minimizing operational overhead? (Select TWO.)
- A. Deploy the application to Amazon EC2 On-Demand Instances with load
balancing across multiple Availability Zones. Use scheduled Amazon EC2
Auto Scaling to add capacity before the high volume of submissions on
Fridays.
- B. Deploy the application in a container using Amazon Elastic Container
Service (Amazon ECS) with load balancing across multiple Availability
Zones. Use scheduled Service Auto Scaling to add capacity before the
high volume of submissions on Fridays.
- C. Deploy the application front end to an Amazon S3 bucket served by
Amazon CloudFront. Deploy the application backend using Amazon API
Gateway with an AWS Lambda proxy integration.
- D. Store the timesheet submission data in Amazon Redshift. Use Amazon
QuickSight to generate the reports using Amazon Redshift as the data
source.
- E. Store the timesheet submission data in Amazon S3. Use Amazon Athena
and Amazon QuickSight to generate the reports using Amazon S3 as the
data source.
View question →
-
Q38. Q263. A company is building an image service on the web that will
allow users to upload and search random photos. At peak usage, up to
10,000 users worldwide will upload their images. The service will then
overlay text on the uploaded images, which will then be published on the
company website.
Which design should a solutions architect implement?
- A. Store the uploaded images in Amazon Elastic File System (Amazon EFS).
Send application log information about each image to Amazon CloudWatch
Logs. Create a fleet of Amazon EC2 instances that use CloudWatch Logs to
determine which images need to be processed. Place processed images in
another directory in Amazon EFS. Enable Amazon CloudFront and configure
the origin to be the one of the EC2 instances in the fleet.
- B. Store the uploaded images in an Amazon S3 bucket and configure an S3
bucket event notification to send a message to Amazon Simple
Notification Service (Amazon SNS). Create a fleet of Amazon EC2
instances behind an Application Load Balancer (ALB) to pull messages
from Amazon SNS to process the images and place them in Amazon Elastic
File System (Amazon EFS). Use Amazon CloudWatch metrics for the SNS
message volume to scale out EC2 instances. Enable Amazon CloudFront and
configure the origin to be the ALB in front of the EC2 instances.
- C. Store the uploaded images in an Amazon S3 bucket and configure an S3
bucket event notification to send a message to the Amazon Simple Queue
Service (Amazon SQS) queue. Create a fleet of Amazon EC2 instances to
pull messages from the SQS queue to process the images and place them in
another S3 bucket. Use Amazon CloudWatch metrics for queue depth to
scale out EC2 instances.
Enable Amazon CloudFront and configure the origin to be the S3 bucket
that contains the processed images.
- D. Store the uploaded images on a shared Amazon Elastic Block Store
(Amazon EBS) volume mounted to a fleet of Amazon EC2 Spot instances.
Create an Amazon DynamoDB table that contains information about each
uploaded image and whether it has been processed. Use an Amazon
EventBridge (Amazon CloudWatch Events) rule to scale out EC2 instances.
Enable Amazon CloudFront and configure the origin to reference an
Elastic Load Balancer in front of the fleet of EC2 instances.
View question →
-
Q39. Q264. A company has implemented an ordering system using an
event-driven architecture. During initial testing, the system stopped
processing orders. Further log analysis revealed that one order message
in an Amazon Simple Queue Service (Amazon SQS) standard queue was
causing an error on the backend and blocking all subsequent order
messages. The visibility timeout of the queue is set to 30 seconds, and
the backend processing timeout is set to 10 seconds. A solutions
architect needs to analyze faulty order messages and ensure that the
system continues to process subsequent messages. Which step should the
solutions architect take to meet these requirements?
- A. Increase the backend processing timeout to 30 seconds to match the
visibility timeout.
- B. Reduce the visibility timeout of the queue to automatically remove
the faulty message.
- C. Configure a new SQS FIFO queue as a dead-letter queue to isolate the
faulty messages .
- D. Configure a new SQS standard queue as a dead-letter queue to isolate
the faulty messages.
View question →
-
Q40. Q265. A company wants to refactor its retail ordering web application
that currently has a load-balanced Amazon EC2 instance fleet for web
hosting, database API services, and business logic. The company needs to
create a decoupled, scalable architecture with a mechanism for retaining
failed orders while also minimizing operational costs.
Which solution will meet these requirements?
- A. Use Amazon S3 for web hosting with Amazon API Gateway for database
API services. Use Amazon Simple Queue Service (Amazon SQS) for order
queuing. Use Amazon Elastic Container Service (Amazon ECS) for business
logic with Amazon SQS long polling for retaining failed orders.
- B. Use AWS Elastic Beanstalk for web hosting with Amazon API Gateway for
database API services. Use Amazon MQ for order queuing. Use AWS Step
Functions for business logic with Amazon S3 Glacier Deep Archive for
retaining failed orders.
- C. Use Amazon S3 for web hosting with AWS AppSync for database API
services. Use Amazon Simple Queue Service (Amazon SQS) for order
queuing, Use AWS Lambda for business logic with an Amazon SQS dead-
letter queue for retaining failed orders.
- D. Use Amazon Lightsail for web hosting with AWS AppSync for database
API services. Use Amazon Simple Email Service (Amazon SES) for order
queuing. Use Amazon Elastic Kubernetes Service (Amazon EKS) for business
logic with Amazon Elasticsearch Service (Amazon ES) for retaining failed
orders.
View question →
-
Q41. Q266. A large company runs workloads in VPCs that are deployed of AWS
accounts. Each VPC consists of public subnets and private subnets that
span across multiple Availability Zones NAT gateway are deployed in the
public subnets and allow outbound connectivity to the internet from the
private subnets. A solution architect is working on a hub-and-spoke
design. All private subnets in the spoke VPCs must route traffic to the
internal through an aggress VPC. The solutions architect already has
deployed has deployed a NAT gateway in an egress VPC in a cent al AWS
account. Which set of additional steps should the solution architect
take to meet these requirements?
- A. Create peering connections between the egress VPC and the spoke VPCs.
Configure the required routing to allow access to the internet.
- B. Create a transit gateway and share it with the existing AWS accounts.
Attach existing VPCs to the transit gateway.
Configure routing to allow access to the internet.
- C. Create a transit gateway in every account
Attach the NAT gateway to the gateway configure the required routing to
allow access to the internet.
- D. Create an AWS privateLink connection between the egress VPC and the
spoke VPCs.
Configure the require routing to allow access to he internet.
View question →
-
Q42. Q267. A company operates quick-service restaurants. The restaurants
follow a predictable model with high sales traffic for 4 hours daily.
Sales traffic is lower outside of those peak hours. The point of sale
and management platform is deployed in the AWS Cloud and has a backend
that is based on Amazon DynamoDB. The database table uses provisioned
throughput mode with 100,000 RCUs and 80,000 WCUs to match known peak
resource consumption.
The company wants to reduce its DynamoDB cost and minimize the
operational overhead for the IT staff. Which solution meets these
requirements MOST cost-effectively?
- A. Reduce the provisioned RCUs and WCUs.
- B. Change the DynamoDB table to use on-demand capacity.
- C. Enable Dynamo DB auto scaling for the table.
- D. Purchase 1-year reserved capacity that is sufficient to cover the
peak load for 4 hours each day.
View question →
-
Q43. Q268. A financial services company loaded millions of historical
stock trades into an Amazon DynamoDB table The table uses on-demand
capacity mode Once each day at midnight. a few million new records are
loaded into the table Application road activity against the table
happens in bursts throughout the day. and a limited set of keys are
repeatedly looked up The company needs to notice costs associated with
DynamoDB. Which strategy should a solutions architect recommend to meet
this requirement?
- A. Deploy an Amazon ElastiCache cluster In front of the DynamoDB table.
- B. Deploy DynamoDB Accelerator (DAX) Configure DynamoDB auto scaling
Purchase Savings Flans in Cost Explorer.
- C. Use provisioned capacity mode Purchase Savings Plans in Cost
Explorer.
- D. Deploy DynamoDB Accelerator (DAX). Use provisioned capacity mode.
Configure DynamoDB auto scaling.
View question →
-
Q44. Q269. A company manages hundreds of AWS accounts centrally in an
organization in AWS Organizations. The company recently started to allow
product teams to create and manage their own S3 access points in their
accounts. The S3 access points can be accessed only within VPCs, not on
the internet. What is the MOST operationally efficient way to enforce
this requirement?
- A. Set the S3 access point resource policy to deny the s3:
CreateAccessPoint action unless the s3:
AccessPointNetworkOrigin condition key evaluates to VPC.
- B. Create an SCP at the root level in the organization to deny the s3:
CreateAccessPoint action unless the s3:
AccessPointNetworkOrigin condition key evaluates to VPC.
- C. Use AWS CloudFormation StackSets to create a new IAM policy in each
AWS account that allows the
s3:
CreateAccessPoint action only if the s3:
AccessPointNetworkOrigin condition key evaluates to VPC.
- D. Set the S3 bucket policy to deny the s3:
CreateAccessPoint action unless the s3:
AccessPointNetworkOrigin condition key evaluates to VPC.
View question →
-
Q45. Q270. A company is collecting a large amount of data from a fleet of
IoT devices. Data is stored as Optimized ROW Columnar (ORC) files in the
Hadoop Distributed File System (HDFS) on a persistent Amazon EMR
cluster.
The company's data analytics team queries the data by using SQL in
APache Presto deployed on the same EMR cluster.
Queries scan large amounts of data, always run for less 15 minutes, and
run only between 5 PM and 10 PM.
The company is concerned about the high cost associated with the current
solution. A solution architect must propose the most cost-effective
solution that will allow SQL data queries.
Which solution will meet these requirements?
- A. Store data in Amazon S3 Amazon Redshift Spectrum to query data
- B. Store data in Amazon S3.
Use the AWS Glue Data Catalog and Amazon Athena to query data.
- C. Store data in EMR File System (EMRFS).
Use Presto in Amazon EMR to query data
- D. Store data in Amazon Redshift.
Use Amazon Redshift to query data.
View question →
-
Q46. Q271. A company needs to create and manage multiple AWS accounts for
a number of departments from a central location.
The security team requires read-only access to all accounts from its own
AWS account. The company is using AWS Organizations and created an
account for the security team. How should a solutions architect meet
these requirements?
- A. Use the OrganizationAccountAceessRole IAM role to create a new IAM
policy with read-only access in each member account.
Establish a trust relationship between the IAM policy in each member
account and the security account.
Ask the security team to use the IAM policy to gain access.
- B. Use the OrganizationAccountAccessRole IAM role to create a new IAM
role-win read only access in each member account.
Establish a trust relationship between the IAM role in each member
account and the security account.
Ask the security team to use the IAM role to gain access.
- C. Ask the security team to use AWS Security Token Service (AWS STS) to
call the AssumeRole API for the OrganizationAccountAccessRole IAM role
in the master account from the security account.
Use the generated temporary credentials to gain access.
- D. Ask the security team to use AWS Security Token Service (AWS STS) to
call the AssumeRole API for the OrganizationAccountAccessRole IAM role
in the member account from the security account.
Use the generated temporary credentials to gain access
View question →
-
Q47. Q272. A company is serving files to its customers through an SFTP
server that is accessible over the internet. The SFTP server is running
on a single Amazon EC2 instance with an Elastic IP address attached.
Customers connect to the SFTP server through its Elastic IP address and
use SSH for authentication. The EC2 instance also has an attached
security group that allows access from all customer IP addresses.
A solutions architect must implement a solution to improve availability,
minimize the complexity of infrastructure management, and minimize the
disruption to customers who access files. The solution must not change
the way customers connect.
Which solution will meet these requirements?
- A. Disassociate the Elastic IP address from the Ec2 instance Create an
Amazon S3 bucket to be used for SFTP file hosting. Create an AWS
Transfer Family server Configure the Transfer Family server with a
publicly accessible endpoint Associate the SFTP Elastic IP address with
the new endpoint Point the Transfer Family server to the S3 bucket Sync
all files from the SFTP server to the S3 bucket.
- B. Disassociate the Elastic IP address from the EC2 instance. Create an
Amazon S3 bucket to be used for SFTP file hosting. Create an AWS
Transfer Family server. Configure the Transfer Family server with a
VPC-hosted, internet-facing endpoint. Associate the SFTP Elastic IP
address with the new endpoint.
Attach the security group with customer IP addresses to the new
endpoint. Point the Transfer Family server to the S3 bucket. Sync all
files from the SFTP server to the S3 bucket.
- C. Disassociate the Elastic IP address from the EC2 instance. Create a
new Amazon Elastic File System (Amazon EFS) file system to be used for
SFTP file hosting. Create an AWS Fargate task definition to run an SFTP
server. Specify the EFS file system as a mount in the task definition.
Create a Fargate service by using the task definition, and place a
Network Load Balancer (NLB) in front of the service.
When configuring the service, attach the security group with customer IP
addresses to the tasks that run the SFTP server. Associate the Elastic
IP address with the NLB. Sync all files from the SFTP server to the S3
bucket.
- D. Disassociate the Elastic IP address from the EC2instance. Create a
multi-attach Amazon Elastic Block Store (Amazon EBS) volume to be used
for SFTP file hosting. Create a Network Load Balancer (NLB) with the
Elastic IP address attached. Create an Auto Scaling group with
EC2instances that run an SFTP server. Define in the Auto Scaling group
that instances that are launched should attach the new multi- attach EBS
volume. Configure the Auto Scaling group to
automatically add instances behind the NLB. Configure the Auto Scaling
group to use the security group that allows customer IP addresses for
the EC2 instances that the Auto Scaling group launches. Sync all files
from the SFTP server to the new multi-attach EBS volume
View question →
-
Q48. Q273. A company plans to deploy a new private intranet service on
Amazon EC2 instances inside a VPC. An AWS Site-to-Site VPN connects the
VPC to the company's on-premises network The new service must
communicate with existing on-premises services. The on-premises services
are accessible through the use of host names that reside in the company
example DNS zone. This DNS zone is wholly hosted on premises and is
available only on the company's private network.
A solutions architect must ensure that the new service can resolve host
names on the company example domain to integrate with existing services.
Which solution meets these requirements?
- A. Create an empty private zone in Amazon Route 53for company example.
Add an additional NS record to the company's on-premises
company.example zone that points to the authoritative name servers for
the new private zone in Route 53.
- B. Turn on DNS host names for the VPC. Configure a new outbound endpoint
with Amazon Route 53 Resolver. Create a Resolver rule to forward
requests for company.example to the on-premises name servers.
- C. Turn on DNS host names for the VPC. Configure a new inbound resolver
endpoint with Amazon Route 53 Resolver Configure the on-premises DNS
server to forward requests for company example to the new resolver.
- D. Use AWS Systems Manager to configure a run document that will install
a hosts file that contains any required host names.
Use an Amazon EventBridge (Amazon CloudWatch Events) rule to run the
document when an instance is entering the running state.
View question →
-
Q49. Q274. A solutions architect at a large company needs to set up
network security for outbound traffic to the internet from all AWS
accounts within an organization in AWS Organizations. The organization
has more than 100 AWS accounts, and the accounts route to each other by
using a centralized AWS Transit Gateway. Each account has both an
internet gateway and a NAT gateway for outbound traffic to the internet.
The company deploys resources only into a single AWS Region.
The company needs the ability to add centrally managed rule-based
filtering on all outbound traffic to the internet for all AWS accounts
in the organization. The peak load of outbound traffic will not exceed
25 Gbps in each Availability Zone.
Which solution meets these requirements?
- A. Create a new VPC for outbound traffic to the internet Connect the
existing transit gateway to the new VPC. Configure a new NAT gateway.
Create an Auto Scaling group of Amazon EC2 instances that run an
open-source internet proxy for rule-based filtering across all
Availability Zones in the Region Modify all default routes to point to
the proxy's Auto Scaling group.
- B. Create a new VPC for outbound traffic to the internet Connect the
existing transit gateway to the new VPC. Configure a new NAT gateway.
Use an AWS Network Firewall firewall for rule-based filtering Create
Network Firewall endpoints in each Availability Zone. Modify all default
routes to point to the Network Firewall endpoints.
- C. Create an AWS Network Firewall firewall for rule-based filtering in
each AWS account. Modify all default routes to point to the Network
Firewall firewalls in each account.
- D. In each AWS account, create an Auto Scaling group of
network-optimized Amazon EC2 instances that run an open-source internet
proxy for rule-based filtering. Modify all default routes to point to
the proxy's Auto Scaling group.
View question →
-
Q50. Q275. A company is running a containerized application in the AWS
Cloud. The application is running by using Amazon Elastic Container
Service (Amazon ECS) on a set of Amazon EC2 instances. The EC2 instances
run in an Auto Scaling group.
The company uses Amazon Elastic Container Registry (Amazon ECR) to store
its container images When a new image version is uploaded, the new image
version receives a unique tag. The company needs a solution that
inspects new image versions for common vulnerabilities and exposures.
The solution must automatically delete new image tags that have Critical
or High severity findings. The solution also must notify the development
team when such a deletion occurs.
Which solution meets these requirements?
- A. Configure scan on push on the repository Use Amazon EventBridge
(Amazon CloudWatch Events) to invoke an AWS Step Functions state machine
when a scan is complete for images that have Critical or High severity
findings. Use the Step Functions state machine to delete the image tag
for those images and to notify the development team through Amazon
Simple Notification Service (Amazon SNS).
- B. Configure scan on push on the repository. Configure scan results to
be pushed to an Amazon Simple Queue Service (Amazon SQS) queue. Invoke
an AWS Lambda function when a new message is added to the SQS queue. Use
the Lambda function to delete the image tag for images that have
Critical or High severity findings. Notify the development team by using
Amazon Simple Email Service (Amazon SES).
- C. Schedule an AWS Lambda function to start a manual image scan every
hour. Configure Amazon EventBridge (Amazon CloudWatch Events) to invoke
another Lambda function when a scan is complete. Use the second Lambda
function to delete the image tag for images that have Critical or High
severity findings Notify the development team by using Amazon Simple
Notification Service (Amazon SNS).
- D. Configure periodic image scan on the repository Configure scan
results to be added to an Amazon Simple Queue Service (Amazon SQS)
queue. Invoke an AWS Step Functions state machine when a new message is
added to the SQS queue. Use the Step Functions state machine to delete
the image tag for images that have Critical or High severity findings.
Notify the development team by using Amazon Simple Email Service (Amazon
SES)
View question →
-
Q51. Q276. A company has more than 10,000 sensors that send data to an
on-premises Apache Kafka server by using the Message Queuing Telemetry
Transport (MQTT) protocol. The on-premises Kafka server transforms the
data and then stores the results as objects in an Amazon S3 bucket
Recently, the Kafka server crashed. The company lost sensor data while
the server was being restored. A solutions architect must create a new
design on AWS that is highly available and scalable to prevent a similar
occurrence.
Which solution will meet these requirements?
- A. Launch two Amazon EC2instances to host the Kafka server in an
active/standby configuration across two Availability
Zones. Create a domain name in Amazon Route 53. Create a Route 53
failover policy. Route the sensors to send the data to the domain name
- B. Migrate the on-premises Kafka server to Amazon Managed Streaming for
Apache Kafka (Amazon MSK).
Create a Network Load Balancer (NLB) that points to the Amazon MSK
broker. Enable NLB health checks. Route the sensors to send the data to
the NLB
- C. Deploy AWS IoT Core, and connect it to an Amazon Kinesis Data
Firehose delivery stream. Use an AWS Lambda function to handle data
transformation. Route the sensors to send the data to AWS IoT Core.
- D. Deploy AWS IoT Core, and launch an Amazon EC2 instance to host the
Kafka server. Configure AWS IoT Core to send the data to the EC2
instance. Route the sensors to send the data to AWS IoT Core
View question →
-
Q52. Q277. A solutions architect is designing an AWS account structure for
a company that consists of multiple teams. All the teams will work in
the same AWS Region. The company needs a VPC that is connected to the
on- premises network. The company expects less than 50 Mbps of total
traffic to and from the on-premises network.
Which combination of steps will meet these requirements MOST
cost-effectively? (Select TWO.)
- A. Create an AWS CloudFormation template that provisions a VPC and the
required subnets. Deploy the template to each AWS account.
- B. Create an AWS CloudFormation template that provisions a VPC and the
required subnets. Deploy the template to a shared services account.
Share the subnets by using AWS Resource Access Manager.
- C. Use AWS Transit Gateway along with an AWS Site-to-Site VPN for
connectivity to the on-premises network. Share the transit gateway by
using AWS Resource Access Manager.
- D. Use AWS Site-to-Site VPN for connectivity to the on-premises network
- E. Use AWS Direct Connect for connectivity to the on-premises network
View question →
-
Q53. Q278. A software-as-a-service (SaaS) provider exposes APIs through an
Application Load Balancer (ALB). The ALB connects to an Amazon Elastic
Kubemetes Service (Amazon EKS) cluster that is deployed in the us-
east-1Region. The exposed APIs contain usage of a few non-standard REST
methods: LINK, UNLINK, LOCK and UNLOCK.
Users outside the United States are reporting long and inconsistent
response times for these APIs. A solutions architect needs to resolve
this problem with a solution that minimizes operational overhead. Which
solution meets these requirements?
- A. Add an Amazon CloudFront distribution. Configure the ALB as the
origin
- B. Add an Amazon API Gateway edge-optimized API endpoint to expose the
APIs Configure the ALB as the target
- C. Add an accelerator in AWS Global Accelerator. Configure the ALB as
the origin
- D. Deploy the APIs to two additional AWS Regions eu-west-1 and
ap-southeast-2 Add latency-based routing records in Amazon Route 53
View question →
-
Q54. Q279. A company has set up its entire infrastructure on AWS. The
company uses AmazonEC2instances to host its ecommerce website and uses
Amazon S3 to store static data. Three engineers at the company handle
the cloud administration and development through one AWS account.
Occasionally an engineer alters an EC2 security group configuration of
another engineer and causes noncompliance issues in the environment.
A solutions architect must set up a system that tracks changes that the
engineers make. The system must send alerts when the engineers make
noncompliant changes to the security settings for the EC2instances. What
is the FASTEST way for the solutions architect to meet these
requirements?
- A. Set up AWS Organizations for the company. Apply SCPs to govern and
track noncompiant security group changes that are made to the AWS
account
- B. Enable AWS CloudTrail to capture the changes to EC2 security groups
Enable Amazon CloudWatch rules to provide alerts when noncompliant
security settings are detected
- C. Enable SCPs on the AWS account to provide alerts when noncompliant
security group changes are made to the environment
- D. Enable AWS Config on the EC2 security groups to track any
noncompliant changes Send the changes as alerts through an Amazon Simple
Notification Service (Amazon SNS) topic
View question →
-
Q55. Q280. A company has an application in the AWS Cloud. The application
runs on a fleet of 20 Amazon EC2 instances. The EC2 instances are
persistent and store data on multiple attached Amazon Elastic Block
Store (Amazon EBS) volumes.
The company must maintain backups in a separate AWS Region The company
must be able to recover the EC2 instances and their configuration within
1 business day, with loss of no more than 1 day's worth of data. The
company has limited staff and needs a backup solution that optimizes
operational efficiency and cost. The company already has created an AWS
CloudFormation template that can deploy the required network
configuration in a secondary Region.
Which solution will meet these requirements?
- A. Create a second CloudFormation template that can recreate the EC2
instances in the secondary Region. Run daily multivolume snapshots by
using AWS Systems Manager Automation runbooks. Copy the snapshots to the
secondary Region. In the event of a failure. launch the CloudFormation
templates restore the EBS volumes from snapshots, and transfer usage to
the secondary Region
- B. Use Amazon Data Lifecycle Manager (Amazon DLM) to create daily
multivolume snapshots of the EBS volumes. In the event of a failure,
launch the CloudFormation template and use Amazon DLM to restore the EBS
volumes and transfer usage to the secondary Region
- C. Use AWS Backup to create a scheduled daily backup plan for the EC2
instances. Configure the backup task to copy the backups to a vault in
the secondary Region. In the event of a failure, launch the
CloudFormation template restore the instance volumes and configurations
from the backup vault and transfer usage to the secondary Region
- D. Deploy EC2instances of the same size and configuration to the
secondary Region. Configure AWS DataSync daily to copy data from the
primary Region to the secondary Region. In the event of a failure,
launch the CloudFormation template and transfer usage to the secondary
Region.
View question →
-
Q56. Q281. A company is using an organization in AWS Organizations to
manage hundreds of AWS accounts.A solutions architect is working on a
solution to provide baseline protection for the Open Web Application
Security Project (OWASP) top 10 web application vulnerabilities. The
solutions architect is using AWS WAF for all existing and new Amazon
CloudFront distributions that are deployed within the organization.
Which combination of steps should the solutions architect take to
provide the baseline protection? (Select THREE)
- A. Enable AWS Config in all accounts
- B. Enable Amazon GuardDuty in all accounts
- C. Enable all features for the organization
- D. Use AWS Firewall Manager to deploy AWS WAF rules in all accounts for
all CloudFront distributions
- E. Use AWS Shield Advanced to deploy AWS WAF rules in all accounts for
all CloudFront distributions
- F. Use AWS Security Hub to deploy AWS WAF rules in all accounts for all
CloudFront distributions
View question →
-
Q57. Q282. A company is planning to migrate an Amazon RDS for Oracle
database to an RDS for PostgreSQL DB instance in another AWS account. A
solutions architect needs to design a migration strategy that will
require no downtime and that will minimize the amount of time necessary
to complete the migration. The migration strategy must replicate all
existing data and any new data that is created during the migration. The
target database must be identical to the source database at completion
of the migration process. All applications currently use an Amazon Route
53 CNAME record as their endpoint for communication with the RDS for
Oracle DB instance. The RDS for Oracle DB instance is in a private
subnet. Which combination of steps should the solutions architect take
to meet these requirements? (Select THREE)
- A. Create a new RDS for PostgreSQL DB instance in the target account.
Use the AWS Schema Conversion Tool (AWS SCT) to migrate the database
schema from the source database to the target database
- B. Use the AWS Schema Conversion Tool (AWS SCT) to create a new RDS for
PostgreSQL DB instance in the target account with the schema and initial
data from the source database
- C. Configure VPC peering between the VPCs in the two AWS accounts to
provide connectivity to both DB instances from the target account.
Configure the security groups that are attached to each DB instance to
allow traffic on the database port from the VPC in the target account
- D. Temporarily allow the source DB instance to be publicly accessible to
provide connectivity from the VPC in the target account. Configure the
security groups that are attached to each DB instance to allow traffic
on the database port from the VPC in the target account
- E. Use AWS Database Migration Service (AWS DMS) in the target account to
perform a full load plus change data capture (CDC) migration from the
source database to the target database. When the migration is complete,
change the CNAME record to point to the target DB instance endpoint.
- F. Use AWS Database Migration Service (AWS DMS) in the target account to
perform a change data capture (CDC) migration from the source database
to the target database. When the migration is complete, change the CNAME
record to point to the target DB instance endpoint
View question →
-
Q58. Q283. A company wants to migrate to AWS. The company wants to use a
multi-account structure with centrally managed access to all accounts
and applications. The company also wants to keep the traffic on a
private network. Multi-factor authentication (MFA)is required at login,
and specific roles are assigned to user groups.
The company must create separate accounts for development, staging,
production, and shared network. The production account and the shared
network account must have connectivity to all accounts The development
account and the staging account must have access only to each other.
Which combination of steps should a solutions architect take to meet
these requirements? (Select THREE)
- A. Deploy a landing zone environment by using AWS Control Tower. Enroll
accounts and invite existing accounts into the resulting organization in
AWS Organizations.
- B. Enable AWS Security Hub in all accounts to manage cross-account
access. Collect findings through AWS CloudTrail to force MFA login.
- C. Create transit gateways and transit gateway VPC attachments in each
account. Configure appropriate route tables.
- D. Set up and enable AWS Single Sign-On. Create appropriate permission
sets with required MFA for existing accounts.
- E. Enable AWS Control Tower in all accounts to manage routing between
accounts. Collect findings through AWS CloudTrail to force MFA login.
- F. Create IAM users and groups. Configure MFA for all users. Set up
Amazon Cognito user pools and identity pools to manage access to
accounts and between accounts
View question →
-
Q59. Q284. A company runs many workloads on AWS and uses AWS Organizations
to manage its accounts. The workloads are hosted on Amazon EC2,AWS
Fargate, and AWS Lambda. Some of the workloads have unpredictable
demand. Accounts record high usage in some months and low usage in other
months. The company wants to optimize its compute costs over the next 3
years.A solutions architect obtains a 6- month average for each of the
accounts across the organization to calculate usage. Which solution will
provide the MOST cost savings for all the organization's compute usage?
- A. Purchase Reserved Instances for the organization to match the size
and number of the most common EC2 instances from the member accounts.
- B. Purchase a Compute Savings Plan for the organization from the
management account by using the recommendation at the management account
level.
- C. Purchase Reserved Instances for each member account that had high EC2
usage according to the data from the last 6 months.
- D. Purchase an EC2 Instance Savings Plan for each member account from
the management account based on EC2 usage data from the last 6 months.
View question →
-
Q60. Q285. A company uses AWS CloudFormation to deploy applications within
multiple VPCs that are all attached to a transit gateway. Each VPC that
sends traffic to the public internet must send the traffic through a
shared services VPC. Each subnet within a VPC uses the default VPC route
table, and the traffic is routed to the transit gateway. The transit
gateway uses its default route table for any VPC attachment. A security
audit reveals that an Amazon EC2 instance that is deployed within a VPC
can communicate with an EC2 instance that is deployed in any of the
company's other VPCs.A solutions architect needs to limit the traffic
between the VPCs. Each VPC must be able to communicate only with a
predefined, limited set of authorized VPCs.
What should the solutions architect do to meet these requirements?
- A. Update the network ACL of each subnet within a VPC to allow outbound
traffic only to the authorized VPCs. Remove all deny rules except the
default deny rule.
- B. Update all the security groups that are used within a VPC to deny
outbound traffic to security groups that are used within the
unauthorized VPCs.
- C. Create a dedicated transit gateway route table for each VPC
attachment. Route traffic only to the authorized VPCs.
- D. Update the main route table of each VPC to route traffic only to the
authorized VPCs through the transit gateway.
View question →
-
Q61. Q286. A solutions architect needs to review the design of an Amazon
EMR cluster that is using the EMR File System (EMRFS). The cluster
performs tasks that are critical to business needs. The cluster is
running Amazon EC2 On-Demand Instances at all times for all task,
master, and core nodes. The EMR tasks run each morning, starting at
1:00AM, and take 6 hours to finish running. The amount of time to
complete the processing is not a priority because the data is not
referenced until late in the day. The solutions architect must review
the architecture and suggest a solution to minimize the compute costs.
Which solution should the solutions architect recommend to meet these
requirements?
- A. Launch all task, master, and core nodes on Spot Instances in an
instance fleet. Terminate the cluster, including all instances, when the
processing is completed
- B. Launch the master and core nodes on On-Demand Instances Launch the
task nodes on Spot Instances in an instance fleet. Terminate the
cluster, including all instances, when the processing is completed.
Purchase Compute Savings Plans to cover the On-Demand Instance usage
- C. Continue to launch all nodes on On-Demand Instances. Terminate the
cluster, including all instances, when the processing is completed.
Purchase Compute Savings Plans to cover the On-Demand Instance usage
- D. Launch the master and core nodes on On-Demand Instances. Launch the
task nodes on Spot Instances in an instance fleet. Terminate only the
task node instances when the processing is completed.
Purchase Compute Savings Plans to cover the On-Demand Instance usage
View question →
-
Q62. Q287. A company has automated the nightly retraining of its machine
learning models by using AWS Step Functions. The workflow consists of
multiple steps that use AWS Lambda. Each step can fail for various
reasons, and any failure causes a failure of the overall workflow A
review reveals that the retraining has failed multiple nights in a row
without the company noticing the failure.A solutions architect needs to
improve the workflow so that notifications are sent for all types of
failures in the retraining process. Which combination of steps should
the solutions architect take to meet these requirements? (Select THREE.)
- A. Create an Amazon Simple Notification Service (Amazon SNS) topic with
a subscription of type "Email" that targets the team's mailing list.
- B. Create a task named "Email" that forwards the input arguments to
the SNS topic
- C. Add a Catch field to all Task, Map, and Parallel states that have a
statement of "ErrorEquals":
[ "states.ALL" ] and "Next": "Email".
- D. .Add a new email address to Amazon Simple Email Service (Amazon
SES).Verify the email address
- E. Create a task named "Email' that forwards the input arguments to
the SES email address
- F. Add a Catch field to all Task,Map, and Parallel states that have a
statement of "Errorequals":
["states.Runtime" ] and "Next": "Email".
View question →
-
Q63. Q288. A company implements a containerized application by using
Amazon Elastic Container Service (Amazon ECS) and Amazon API Gateway.
The application data is stored in Amazon Aurora databases and Amazon
DynamoDB databases. The company automates infrastructure provisioning by
using AWS CloudFormation. The company automates application deployment
by using AWS CodePipeline. A solutions architect needs to implement a
disaster recovery (DR) strategy that meets an RPO of 2 hours and an RTO
of 4 hours. Which solution will meet these requirements MOST
cost-effectively?
- A. Set up an Aurora global database and DynamoDB global tables to
replicate the databases to a secondary AWS Region. In the primary Region
and in the secondary Region, configure an API Gateway API with a
Regional endpoint. Implement Amazon CloudFront with origin failover to
route traffic to the secondary Region during a DR scenario
- B. Use AWS Database Migration Service (AWS DMS),Amazon EventBridge
(Amazon CloudWatch Events),and AWS Lambda to replicate the Aurora
databases to a secondary AWS Region. Use DynamoDB Streams, EventBridge
(CloudWatch Events),and Lambda to replicate the DynamoDB databases to
the secondary Region. In the primary Region and in the secondary Region,
configure an API Gateway with a Regional endpoint. Implement Amazon
Route 53 failover routing to switch traffic from the primary Region to
the secondary Region
- C. Use AWS Backup to create backups of the Aurora databases and the
DynamoDB databases in a secondary AWS Region. In the primary Region and
in the secondary Region, configure an Gateway with a Regional endpoint.
Implement Amazon Route 53 failover routing to switch traffic from the
primary Region to the secondary Region
- D. Set up an Aurora global database and DynamoDB global tables to
replicate the databases to a secondary AWS Region. In the primary Region
and in the secondary Region, configure an Gateway API with a Regional
endpoint. Implement Amazon Route 53 failover routing to switch traffic
from the primary Region to the secondary Region
View question →
-
Q64. Q289. A solutions architect needs to improve an application that is
hosted in the AWS Cloud. The application uses an Amazon Aurora MySQL DB
instance that is experiencing overloaded connections. Most of the
application's operations insert records into the database. The
application currently stores credentials in a text-based configuration
file.
The solutions architect needs to implement a solution so that the
application can handle the current connection load. The solution must
keep the credentials secure and must provide the ability to rotate the
credentials automatically on a regular basis.
Which solution will meet these requirements?
- A. Deploy an Amazon RDS Proxy layer in front of the DB instance. Store
the connection credentials as a secret in AWS Secrets Manager
- B. Deploy an Amazon RDS Proxy layer in front of the DB instance. Store
the connection credentials in AWS Systems Manager Parameter Store.
- C. Create an Aurora Replica. Store the connection credentials as a
secret in AWS Secrets Manager.
- D. Create an Aurora Replica. Store the connection credentials in AWS
Systems Manager Parameter Store.
View question →
-
Q65. Q290. A company wants to send data from its on-premises systems to
Amazon S3 buckets. The company created the S3 buckets in three different
accounts. The company must send the data privately without the data
traveling across the internet. The company has no existing dedicated
connectivity to AWS. Which combination of steps should a solutions
architect take to meet these requirements? (Select TWO.)
- A. Establish a networking account in the AWS Cloud. Create a private VPC
in the networking account.
Setup an AWS Direct Connect connection with a private VIF between the
on-premises environment and the private VPC.
- B. Establish a networking account in the AWS Cloud. Create a private VPC
in the networking account. Set up an AWS Direct Connect connection with
a public VIF between the on-premises environment and the private VPC.
- C. Create an Amazon S3interface endpoint in the networking account
- D. Create an Amazon S3 gateway endpoint in the networking account
- E. Establish a networking account in the AWS Cloud. Create a private VPC
in the networking account.
Peer VPCs from the accounts that host the S3 buckets with the VPC in the
network account.
View question →
-
Q66. Q291. A company is migrating its development and production workloads
to a new organization in AWS Organizations. The company has created a
separate member account for development and a separate member account
for production. Consolidated billing is linked to the management
account. In the management account, a solutions architect needs to
create an IAM user that can stop or terminate resources in both member
accounts.
Which solution will meet this requirement?
- A. Create an IAM user and a cross-account role in the management
account. Configure the cross-account role with least privilege access to
the member accounts.
- B. Create an IAM user in each member account. In the management account,
create a cross-account role that has least privilege access. Grant the
IAM users access to the cross-account role by using a trust policy.
- C. Create an IAM user in the management account In the member accounts,
create an IAM group that has least privilege access.Add the IAM user
from the management account to each IAM group in the member accounts.
- D. Create an IAM user in the management account. In the member accounts,
create cross-account roles that have least privilege access. Grant the
IAM user access to the roles by using a trust policy.
View question →
-
Q67. Q292. A company is building a hybrid environment that includes
servers in an on-premises data center and in the AWS Cloud. The company
has deployed Amazon EC2 instances in three VPCs. Each VPC is in a
different AWS Region. The company has established an AWS Direct Connect
connection to the data center from the Region that is closest to the
data center.The company needs the servers in the on-premises data center to have
access to the EC2 instances in all three VPCs. The servers in the
on-premises data center also must have access to AWS public services
Which combination of steps will meet these requirements with the LEAST
cost? (Select TWO.)
- A. Create a Direct Connect gateway in the Region that is closest to the
data center. Attach the Direct Connect connection to the Direct Connect
gateway.
- B. Use the Direct Connect gateway to connect the VPCs in the other two
Regions Set up additional Direct Connect connections from the
on-premises data center to the other two Regions
- C. Create a private VIF. Establish an AWS Site-to-Site VPN connection
over the private VIF to the VPCs in the other two Regions
- D. Create a public VIF. Establish an AWS Site-to-Site VPN connection
over the public VIF to the VPCs in the other two Regions
- E. Use VPC peering to establish a connection between the VPCs across the
Regions. Create a private VIF with the existing Direct Connect
connection to connect to the peered VPCs
View question →
-
Q68. Q293. A company orchestrates a multi-account structure on AWS by
using AWS Control Tower. The company is using AWS Organizations, AWS
Config, and AWS Trusted Advisor. The company has a specific OU for
development accounts that developers use to experiment on AWS. The
company has hundreds of developers. and each developer has an individual
development account. The company wants to optimize costs in these
development accounts.Amazon EC2instances and Amazon RDS instances in
these accounts must be burstable. The company wants to disallow the use
of other services that are not relevant. What should a solutions
architect recommend to meet these requirements?
- A. Create a custom SCP in AWS Organizations to allow the deployment of
only burstable instances and to disallow services that are not relevant.
Apply the SCP to the development Ou
- B. Create a custom detective guardrail in AWS Control Tower. Configure
the guardrail to allow the deployment of only burstable instances and to
disallow services that are not relevant. Apply the guardrail to the
development OU
- C. Create a custom preventive guardrail in AWS Control Tower. Conigure
the guardrail to allow the deployment of only burstable instances and to
disallow services that are not relevant. Apply the guardrail to the
development Ou.
- D. Create an AWS Config rule in the AWS Control Tower account Configure
the AWS Config rule to allow the deployment of only burstable instances
and to disallow services that are not relevant. Deploy the AWS Config
rule to the development OU by using AWS CloudFormation StackSets
View question →
-
Q69. Q294. A company is implementing a serverless architecture by using
AWS Lambda functions that need to access a Microsoft SQL Server DB
instance on Amazon RDS. The company has separate environments for
development and production, including a clone of the database system.
The company's developers are allowed to access the credentials for the
development database. However, the credentials for the production
database must be encrypted with a key that only members of the IT
security team's IAM user group can access. This key must be rotated on
a regular basis What should a solutions architect do in the production
environment to meet these requirements?
- A. Store the database credentials in AWS Systems Manager Parameter Store
by using a SecureString parameter that is encrypted by an AWS Key
Management Service (AWS KMS) customer managed key Attach a role to each
Lambda function to provide access to the SecureString parameter.
Restrict access to the SecureString parameter and the customer managed
key so that only the IT security team can access the parameter and the
key
- B. Encrypt the database credentials by using the AWS Key Management
Service (AWS KMS) default Lambda key Store the credentials in the
environment variables of each Lambda function. Load the credentials from
the environment variables in the Lambda code. Restrict access to the KMS
key so that only the IT security team can access the key
- C. Store the database credentials in the environment variables of each
Lambda function. Encrypt the environment variables by using an AWS Key
Management Service (AWS KMS) customer managed key. Restrict access to
the customer managed key so that only the IT security team can access
the key
- D. Store the database credentials in AWS Secrets Manager as a secret
that is associated with an AWS Key Management Service (AWS KMS) customer
managed key. Attach a role to each Lambda function to provide access to
the secret Restrict access to the secret and the customer managed key so
that only the IT security team can access the secret and the key
View question →
-
Q70. Q295. A company uses AWS Organizations to manage its AWS accounts.
The company needs a list of all its Amazon EC2 instances that have
underutilized CPU or memory usage. The company also needs
recommendations for how to downsize these underutilized instances. Which
solution will meet these requirements with the LEAST effort?
- A. Install a CPU and memory monitoring tool from AWS Marketplace on all
the EC2 instances. Store the findings in Amazon S3.Implement a Python
script to identify underutilized instances. Reference EC2 instance
pricing information for recommendations about downsizing options.
- B. Install the Amazon CloudWatch agent on all the EC2 instances by using
AWS Systems Manager.
Retrieve the resource optimization recommendations from AWS Cost
Explorer in the organization's management account. Use the
recommendations to downsize underutilized instances in all accounts of
the organization.
- C. Install the Amazon CloudWatch agent on all the EC2 instances by using
AWS Systems Manager.
Retrieve the resource optimization recommendations from AWS Cost
Explorer in each account of the organization. Use the recommendations to
downsize underutilized instances in all accounts of the organization.
- D. Install the Amazon CloudWatch agent on all the EC2 instances by using
AWS Systems Manager.
Create an AWS Lambda function to extract CPU and memory usage from all
the EC2instances. Store the findings as files in Amazon S3.Use Amazon
Athena to find underutilized instances. Reference EC2 instance pricing
information for recommendations about downsizing options.
View question →
-
Q71. Q296. A company needs to build a disaster recovery (DR) solution for
its ecommerce website. The web application is hosted on a fleet of
t3.large Amazon EC2 instances and uses an Amazon RDS for MySQL DB
instance. The EC2 instances are in an Auto Scaling group that extends
across multiple Availability Zones.In the event of a disaster, the web application must fail over to the
secondary environment with an RPO of 30 seconds and an RTO of 10
minutes.Which solution will meet these requirements MOST cost-effectively?
- A. Use infrastructure as code (laC) to provision the new infrastructure
in the DR Region. Create a cross- Region read replica for the DB
instance. Set up a backup plan in AWS Backup to create cross-Region
backups for the EC2 instances and the DB instance. Create a cron
expression to back up the EC2 instances and the DB instance every 30
seconds to the DR Region. Recover the EC2 instances from the latest EC2
backup. Use an Amazon Route 53 geolocation routing policy to
automatically fail over to the DR Region in the event of a disaster.
- B. Use infrastructure as code (laC) to provision the new infrastructure
in the DR Region. Create a cross- Region read replica for the
DBinstance. Set up AWS Elastic Disaster Recovery (CloudEndure Disaster
Recovery) to continuously replicate the EC2 instances to the DR Region.
Run the EC2 instances at the minimum capacity in the DR Region. Use an
Amazon Route 53 failover routing policy to automatically fail over to
the DR Region in the event of a disaster. Increase the desired capacity
of the Auto Scaling group
- C. Set up a backup plan in AWS Backup to create cross-Region backups
forthe EC2 instances and the DB instance. Create a cron expression to
back up the EC2 instances and the DB instance every 30 seconds to the DR
Region. Use infrastructure as code (laC) to provision the new
infrastructure in the DR Region. Manually restore the backed-up data on
new instances. Use an Amazon Route 53 simple routing policy to
automatically fail over to the DR Region in the event of a disaster
- D. Use infrastructure as code (laC) to provision the new infrastructure
in the DR Region. Create an Amazon Aurora global database. Set up AWS
Elastic Disaster Recovery (CloudEndure Disaster Recovery) to
continuously replicate the EC2 instances to the DR Region. Run the Auto
Scaling group of EC2 instances at full capacity in the DR Region. Use an
Amazon Route 53 failover routing policy to automatically fail over to
the DR Region in the event of a disaster
View question →
-
Q72. Q297. An entertainment company recently launched a new game.To ensure
a good experience for players during the launch period, the company
deployed a static quantity of 12 r6g.16xlarge (memory optimized) Amazon
EC2 instances behind a Network Load Balancer. The company's operations
team used the Amazon CloudWatch agent and a custom metric to include
memory utilization in its monitoring strategy Analysis of the CloudWatch
metrics from the launch period showed consumption at about one quarter
of the CPU and memory that the company expected. Initial demand for the
game has subsided and has become more variable. The company decides to
use an Auto Scaling group that monitors the CPU and memory consumption
to dynamically scale the instance fleet. A solutions architect needs to
configure the Auto Scaling group to meet demand in the most
cost-effective way.
Which solution will meet these requirements?
- A. Configure the Auto Scaling group to deploy c6g.4xlarge (compute
optimized) instances. Configure a minimum capacity of 3, a desired
capacity of 3, and a maximum capacity of 12
- B. Configure the Auto Scaling group to deploy m6g.4xlarge (general
purpose) instances. Configure a minimum capacity
of 3, a desired capacity of 3, and a maximum capacity of 12
- C. Configure the Auto Scaling group to deploy r6g.4xlarge (memory
optimized) instances. Configure a minimum capacity of 3, a desired
capacity of 3, and a maximum capacity of 12
- D. Configure the Auto Scaling group to deploy r6g.8xlarge (memory
optimized) instances. Configure a minimum capacity of 2, a desired
capacity of 2,and a maximum capacity of 6
View question →
-
Q73. Q298. A company maintains a restaurant review website. The website is
a single-page application where files are stored in Amazon S3 and
delivered using Amazon CloudFront. The company receives several fake
postings every day that are manually removed.
The security team has identified that most of the fake posts are from
bots with lP addresses that have a bad reputation within the same global
region. The team needs to create a solution to help restrict the bots
from accessing the website.
Which strategy should a solutions architect use?
- A. Use AWS Firewall Manager to control the CloudFront distribution
security settings. Create a geographical block rule and associate it
with Firewall Manager.
- B. Associate an AWS WAF web ACL with the CloudFront distribution. Select
the managed Amazon IP reputation rule group for the web ACL with a deny
action.
- C. Use AWS Firewall Manager to control the CloudFront distribution
security settings. Select the managed Amazon IP
reputation rule group and associate it with Firewall Manager with a deny
action.
- D. Associate an AWS WAF web ACL with the CloudFront distribution. Create
a rule group for the web ACL with a geographical match statement with a
deny action.
View question →
-
Q74. Q299. A car rental company has built a serverless REST API to provide
data to its mobile app. The app consists of an Amazon API Gateway API
with a Regional endpoint, AWS Lambda functions, and an Amazon Aurora
MySQL Serverless DB cluster The company recently opened the API to
mobile apps cf partners. A significant increase in the number of
requests resulted, causing sporadic database memory errors. Analysis 0f
the API traffic indicates that clients are making multiple HTTP GET
requests for the same queries in a short period of time. Traffic is
concentrated during business hours, with spikes around holidays and
other events.The company needs to improve ts ability to support the
additional usage while minimizing the increase in costs associated with
the solution.
Which strategy meets these requirements?
- A. Convert the API Gateway Regional endpoint to an edge-optimized
endpoint. Enable caching in the production stage.
- B. Implement an Amazon ElastiCache for Redis cache to store the results
0f the database calls. Modify the Lambda functions to use the cache.
- C. Modify the Aurora Serverless DB cluster configuration to increase the
maximum amount of available memory.
- D. Enable throttling in the API Gateway production stage. Set the rate
and burst values to limit the incoming calls.
View question →
-
Q75. Q300. A company wants to use Amazon WorkSpaces in combination with
the client devices to replace aging desktops.
Employees use the desktops to access applications that work with
clinical trial data. Corporate security policy states that access to the
applications must be restricted to only company branch office locations.
The company is considering adding an additional branch in the next 6
months. Which solution meets these requirements with the Most
operational efficiency?
- A. Create an IP access control group rule with the list of public
addresses from the branch offices.
Associate the IP access control group with the WorkSpaces directory.
- B. Use AWS Firewall Manager to create a web ACL rule with an IPSET with
the list of public addresses from the branch office locations.
Associate the web ACL with the WorkSpaces directory.
- C. USE AWS Certificate Manager (ACM) to issue trusted device
certificates to the machine deployed in the branch office locations.
Enable restricted access on the WorkSpaces directory.
- D. Create a custom WorkSpaces image with Windows Firewall configured to
restrict configured access to the public address of the branch offices.
Use the image to deploy the Workspace.
View question →