Amazon SOA-C02 Practice Test - Questions Answers, Page 41
List of questions
Related questions
To manage Auto Scaling group instances that have OS vulnerabilities, the SysOps administrator needs an automated patching solution.
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.
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.
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.
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.
The company is experiencing increased message load from the frontend to the backend, causing message loss due to backend capacity limitations.
Redevelop the backend application as a series of AWS Lambda functions.
Implement an Amazon Kinesis data stream to replace the backend application.
Implement an Application Load Balancer to distribute message traffic across the backend application instances.
Implement an Amazon Simple Queue Service (Amazon SQS) queue between the frontend and backend components.
The SysOps administrator finds that users can no longer download a file from an S3 presigned URL after a few days.
The presigned URL's expiration date and time have passed.
The SysOps administrator's access key is no longer valid.
The S3 bucket's Block Public Access settings are enabled.
The S3 object's ACL does not include READ access for the All Users group.
The S3 object's ACL does not include READ_ACP access for the All Users group.
A SysOps administrator needs EC2 instances in a VPC to resolve DNS names for hosts in an on-premises data center.
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.
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.
Set up a forwarding rule for reverse DNS queries in Amazon Route 53 Resolver. Set the enableDnsHostnames attribute to true for the VPC.
Add the hostnames and IP addresses for the on-premises hosts to the /etc/hosts file of each EC2 instance.
To address recurring application crashes due to a memory leak, the SysOps administrator needs to implement a temporary reboot solution outside of business hours.
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.
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.
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.
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.
The SysOps administrator needs to configure a website for CloudFront when the DNS CNAME record points to an S3 URL instead of CloudFront.
Disable S3 Block Public Access on the S3 bucket.
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.
Modify the value of the DNS CNAME record to be arn:aws:s3:::example-com-website-files instead of the S3 URI.
Modify the value of the DNS CNAME record to be dllllllabcdef8.cloudfront.net instead of the S3 URI.
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.
'kms:ReEncrypt', 'kms:GenerateDataKey*', 'kms:Encrypt', 'kms:DescribeKey'
'kms:ListAliases', 'kms:GetKeyPolicy', 'kms:Describe*', 'kms:Decrypt'
'kms:ListAliases', 'kms:DescribeKey', 'kms:Decrypt'
'kms:Update*', 'kms:TagResource', 'kms:Revoke*', 'kms:Put*', 'kms:List*', 'kms:Get*', 'kms:Enable*', 'kms:Disable*', 'kms:Describe*', 'kms:Delete*', 'kms:Create*', 'kms:CancelKeyDeletion'
The SysOps administrator needs to address high disk I/O issues during EC2 instance bootstrap in an Auto Scaling group.
Increase the EC2 instance size.
Increase the EBS volume capacity.
Increase the EBS volume IOPS.
Increase the EBS volume throughput.
Change the instance type to an instance that is not Nitro-based.
To configure central configuration for Security Hub in an AWS Organization, the SysOps administrator must ensure it's set up centrally.
Enable Security Hub in the organization's management account. Configure Security Hub central configuration.
Enable Security Hub in the organization's management account. Configure and integrate AWS Trusted Advisor. Configure Security Hub from an opt-in Region.
Delegate an AWS account that is not the organization's management account as the Security Hub administrator. Configure Security Hub central configuration.
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.
A SysOps administrator must implement a limited rollout of a new version of the website to 20% of customers using Amazon Route 53.
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.
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.
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).
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.
Question