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 onpremises
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?
Show answerHide answer
Correct answer: CDeploy AWS loT 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 loT Core.
Question 2Choose 3
A company runs applications in hundreds of production AWS accounts. The company uses
AWS Organizations with all features enabled and has a centralized backup
operation that uses AWS Backup.
The company is concerned about ransomware attacks. To address this concern, the
company has created a new policy that all backups must be resilient to breaches of
privileged-user credentials in any production account.
Which combination of steps will meet this new requirement? (Select THREE.)
Show answerHide answer
Correct answer: A, B, CImplement cross-account backup with AWS Backup vaults in designated non-production
accounts.Add an SCP that restricts the modification of AWS Backup vaults.Implement AWS Backup Vault Lock in compliance mode.
Question 3Choose 1
A company is migrating its infrastructure to the AWS Cloud. The company must comply
with a variety of regulatory standards for different projects. The company needs a multiaccount
environment.
A solutions architect needs to prepare the baseline infrastructure. The solution must
provide a consistent baseline of management and security, but it must allow flexibility for
different compliance requirements within various AWS accounts. The solution also needs
to integrate with the existing on-premises Active Directory Federation Services (AD FS)
server.
Which solution meets these requirements with the LEAST amount of operational
overhead?
Show answerHide answer
Correct answer: BCreate an organization in AWS Organizations. Enable AWS Control Tower on the
organization. Review included controls (guardrails) for SCPs. Check AWS Config for areas
that require additions. Add OUS as necessary. Connect AWS IAM Identity Center (AWS
Single Sign-On) to the on-premises AD FS server.
Question 4Choose 1
A live-events company is designing a scaling solution for its ticket application on AWS. The
application has high peaks of utilization during sale events. Each sale event is a one-time
event that is scheduled.
The application runs on Amazon EC2 instances that are in an Auto Scaling group. The
application uses PostgreSOL for the database layer.
The company needs a scaling solution to maximize availability during the sale events.
Which solution will meet these requirements?
Show answerHide answer
Correct answer: DUse a scheduled scaling policy for the EC2 instances. Host the database on an Amazon
Aurora PostgreSQL Multi-AZ DB duster. Create an Amazon EventBridge rule that invokes an AWS Lambda function to create a larger Aurora Replica before a sale event. Fail over to
the larger Aurora Replica. Create another EventBridge rule that invokes another Lambda
function to scale down the Aurora Replica after the sale event.
Explanation
Explanation:
The correct answer is D. Use a scheduled scaling policy for the EC2 instances. Host the
database on an Amazon Aurora PostgreSQL Multi-AZ DB cluster. Create an Amazon
EventBridge rule that invokes an AWS Lambda function to create a larger Aurora Replica
before a sale event. Fail over to the larger Aurora Replica. Create another EventBridge rule
that invokes another Lambda function to scale down the Aurora Replica after the sale
event.
This solution will meet the requirements of maximizing availability during the sale events. A
scheduled scaling policy for the EC2 instances will allow the application to scale up and
down according to the predefined schedule of the sale events. Hosting the database on an
Amazon Aurora PostgreSQL Multi-AZ DB cluster will provide high availability and durability,
as well as compatibility with PostgreSQL. Creating an Amazon EventBridge rule that
invokes an AWS Lambda function to create a larger Aurora Replica before a sale event will
ensure that the database can handle the increased read traffic during the peak periods.
Failing over to the larger Aurora Replica will make it the primary instance, which will also
improve the write performance of the database. Creating another EventBridge rule that
invokes another Lambda function to scale down the Aurora Replica after the sale event will
reduce the cost and resources of the database.
Question 5Choose 1
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?
Show answerHide answer
Correct answer: BCreate 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.
Question 6Choose 1
A company has AWS accounts that are in an organization in AWS rganizations. The
company wants to track Amazon EC2 usage as a metric.
The company's architecture team must receive a daily alert if the EC2 usage is more than
10% higher than the average EC2 usage from the last 30 days.
Which solution will meet these requirements?
Show answerHide answer
Correct answer: BConfigure an alert to notify the architecture team if the usage threshold is met. Configure
AWS Cost Anomaly Detection in the organization's management account. Configure a
monitor type of AWS Service. Apply a filter of Amazon EC2. Configure an alert subscription
to notify the architecture team if the usage is 10% more than the average usage for the last
30 days.
Question 7Choose 2
A company wants to establish a dedicated connection between its on-premises
infrastructure and AWS. The company is setting up a 1 Gbps AWS Direct Connect connection to its account VPC. The architecture includes a transit gateway and a Direct
Connect gateway to connect multiple VPCs and the on-premises infrastructure.
The company must connect to VPC resources over a transit VIF by using the Direct
Connect connection.
Which combination of steps will meet these requirements? (Select TWO.)
Show answerHide answer
Correct answer: B, CAdvertise the on-premises network prefixes over the transit VIF.Adverse the VPC prefixes from the Direct Connect gateway to the on-premises network
over the transit VIF.
Explanation
Explanation:
To connect VPC resources over a transit Virtual Interface (VIF) using a Direct Connect
connection, the company should advertise the on-premises network prefixes over the
transit VIF and advertise the VPC prefixes from the Direct Connect gateway to the onpremises
network over the same VIF. This configuration ensures seamless connectivity
between the on-premises infrastructure and the AWS VPCs through the transit gateway,
facilitating efficient and secure communication across the network.
Question 8Choose 3
A company is using AWS Organizations with a multi-account architecture. The company's
current security configuration for the account architecture includes SCPs, resource-based
policies, identity-based policies, trust policies, and session policies.
A solutions architect needs to allow an IAM user in Account A to assume a role in Account B.
Which combination of steps must the solutions architect take to meet this requirement?
(Select THREE.)
Show answerHide answer
Correct answer: B, C, EConfigure the resource-based policies to allow the action.Configure the identity-based policy on the user in Account A to allow the action.Configure the trust policy on the target role in Account B to allow the action.
Question 9Choose 1
A company is running its solution on AWS in a manually created VPC. The company is
using AWS CloudFormation to provision other parts of the infrastructure According to a
new requirement the company must manage all infrastructure in an automatic way
What should the comp any do to meet this new requirement with the LEAST effort?
Show answerHide answer
Correct answer: CCreate a new CloudFormation template that strictly provisions the existing VPC
resources and configuration From the CloudFormation console, create a new stack by
importing the existing resources
Question 10Choose 2
A company is migrating a legacy application from an on-premises data center to AWS. The
application consists of a single application server and a Microsoft SQL
Server database server. Each server is deployed on a VMware VM that consumes 500 TB
of data across multiple attached volumes.
The company has established a 10 Gbps AWS Direct Connect connection from the closest
AWS Region to its on-premises data center. The Direct Connect connection is not currently
in use by other services.
Which combination of steps should a solutions architect take to migrate the application with
the LEAST amount of downtime? (Choose two.)
Show answerHide answer
Correct answer: A, DUse an AWS Server Migration Service (AWS SMS) replication job to migrate the
database server VM to AWS.Use an AWS Server Migration Service (AWS SMS) replication job to migrate the
application server VM to AWS.
Full mock exam
Sit the SAP-C02 exam before exam day
Full-length mocks with the same number of questions and the same time limit as the real SAP-C02 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.