Amazon SOA-C02 Practice Test - Questions Answers, Page 42
List of questions
Related questions
A SysOps administrator needs to share a new AMI with all accounts within an organization managed through AWS Organizations.
Make the AMI public. Reference the AMI ID from within the member accounts of the organization.
Share the AMI's associated snapshots with all the accounts in the organization.
Share the AMI with the organization by specifying the organization Amazon Resource Name (ARN).
Upload the AMI to AWS Marketplace. Search for the uploaded AMI when an instance is launched from a member account in the organization.
The SysOps administrator must modify the AWS Config rule that deletes noncompliant SSH inbound rules to update the rule to allow SSH from specific trusted IP addresses instead.
Create a new AWS Systems Manager Automation runbook that adds an IP set to the security group's inbound rule. Update the AWS Config rule to change the automatic remediation action to use the new runbook.
Create a new AWS Systems Manager Automation runbook that updates the security group's inbound rule with the IP addresses from the business units. Update the AWS Config rule to change the automatic remediation action to use the new runbook.
Create an AWS Lambda function that adds an IP set to the security group's inbound rule. Update the AWS Config rule to change the automatic remediation action to use the Lambda function.
Create an AWS Lambda function that updates the security group's inbound rule with the IP addresses from the business units. Update the AWS Config rule to change the automatic remediation action to use the Lambda function.
The company wants to use three On-Demand Instances at all times and additional three Spot Instances when prices drop to a specific threshold, ensuring high availability with minimal management overhead.
Configure a launch template for the Spot Instances. Set the maximum price for the Spot Instances. Configure another launch template for the On-Demand Instances.
Configure a launch template that uses the InstanceMarketOptions property for the Spot Instances and the On-Demand Instances. Set the maximum price for the Spot Instances.
Configure a launch template that uses the MixedInstancesPolicy property for the Spot Instances and the On-Demand Instances. Set the maximum price for the Spot Instances.
Configure a launch template that uses the InstanceMarketOptions property and the MixedInstancesPolicy property for the Spot Instances and the On-Demand Instances. Set the maximum price for the Spot Instances.
The SysOps administrator needs to prevent any account within an AWS Organization from leaving the organization.
Create a service control policy (SCP) that denies the LeaveOrganization action. Apply the SCP to the root organizational unit (OU).
Create a service control policy (SCP) that denies the RemoveAccountFromOrganization action. Apply the SCP to the root organizational unit (OU).
Deploy an AWS Lambda function in each member account to remove any Organizations permissions when a user is created.
Turn on AWS Config. Set up the account-part-of-organizations managed rule. Configure the rule to run every hour.
The company's ecommerce website running on EC2 instances behind an ALB intermittently returns HTTP 500 errors. The Auto Scaling group is only using EC2 status checks.
Replace the ALB with a Network Load Balancer.
Add Elastic Load Balancing (ELB) health checks to the Auto Scaling group.
Update the target group configuration on the ALB. Enable session affinity (sticky sessions).
Install the Amazon CloudWatch agent on all the instances. Configure the agent to reboot the instances.
The company needs a solution to provide failover for a Single-AZ RDS for MySQL DB instance to minimize application downtime.
Modify the DB instance to be a Multi-AZ DB instance deployment.
Add a read replica in the same Availability Zone where the DB instance is deployed.
Add the DB instance to an Auto Scaling group that has a minimum capacity of 2 and a desired capacity of 2.
Use RDS Proxy to configure a proxy in front of the DB instance.
The company's security team needs to consolidate Security Hub findings to reduce duplicate notifications for the same misconfigurations.
Turn on consolidated control findings in the Security Hub delegated administrator account.
Export the Security Hub findings. Consolidate the findings based on control ID. Visualize the findings in Amazon QuickSight.
Set up an AWS Config aggregator instead of Security Hub. Deploy a custom conformance pack by consolidating AWS Config rules.
Launch an Amazon EC2 instance in the organization's management account. Configure a custom script to assume a role in each linked account to extract and consolidate findings from the accounts.
The SysOps administrator must dynamically reference the latest AMI ID from Systems Manager Parameter Store in CloudFormation templates for new AMI versions.
Create a new Systems Manager parameter to store the AMI value in the standard parameter tier.
Create a new Systems Manager parameter to store the AMI value in the advanced parameter tier.
Enable trusted access with Organizations.
Enable resource sharing with Organizations.
Create a resource share by using AWS Resource Access Manager (AWS RAM). Specify the new parameter as the resource. Specify the entire organization as the principal.
Create an Amazon EventBridge rule that invokes an AWS Lambda function when a new AMI is published. Program the Lambda function to assume an IAM role in all linked accounts and to update Parameter Store with the new AMI ID.
The company wants to improve the security and high availability of a two-tier web application that was rehosted to AWS, currently in a single Availability Zone.
Place the web-tier instances in an Auto Scaling group. Configure the Auto Scaling group to support a Multi-AZ deployment into private subnets that are behind an internet-facing Application Load Balancer.
Place the web-tier instances in an Auto Scaling group. Configure the Auto Scaling group in multiple AWS Regions. Deploy the EC2 instances into private subnets that are behind an internet-facing Application Load Balancer.
Launch an additional EC2 instance to host SQL Server. Place the new database EC2 instance in a second AWS Region. Enable replication between the two database EC2 instances.
Use AWS Database Migration Service (AWS DMS) to migrate the database EC2 instance to Amazon RDS for SQL Server with Multi-AZ Database Mirroring (DBM).
Use AWS Database Migration Service (AWS DMS) to migrate the database EC2 instance to Amazon DynamoDB.
The company needs EC2 instances in the VPC to resolve DNS names for on-premises hosts using Direct Connect.
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.
Question