ExamGecko
Home Home / Amazon / SOA-C02

Amazon SOA-C02 Practice Test - Questions Answers, Page 41

Question list
Search
Search

List of questions

Search

Related questions











To manage Auto Scaling group instances that have OS vulnerabilities, the SysOps administrator needs an automated patching solution.

A.

Use AWS Systems Manager Patch Manager to patch the instances during a scheduled maintenance window. In the AWS-RunPatchBaseline document, ensure that the RebootOption parameter is set to RebootIfNeeded.

A.

Use AWS Systems Manager Patch Manager to patch the instances during a scheduled maintenance window. In the AWS-RunPatchBaseline document, ensure that the RebootOption parameter is set to RebootIfNeeded.

Answers
B.

Use EC2 Image Builder pipelines on a schedule to create new Amazon Machine Images (AMIs) and new launch templates that reference the new AMIs. Use the instance refresh feature for EC2 Auto Scaling to replace instances.

B.

Use EC2 Image Builder pipelines on a schedule to create new Amazon Machine Images (AMIs) and new launch templates that reference the new AMIs. Use the instance refresh feature for EC2 Auto Scaling to replace instances.

Answers
C.

Use AWS Config to scan for operating system vulnerabilities and to patch instances when the instance status changes to NON_COMPLIANT. Send an Amazon Simple Notification Service (Amazon SNS) notification to an operations team to reboot the instances during off-peak hours.

C.

Use AWS Config to scan for operating system vulnerabilities and to patch instances when the instance status changes to NON_COMPLIANT. Send an Amazon Simple Notification Service (Amazon SNS) notification to an operations team to reboot the instances during off-peak hours.

Answers
D.

In the Auto Scaling launch template, provide an Amazon Machine Image (AMI) ID for an AWS-provided base image. Update the user data with a shell script to download and install patches.

D.

In the Auto Scaling launch template, provide an Amazon Machine Image (AMI) ID for an AWS-provided base image. Update the user data with a shell script to download and install patches.

Answers
Suggested answer: A

Explanation:

Using AWS Systems Manager Patch Manager with a maintenance window is a best practice for automating OS patch management across instances in an Auto Scaling group.

Patch Manager: Allows for scheduled patching according to maintenance windows, ensuring minimal impact on application uptime.

RebootOption parameter: Setting this to RebootIfNeeded ensures patches are applied fully when a reboot is required.

AWS-RunPatchBaseline: This document automates the patching process and can be customized based on compliance requirements.

The company is experiencing increased message load from the frontend to the backend, causing message loss due to backend capacity limitations.

A.

Redevelop the backend application as a series of AWS Lambda functions.

A.

Redevelop the backend application as a series of AWS Lambda functions.

Answers
B.

Implement an Amazon Kinesis data stream to replace the backend application.

B.

Implement an Amazon Kinesis data stream to replace the backend application.

Answers
C.

Implement an Application Load Balancer to distribute message traffic across the backend application instances.

C.

Implement an Application Load Balancer to distribute message traffic across the backend application instances.

Answers
D.

Implement an Amazon Simple Queue Service (Amazon SQS) queue between the frontend and backend components.

D.

Implement an Amazon Simple Queue Service (Amazon SQS) queue between the frontend and backend components.

Answers
Suggested answer: D

Explanation:

To handle the increased message load with minimal operational effort, implementing an Amazon Simple Queue Service (SQS) queue between the frontend and backend is an ideal solution. SQS decouples the frontend and backend by queuing messages, enabling the backend to process messages at its own pace without losing any.

SQS Queue: Acts as a buffer, ensuring messages are not lost if the backend application cannot immediately process them.

Decoupling: With SQS, the frontend can continue sending messages without concern for the backend's processing speed, providing a scalable solution with minimal management requirements.

Low Operational Overhead: SQS is fully managed, reducing the need for infrastructure management.

The SysOps administrator finds that users can no longer download a file from an S3 presigned URL after a few days.

A.

The presigned URL's expiration date and time have passed.

A.

The presigned URL's expiration date and time have passed.

Answers
B.

The SysOps administrator's access key is no longer valid.

B.

The SysOps administrator's access key is no longer valid.

Answers
C.

The S3 bucket's Block Public Access settings are enabled.

C.

The S3 bucket's Block Public Access settings are enabled.

Answers
D.

The S3 object's ACL does not include READ access for the All Users group.

D.

The S3 object's ACL does not include READ access for the All Users group.

Answers
E.

The S3 object's ACL does not include READ_ACP access for the All Users group.

E.

The S3 object's ACL does not include READ_ACP access for the All Users group.

Answers
Suggested answer: A, B

Explanation:

Several factors can affect the availability of an S3 object through a presigned URL:

Expiration of Presigned URL: A presigned URL is valid only until its specified expiration time. Once expired, it becomes inaccessible.

Invalid Access Key: If the access key of the SysOps administrator who generated the presigned URL is revoked or rotated, the URL will no longer be valid.

Other options like enabling Block Public Access or changing the object ACL to All Users are not necessary for presigned URLs, as these URLs temporarily grant access regardless of public bucket settings.

A SysOps administrator needs EC2 instances in a VPC to resolve DNS names for hosts in an on-premises data center.

A.

Create an Amazon Route 53 private hosted zone. Populate the zone with the hostnames and IP addresses of the hosts in the on-premises data center.

A.

Create an Amazon Route 53 private hosted zone. Populate the zone with the hostnames and IP addresses of the hosts in the on-premises data center.

Answers
B.

Create an Amazon Route 53 Resolver outbound endpoint. Add the IP addresses of an on-premises DNS server for the domain names that need to be forwarded.

B.

Create an Amazon Route 53 Resolver outbound endpoint. Add the IP addresses of an on-premises DNS server for the domain names that need to be forwarded.

Answers
C.

Set up a forwarding rule for reverse DNS queries in Amazon Route 53 Resolver. Set the enableDnsHostnames attribute to true for the VPC.

C.

Set up a forwarding rule for reverse DNS queries in Amazon Route 53 Resolver. Set the enableDnsHostnames attribute to true for the VPC.

Answers
D.

Add the hostnames and IP addresses for the on-premises hosts to the /etc/hosts file of each EC2 instance.

D.

Add the hostnames and IP addresses for the on-premises hosts to the /etc/hosts file of each EC2 instance.

Answers
Suggested answer: B

Explanation:

The most efficient way to enable DNS resolution between the VPC and the on-premises environment is by configuring a Route 53 Resolver outbound endpoint.

Route 53 Resolver Outbound Endpoint: This enables the VPC to forward DNS queries to the on-premises DNS server, which can resolve internal hostnames.

Minimal Maintenance: This solution is scalable and requires minimal ongoing maintenance compared to manual entries or creating and managing a large number of DNS entries manually.

To address recurring application crashes due to a memory leak, the SysOps administrator needs to implement a temporary reboot solution outside of business hours.

A.

Create an Amazon EventBridge rule that is scheduled to run outside of business hours. Configure the rule to invoke the StartInstances operation on the EC2 instances.

A.

Create an Amazon EventBridge rule that is scheduled to run outside of business hours. Configure the rule to invoke the StartInstances operation on the EC2 instances.

Answers
B.

Use AWS Systems Manager to create a daily maintenance window that is outside of business hours. Register the EC2 instances as a target. Assign the AWS-RestartEC2Instance runbook to the maintenance window.

B.

Use AWS Systems Manager to create a daily maintenance window that is outside of business hours. Register the EC2 instances as a target. Assign the AWS-RestartEC2Instance runbook to the maintenance window.

Answers
C.

Configure an additional CloudWatch alarm to monitor the StatusCheckFailed_System metric for the EC2 instances. Configure an EC2 action on the additional alarm to reboot the instances.

C.

Configure an additional CloudWatch alarm to monitor the StatusCheckFailed_System metric for the EC2 instances. Configure an EC2 action on the additional alarm to reboot the instances.

Answers
D.

Configure an additional CloudWatch alarm that is triggered every time the application crashes. Configure an EC2 action on the additional alarm to restart the application on the EC2 instances.

D.

Configure an additional CloudWatch alarm that is triggered every time the application crashes. Configure an EC2 action on the additional alarm to restart the application on the EC2 instances.

Answers
Suggested answer: B

Explanation:

Using AWS Systems Manager to schedule a maintenance window for restarting EC2 instances outside business hours provides a straightforward and automated approach.

AWS Systems Manager Maintenance Window: Allows for daily scheduling, ensuring that restarts occur consistently outside of business hours.

AWS-RestartEC2Instance Runbook: This runbook can be assigned to the maintenance window, automating the reboot process and minimizing manual intervention.

Reduced Disruption: The scheduled restart ensures the application remains operational during business hours.

The SysOps administrator needs to configure a website for CloudFront when the DNS CNAME record points to an S3 URL instead of CloudFront.

A.

Disable S3 Block Public Access on the S3 bucket.

A.

Disable S3 Block Public Access on the S3 bucket.

Answers
B.

Create an S3 access point in the same AWS Region where the S3 bucket is located. Configure the access point policy to allow CloudFront to read from the S3 bucket. Point the CNAME record to the S3 access point name.

B.

Create an S3 access point in the same AWS Region where the S3 bucket is located. Configure the access point policy to allow CloudFront to read from the S3 bucket. Point the CNAME record to the S3 access point name.

Answers
C.

Modify the value of the DNS CNAME record to be arn:aws:s3:::example-com-website-files instead of the S3 URI.

C.

Modify the value of the DNS CNAME record to be arn:aws:s3:::example-com-website-files instead of the S3 URI.

Answers
D.

Modify the value of the DNS CNAME record to be dllllllabcdef8.cloudfront.net instead of the S3 URI.

D.

Modify the value of the DNS CNAME record to be dllllllabcdef8.cloudfront.net instead of the S3 URI.

Answers
Suggested answer: D

Explanation:

To correctly route traffic through CloudFront, the CNAME record should point to the CloudFront distribution's domain (dllllllabcdef8.cloudfront.net). This ensures that requests reach CloudFront first, which then forwards them to the S3 bucket as configured.

Correcting the DNS Record: Changing the DNS CNAME record to point to the CloudFront distribution ensures that all requests go through CloudFront, leveraging its caching and content delivery capabilities.

No Need to Modify S3 Bucket: Since CloudFront accesses the S3 origin through its identity, there's no need to disable S3 Block Public Access.

The SysOps administrator needs to complete the KMS key policy for least privilege read access for the DataEngineer role to decrypt S3 objects encrypted with a KMS key.

A.

'kms:ReEncrypt', 'kms:GenerateDataKey*', 'kms:Encrypt', 'kms:DescribeKey'

A.

'kms:ReEncrypt', 'kms:GenerateDataKey*', 'kms:Encrypt', 'kms:DescribeKey'

Answers
B.

'kms:ListAliases', 'kms:GetKeyPolicy', 'kms:Describe*', 'kms:Decrypt'

B.

'kms:ListAliases', 'kms:GetKeyPolicy', 'kms:Describe*', 'kms:Decrypt'

Answers
C.

'kms:ListAliases', 'kms:DescribeKey', 'kms:Decrypt'

C.

'kms:ListAliases', 'kms:DescribeKey', 'kms:Decrypt'

Answers
D.

'kms:Update*', 'kms:TagResource', 'kms:Revoke*', 'kms:Put*', 'kms:List*', 'kms:Get*', 'kms:Enable*', 'kms:Disable*', 'kms:Describe*', 'kms:Delete*', 'kms:Create*', 'kms:CancelKeyDeletion'

D.

'kms:Update*', 'kms:TagResource', 'kms:Revoke*', 'kms:Put*', 'kms:List*', 'kms:Get*', 'kms:Enable*', 'kms:Disable*', 'kms:Describe*', 'kms:Delete*', 'kms:Create*', 'kms:CancelKeyDeletion'

Answers
Suggested answer: C

Explanation:

To enable decryption of objects, the role only requires minimal permissions with least privilege:

kms

: Necessary for reading and decrypting the data encrypted with KMS.

kms

: Allows the role to check key properties, confirming it's the correct key for decryption.

kms

: Useful if multiple keys are in use and validation against an alias is needed.

These permissions are sufficient for decryption without granting additional permissions like encryption or key management.

The SysOps administrator needs to address high disk I/O issues during EC2 instance bootstrap in an Auto Scaling group.

A.

Increase the EC2 instance size.

A.

Increase the EC2 instance size.

Answers
B.

Increase the EBS volume capacity.

B.

Increase the EBS volume capacity.

Answers
C.

Increase the EBS volume IOPS.

C.

Increase the EBS volume IOPS.

Answers
D.

Increase the EBS volume throughput.

D.

Increase the EBS volume throughput.

Answers
E.

Change the instance type to an instance that is not Nitro-based.

E.

Change the instance type to an instance that is not Nitro-based.

Answers
Suggested answer: C, D

Explanation:

To resolve issues with high disk I/O during the bootstrap process:

Increase EBS Volume IOPS: Higher IOPS allows the EBS volume to handle more input/output operations per second, which is critical for high I/O demands like downloading large Docker images.

Increase EBS Volume Throughput: Boosting throughput allows for faster data transfer rates, which is useful when the workload requires sustained high data throughput during initialization.

Increasing the instance size or changing the instance type is not necessary if the root cause is related specifically to EBS performance. Nitro instances generally provide higher performance and are well-suited for high I/O tasks.

To configure central configuration for Security Hub in an AWS Organization, the SysOps administrator must ensure it's set up centrally.

A.

Enable Security Hub in the organization's management account. Configure Security Hub central configuration.

A.

Enable Security Hub in the organization's management account. Configure Security Hub central configuration.

Answers
B.

Enable Security Hub in the organization's management account. Configure and integrate AWS Trusted Advisor. Configure Security Hub from an opt-in Region.

B.

Enable Security Hub in the organization's management account. Configure and integrate AWS Trusted Advisor. Configure Security Hub from an opt-in Region.

Answers
C.

Delegate an AWS account that is not the organization's management account as the Security Hub administrator. Configure Security Hub central configuration.

C.

Delegate an AWS account that is not the organization's management account as the Security Hub administrator. Configure Security Hub central configuration.

Answers
D.

Delegate an AWS account that is not the organization's management account as the Security Hub administrator. Configure and integrate AWS Trusted Advisor. Configure Security Hub from an opt-in Region.

D.

Delegate an AWS account that is not the organization's management account as the Security Hub administrator. Configure and integrate AWS Trusted Advisor. Configure Security Hub from an opt-in Region.

Answers
Suggested answer: C

Explanation:

To centrally manage Security Hub across an organization, AWS allows you to delegate a member account as the Security Hub administrator. This enables centralized configuration and security insights without directly using the management account, which is a best practice.

Delegating a Non-Management Account: AWS recommends using a designated Security Hub administrator account (different from the management account) for central security configurations.

Security Hub Central Configuration: Configuring Security Hub in this manner ensures that security findings from all member accounts are consolidated and manageable from the designated administrator account.

A SysOps administrator must implement a limited rollout of a new version of the website to 20% of customers using Amazon Route 53.

A.

Create a target group in Route 53. Set the routing algorithm to Weighted. Configure a weight of 80 for the original resource. Configure a weight of 20 for the new resource.

A.

Create a target group in Route 53. Set the routing algorithm to Weighted. Configure a weight of 80 for the original resource. Configure a weight of 20 for the new resource.

Answers
B.

Create a weighted routing policy. Configure a weight of 80 for the record that points to the original resource. Configure a weight of 20 for the record that points to the new resource.

B.

Create a weighted routing policy. Configure a weight of 80 for the record that points to the original resource. Configure a weight of 20 for the record that points to the new resource.

Answers
C.

Create a multivalue answer routing policy. Configure a weight of 80 for the record that points to the original resource. Configure a weight of 20 for the record that points to the new resource. Enable session affinity (sticky sessions).

C.

Create a multivalue answer routing policy. Configure a weight of 80 for the record that points to the original resource. Configure a weight of 20 for the record that points to the new resource. Enable session affinity (sticky sessions).

Answers
D.

Create a failover routing policy. Configure 80% of the website traffic to go to the original resource. Configure the remaining 20% of traffic as the failover record that points to the new resource.

D.

Create a failover routing policy. Configure 80% of the website traffic to go to the original resource. Configure the remaining 20% of traffic as the failover record that points to the new resource.

Answers
Suggested answer: B

Explanation:

Weighted routing in Route 53 allows you to direct a percentage of traffic to different resources by configuring specific weights. For this requirement, you can:

Weighted Routing Policy: This is the most suitable approach for gradually rolling out a new version by controlling traffic distribution.

Weight Configuration: Setting a weight of 80 for the original resource and 20 for the new resource ensures that 80% of the traffic continues to go to the existing version, while 20% is directed to the new version.

Other routing policies, such as failover and multivalue answer, are not intended for traffic distribution based on percentage; they serve different use cases.

Total 425 questions
Go to page: of 43