ExamGecko
Home Home / Amazon / SAP-C01

Amazon SAP-C01 Practice Test - Questions Answers, Page 89

Question list
Search
Search

List of questions

Search

Related questions











A company has automated the nightly retraining ot its machine learning models by using AWS Step Functions. The workflow consists of multiple steps that use AWS Lambd a. 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.
A.
Create an Amazon Simple Notification Service {Amazon SNS) topic with a subscription of type "Email" that targets the team's mailing list.
Answers
B.
Create a task named "Email" that forwards the input arguments to the SNS topic
B.
Create a task named "Email" that forwards the input arguments to the SNS topic
Answers
C.
Add a Catch field to all Task. Map. and Parallel states that have a statement of "ErrorEquals": [ "states.all" ] and "Next": "Email".
C.
Add a Catch field to all Task. Map. and Parallel states that have a statement of "ErrorEquals": [ "states.all" ] and "Next": "Email".
Answers
D.
Add a new email address to Amazon Simple Email Service (Amazon SES). Verify the email address.
D.
Add a new email address to Amazon Simple Email Service (Amazon SES). Verify the email address.
Answers
E.
Create a task named "Email" that forwards the input arguments to the SES email address
E.
Create a task named "Email" that forwards the input arguments to the SES email address
Answers
F.
Add a Catch field to all Task, Map, and Parallel states that have a statement of "ErrorEquals": [ "states. Bun time" ] and "Next": "Email".
F.
Add a Catch field to all Task, Map, and Parallel states that have a statement of "ErrorEquals": [ "states. Bun time" ] and "Next": "Email".
Answers
Suggested answer: B, C, D

A company wants to migrate its workloads from on premises to AWS. The workloads run on Linux and Windows. The company has a large on-premises intra structure that consists of physical machines and VMs that host numerous applications.

The company must capture details about the system configuration. system performance. running processure and network coi.net lions of its o. -premises ,on boards. The company also must divide the on-premises applications into groups for AWS migrations. The company needs recommendations for Amazon EC2 instance types so that the company can run its workloads on AWS in the most costeffective manner. Which combination of steps should a solutions architect take to meet these requirements? (Select THREE.)

A.
Assess the existing applications by installing AWS Application Discovery Agent on the physical machines and VMs.
A.
Assess the existing applications by installing AWS Application Discovery Agent on the physical machines and VMs.
Answers
B.
Assess the existing applications by installing AWS Systems Manager Agent on the physical machines and VMs
B.
Assess the existing applications by installing AWS Systems Manager Agent on the physical machines and VMs
Answers
C.
Group servers into applications for migration by using AWS Systems Manager Application Manager.
C.
Group servers into applications for migration by using AWS Systems Manager Application Manager.
Answers
D.
Group servers into applications for migration by using AWS Migration Hub.
D.
Group servers into applications for migration by using AWS Migration Hub.
Answers
E.
Generate recommended instance types and associated costs by using AWS Migration Hub.
E.
Generate recommended instance types and associated costs by using AWS Migration Hub.
Answers
F.
Import data about server sizes into AWS Trusted Advisor. Follow the recommendations for cost optimization.
F.
Import data about server sizes into AWS Trusted Advisor. Follow the recommendations for cost optimization.
Answers
Suggested answer: B, D, F

A company is migrating an on-premises application and a MySQL database to AWS. The application processes highly sensitive data, and new data is constantly updated in the database. The data must not be transferred over the internet. The company also must encrypt the data in transit and at rest.

The database is 5 TB in size. The company already has created the database schema in an Amazon RDS for MySQL DB instance The company has set up a 1 Gbps AWS Direct Connect connection to AWS. The company also has set up a public VIF and a private VIF. A solutions architect needs to design a solution that will migrate the data to AWS with the least possible downtime Which solution will meet these requirements?

A.
Perform a database backup. Copy the backup files to an AWS Snowball Edge Storage Optimized device. Import the backup to Amazon S3. Use server-side encryption with Amazon S3 managed encryption keys (SSE-S3) for encryption at rest Use TLS for encryption in transit Import the data from Amazon S3 to the DB instance.
A.
Perform a database backup. Copy the backup files to an AWS Snowball Edge Storage Optimized device. Import the backup to Amazon S3. Use server-side encryption with Amazon S3 managed encryption keys (SSE-S3) for encryption at rest Use TLS for encryption in transit Import the data from Amazon S3 to the DB instance.
Answers
B.
Use AWS Database Migration Service (AWS DMS) to migrate the data to AWS. Create a DMS replication instance in a private subnet. Create VPC endpoints for AWS DMS. Configure a DMS task to copy data from the on-premises database to the DB instance by using full load plus change data capture (CDC). Use the AWS Key Management Service (AWS KMS) default key for encryption at rest. Use TLS for encryption in transit.
B.
Use AWS Database Migration Service (AWS DMS) to migrate the data to AWS. Create a DMS replication instance in a private subnet. Create VPC endpoints for AWS DMS. Configure a DMS task to copy data from the on-premises database to the DB instance by using full load plus change data capture (CDC). Use the AWS Key Management Service (AWS KMS) default key for encryption at rest. Use TLS for encryption in transit.
Answers
C.
Perform a database backup. Use AWS DataSync to transfer the backup files to Amazon S3 Use server-side encryption with Amazon S3 managed encryption keys (SSE-S3) for encryption at rest. Use TLS for encryption in transit Import the data from Amazon S3 to the DB instance.
C.
Perform a database backup. Use AWS DataSync to transfer the backup files to Amazon S3 Use server-side encryption with Amazon S3 managed encryption keys (SSE-S3) for encryption at rest. Use TLS for encryption in transit Import the data from Amazon S3 to the DB instance.
Answers
D.
Use Amazon S3 File Gateway Set up a private connection to Amazon S3 by using AWS PrivateLink.Perform a database backup. Copy the backup files to Amazon S3. Use server-side encryption with Amazon S3 managed encryption keys (SSE-S3) for encryption at rest. Use TLS for encryption in transit. Import the data from Amazon S3 to the DB instance.
D.
Use Amazon S3 File Gateway Set up a private connection to Amazon S3 by using AWS PrivateLink.Perform a database backup. Copy the backup files to Amazon S3. Use server-side encryption with Amazon S3 managed encryption keys (SSE-S3) for encryption at rest. Use TLS for encryption in transit. Import the data from Amazon S3 to the DB instance.
Answers
Suggested answer: D

A news company wants to implement an AWS Lambda function that calls an external API to receive new press releases every 10 minutes. The API provider Is planning to use an IP address allow list to protect the API. so the news company needs to provide any public IP addresses that access the API.

The company's current architecture includes a VPC with an internet gateway and a NAT gateway. A solutions architect must implement a static IP address for the Lambda function. Which combination of steps should the solutions architect take to meet these requirements? (Select TWO.)

A.
Use the Elastic IP address that is associated with the NAT gateway for the IP address allow list.
A.
Use the Elastic IP address that is associated with the NAT gateway for the IP address allow list.
Answers
B.
Assign an Elastic IP address to the Lambda function. Use the Lambda function's Elastic IP address for the IP address allow list.
B.
Assign an Elastic IP address to the Lambda function. Use the Lambda function's Elastic IP address for the IP address allow list.
Answers
C.
Configure the Lambda function to launch in the private subnet of the VPC.
C.
Configure the Lambda function to launch in the private subnet of the VPC.
Answers
D.
Configure the Lambda function to launch in the public subnet of the VPC.
D.
Configure the Lambda function to launch in the public subnet of the VPC.
Answers
E.
Create a transit gateway. Attach the VPC and the Lambda function to the transit gateway.
E.
Create a transit gateway. Attach the VPC and the Lambda function to the transit gateway.
Answers
Suggested answer: A, C

A company is running an application in the AWS Cloud. The company has several third-party services that integrate with the application through a RESTful API. The API is a serverless implementation with an Amazon API Gateway regional API endpoint that integrates with several different AWS Lambda functions.

The application's data is nonrelational and is stored in an Amazon DynamoDB table. The application and the API are running in the eu-west-1 Region. The company needs the API to also be available in the us-east-1 Region. All data must be available in both Regions. A solutions architect already has deployed all the Lambda functions in us-east-1 Which additional steps should the solutions architect take to meet these requirements? (Select TWO.)

A.
Deploy a second API Gateway regional API endpoint in us-east-1. Create Lambda integration with the functions in us-east-1.
A.
Deploy a second API Gateway regional API endpoint in us-east-1. Create Lambda integration with the functions in us-east-1.
Answers
B.
Enable DynamoDB Streams on the table in eu-west-1. Replicate all changes to a DynamoDB table in us-east-1
B.
Enable DynamoDB Streams on the table in eu-west-1. Replicate all changes to a DynamoDB table in us-east-1
Answers
C.
Modify the DynamoDB table to be a global table in eu-west-1 and in us-east-1.
C.
Modify the DynamoDB table to be a global table in eu-west-1 and in us-east-1.
Answers
D.
Change the API Gateway API endpoint in eu-west-1 to an edge-optimized endpoint. Create Lambda integration with the functions in both Regions.
D.
Change the API Gateway API endpoint in eu-west-1 to an edge-optimized endpoint. Create Lambda integration with the functions in both Regions.
Answers
E.
Create a DynamoDB read replica in us-east-1.
E.
Create a DynamoDB read replica in us-east-1.
Answers
Suggested answer: A, C

A company uses AWS Cloud Formation 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.
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.
Answers
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
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
Answers
C.
Create a dedicated transit gateway route table for each VPC attachment. Route traffic only to the authorized VPCs.
C.
Create a dedicated transit gateway route table for each VPC attachment. Route traffic only to the authorized VPCs.
Answers
D.
Update the main route table of each VPC to route traffic only to the authorized VPCs through the transit gateway.
D.
Update the main route table of each VPC to route traffic only to the authorized VPCs through the transit gateway.
Answers
Suggested answer: A

A company has developed a new billing application that will be released in two weeks. Developers are testing the application running on 10 EC2 instances managed by an Auto Scaling group in subnet 172.31.0.0/24 within VPC A with CIDR block 172.31.0.0/16. The developers noticed connection timeout errors in the application logs while connecting to an Oracle database running on an Amazon EC2 instance in the same region within VPC B with CIDR block 172.50.0.0/16. The IP of the database instance is hard-coded in the application instances.

Which recommendations should a solutions architect present to the developers to solve the problem in a secure way with minimal maintenance and overhead''

A.
Disable the SrcDestCheck attribute for all instances running the application and Oracle Database. Change the default route of VPC A to point ENI of the Oracle Database that has an IP address assigned within the range of 172.50.0.0/16
A.
Disable the SrcDestCheck attribute for all instances running the application and Oracle Database. Change the default route of VPC A to point ENI of the Oracle Database that has an IP address assigned within the range of 172.50.0.0/16
Answers
B.
Create and attach internet gateways for both VPCs. Configure default routes to the internet gateways for both VPCs. Assign an Elastic IP for each Amazon EC2 instance in VPC A
B.
Create and attach internet gateways for both VPCs. Configure default routes to the internet gateways for both VPCs. Assign an Elastic IP for each Amazon EC2 instance in VPC A
Answers
C.
Create a VPC peering connection between the two VPCs and add a route to the routing table of VPC A that points to the IP address range of 172.50.0.0/16
C.
Create a VPC peering connection between the two VPCs and add a route to the routing table of VPC A that points to the IP address range of 172.50.0.0/16
Answers
D.
Create an additional Amazon EC2 instance for each VPC as a customer gateway; create one virtual private gateway (VGW) for each VPC. configure an end-to-end VPC, and advertise the routes for 172.50.0.0/16
D.
Create an additional Amazon EC2 instance for each VPC as a customer gateway; create one virtual private gateway (VGW) for each VPC. configure an end-to-end VPC, and advertise the routes for 172.50.0.0/16
Answers
Suggested answer: C

A company recently deployed an application on AWS. The application uses Amazon DynamoDB. The company measured the application load and configured the RCUs and WCUs on the DynamoDB table to match the expected peak load. The peak load occurs once a week for a 4-hour period and is double the average load. The application load is close to the average load tor the rest of the week. The access pattern includes many more writes to the table than reads of the table.

A solutions architect needs to implement a solution to minimize the cost of the table.

Which solution will meet these requirements?

A.
Use AWS Application Auto Scaling to increase capacity during the peak period. Purchase reserved RCUs and WCUs to match the average load.
A.
Use AWS Application Auto Scaling to increase capacity during the peak period. Purchase reserved RCUs and WCUs to match the average load.
Answers
B.
Configure on-demand capacity mode for the table.
B.
Configure on-demand capacity mode for the table.
Answers
C.
Configure DynamoDB Accelerator (DAX) in front of the table. Reduce the provisioned read capacity to match the new peak load on the table.
C.
Configure DynamoDB Accelerator (DAX) in front of the table. Reduce the provisioned read capacity to match the new peak load on the table.
Answers
D.
Configure DynamoDB Accelerator (DAX) in front of the table. Configure on-demand capacity mode for the table.
D.
Configure DynamoDB Accelerator (DAX) in front of the table. Configure on-demand capacity mode for the table.
Answers
Suggested answer: D

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 Lambd a. 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.
A.
Purchase Reserved Instances for the organization to match the size and number of the most common EC2 instances from the member accounts.
Answers
B.
Purchase a Compute Savings Plan for the organization from the management account by using the recommendation at the management account level.
B.
Purchase a Compute Savings Plan for the organization from the management account by using the recommendation at the management account level.
Answers
C.
Purchase Reserved Instances for each member account that had high EC2 usage according to the data from the last 6 months.
C.
Purchase Reserved Instances for each member account that had high EC2 usage according to the data from the last 6 months.
Answers
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.
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.
Answers
Suggested answer: A

A company is running an application in the AWS Cloud. The company's security team must approve the creation of all new IAM users. When a new 1AM user is created, all access for the user must be removed automatically. The security team must then receive a notification to approve the user. The company has a multi-Region AWS CloudTrail trail In the AWS account. Which combination of steps will meet these requirements? (Select THREE.)

A.
Create an Amazon EventBridge (Amazon CloudWatch Events) rule. Define a pattern with the detail-type value set to AWS API Call via CloudTrail and an eventName of CreateUser.
A.
Create an Amazon EventBridge (Amazon CloudWatch Events) rule. Define a pattern with the detail-type value set to AWS API Call via CloudTrail and an eventName of CreateUser.
Answers
B.
Configure CloudTrail to send a notification for the CreateUser event to an Amazon Simple Notification Service (Amazon SNS) topic.
B.
Configure CloudTrail to send a notification for the CreateUser event to an Amazon Simple Notification Service (Amazon SNS) topic.
Answers
C.
Invoke a container that runs in Amazon Elastic Container Service (Amazon ECS) with AWS Fargate technology to remove access
C.
Invoke a container that runs in Amazon Elastic Container Service (Amazon ECS) with AWS Fargate technology to remove access
Answers
D.
Invoke an AWS Step Functions state machine to remove access.
D.
Invoke an AWS Step Functions state machine to remove access.
Answers
E.
Use Amazon Simple Notification Service (Amazon SNS) to notify the security team.
E.
Use Amazon Simple Notification Service (Amazon SNS) to notify the security team.
Answers
F.
Use Amazon Pinpoint to notify the security team.
F.
Use Amazon Pinpoint to notify the security team.
Answers
Suggested answer: A, B, E
Total 906 questions
Go to page: of 91