ExamGecko
Home Home / Amazon / SOA-C02

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

Question list
Search
Search

List of questions

Search

Related questions











A SysOps administrator needs to share a new AMI with all accounts within an organization managed through AWS Organizations.

A.

Make the AMI public. Reference the AMI ID from within the member accounts of the organization.

A.

Make the AMI public. Reference the AMI ID from within the member accounts of the organization.

Answers
B.

Share the AMI's associated snapshots with all the accounts in the organization.

B.

Share the AMI's associated snapshots with all the accounts in the organization.

Answers
C.

Share the AMI with the organization by specifying the organization Amazon Resource Name (ARN).

C.

Share the AMI with the organization by specifying the organization Amazon Resource Name (ARN).

Answers
D.

Upload the AMI to AWS Marketplace. Search for the uploaded AMI when an instance is launched from a member account in the organization.

D.

Upload the AMI to AWS Marketplace. Search for the uploaded AMI when an instance is launched from a member account in the organization.

Answers
Suggested answer: C

Explanation:

The most operationally efficient solution is to use the organization ARN to share the AMI across all accounts within AWS Organizations.

AMI Sharing with Organization ARN: AWS allows you to share AMIs with an entire AWS Organization by specifying the organization's ARN, simplifying access management for multiple accounts.

Efficient Management: This approach eliminates the need to share AMIs individually with each account or make them public, and it avoids the complexity of using snapshots.

Making the AMI public is not secure, and using AWS Marketplace or snapshots does not provide the operational efficiency required.

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.

A.

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.

A.

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.

Answers
B.

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.

B.

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.

Answers
C.

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.

C.

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.

Answers
D.

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.

D.

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.

Answers
Suggested answer: B

Explanation:

Using a Systems Manager Automation runbook is appropriate for managing security group rules within the AWS Config remediation framework. A runbook provides a reusable, automated solution that can update the security group rule based on an IP list.

Automation Runbook for Security Group Updates: A runbook can automate security group modifications, such as adding the trusted IP addresses specified by the business units.

AWS Config Integration: Config rules can be set to use this runbook for automatic remediation, ensuring that the rule is updated without deleting it, which aligns with the requirement for SSH access from specific IPs.

Lambda functions could work but would require additional customization and complexity, making the runbook a more manageable and scalable solution for this task.

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.

A.

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.

A.

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.

Answers
B.

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.

B.

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.

Answers
C.

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.

C.

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.

Answers
D.

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.

D.

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.

Answers
Suggested answer: C

Explanation:

The MixedInstancesPolicy feature in Auto Scaling groups allows for the configuration of both On-Demand and Spot Instances within a single Auto Scaling group, balancing cost savings and high availability:

MixedInstancesPolicy: Enables configuration to maintain a minimum of three On-Demand Instances and add Spot Instances when prices drop, without the need to create separate launch templates.

Setting Maximum Spot Price: Ensures that additional Spot Instances are launched only when within the defined budget.

This solution offers the least management overhead, as it combines both On-Demand and Spot instances seamlessly in one configuration.

The SysOps administrator needs to prevent any account within an AWS Organization from leaving the organization.

A.

Create a service control policy (SCP) that denies the LeaveOrganization action. Apply the SCP to the root organizational unit (OU).

A.

Create a service control policy (SCP) that denies the LeaveOrganization action. Apply the SCP to the root organizational unit (OU).

Answers
B.

Create a service control policy (SCP) that denies the RemoveAccountFromOrganization action. Apply the SCP to the root organizational unit (OU).

B.

Create a service control policy (SCP) that denies the RemoveAccountFromOrganization action. Apply the SCP to the root organizational unit (OU).

Answers
C.

Deploy an AWS Lambda function in each member account to remove any Organizations permissions when a user is created.

C.

Deploy an AWS Lambda function in each member account to remove any Organizations permissions when a user is created.

Answers
D.

Turn on AWS Config. Set up the account-part-of-organizations managed rule. Configure the rule to run every hour.

D.

Turn on AWS Config. Set up the account-part-of-organizations managed rule. Configure the rule to run every hour.

Answers
Suggested answer: A

Explanation:

To prevent accounts from leaving an AWS Organization, an SCP that denies the LeaveOrganization action should be applied to the root organizational unit (OU).

Service Control Policy (SCP): By denying LeaveOrganization, member accounts are restricted from leaving the organization.

Root OU Application: Applying this policy at the root level ensures that no account in the organization can bypass it.

The RemoveAccountFromOrganization action pertains to removing an account by the organization's management account rather than preventing member accounts from leaving. AWS Config's account-part-of-organizations rule does not enforce this restriction but only monitors it.

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.

A.

Replace the ALB with a Network Load Balancer.

A.

Replace the ALB with a Network Load Balancer.

Answers
B.

Add Elastic Load Balancing (ELB) health checks to the Auto Scaling group.

B.

Add Elastic Load Balancing (ELB) health checks to the Auto Scaling group.

Answers
C.

Update the target group configuration on the ALB. Enable session affinity (sticky sessions).

C.

Update the target group configuration on the ALB. Enable session affinity (sticky sessions).

Answers
D.

Install the Amazon CloudWatch agent on all the instances. Configure the agent to reboot the instances.

D.

Install the Amazon CloudWatch agent on all the instances. Configure the agent to reboot the instances.

Answers
Suggested answer: B

Explanation:

Using ALB health checks in the Auto Scaling group will provide more accurate health monitoring and replace instances if they are unhealthy.

ALB Health Checks: Configure health checks based on HTTP response codes, which will detect application-level issues causing the HTTP 500 errors and replace instances as needed.

EC2 vs. ALB Health Checks: EC2 status checks only verify instance hardware and OS, not the application's responsiveness. By using ALB health checks, Auto Scaling can remove instances that are failing at the application level, thus preventing users from receiving 500 errors.

Replacing the ALB with a Network Load Balancer does not address HTTP 500 errors, and enabling session affinity does not resolve application health issues. The CloudWatch agent would not provide the required health check functionality for automated instance replacement.

The company needs a solution to provide failover for a Single-AZ RDS for MySQL DB instance to minimize application downtime.

A.

Modify the DB instance to be a Multi-AZ DB instance deployment.

A.

Modify the DB instance to be a Multi-AZ DB instance deployment.

Answers
B.

Add a read replica in the same Availability Zone where the DB instance is deployed.

B.

Add a read replica in the same Availability Zone where the DB instance is deployed.

Answers
C.

Add the DB instance to an Auto Scaling group that has a minimum capacity of 2 and a desired capacity of 2.

C.

Add the DB instance to an Auto Scaling group that has a minimum capacity of 2 and a desired capacity of 2.

Answers
D.

Use RDS Proxy to configure a proxy in front of the DB instance.

D.

Use RDS Proxy to configure a proxy in front of the DB instance.

Answers
Suggested answer: A

Explanation:

Modifying the DB instance to a Multi-AZ deployment is the recommended solution for failover and high availability in RDS. Multi-AZ RDS automatically provisions and maintains a synchronous standby replica in a different Availability Zone, allowing automatic failover in case of an instance or Availability Zone failure.

Multi-AZ Deployment: Provides resilience with automatic failover and minimizes application downtime.

No Application Changes Needed: Multi-AZ is managed by AWS, so the failover is transparent to the application.

Read replicas and Auto Scaling groups do not provide automatic failover for write operations, and RDS Proxy only improves connection management rather than high availability.

The company's security team needs to consolidate Security Hub findings to reduce duplicate notifications for the same misconfigurations.

A.

Turn on consolidated control findings in the Security Hub delegated administrator account.

A.

Turn on consolidated control findings in the Security Hub delegated administrator account.

Answers
B.

Export the Security Hub findings. Consolidate the findings based on control ID. Visualize the findings in Amazon QuickSight.

B.

Export the Security Hub findings. Consolidate the findings based on control ID. Visualize the findings in Amazon QuickSight.

Answers
C.

Set up an AWS Config aggregator instead of Security Hub. Deploy a custom conformance pack by consolidating AWS Config rules.

C.

Set up an AWS Config aggregator instead of Security Hub. Deploy a custom conformance pack by consolidating AWS Config rules.

Answers
D.

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.

D.

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.

Answers
Suggested answer: A

Explanation:

Enabling consolidated control findings in Security Hub reduces duplication by merging findings for similar controls across multiple standards. This reduces the operational burden of prioritizing remediation based on multiple copies of the same findings.

Consolidated Control Findings: Merges findings for controls across standards to avoid duplicates, providing a clearer view of misconfigurations without the need for additional infrastructure or manual processing.

Least Operational Overhead: This solution is managed within Security Hub without the need for external tools or manual exports.

Using AWS Config aggregators, QuickSight visualization, or custom EC2-based solutions would introduce additional complexity and overhead.

The SysOps administrator must dynamically reference the latest AMI ID from Systems Manager Parameter Store in CloudFormation templates for new AMI versions.

A.

Create a new Systems Manager parameter to store the AMI value in the standard parameter tier.

A.

Create a new Systems Manager parameter to store the AMI value in the standard parameter tier.

Answers
B.

Create a new Systems Manager parameter to store the AMI value in the advanced parameter tier.

B.

Create a new Systems Manager parameter to store the AMI value in the advanced parameter tier.

Answers
C.

Enable trusted access with Organizations.

C.

Enable trusted access with Organizations.

Answers
D.

Enable resource sharing with Organizations.

D.

Enable resource sharing with Organizations.

Answers
E.

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.

E.

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.

Answers
F.

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.

F.

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.

Answers
Suggested answer: A, D, E

Explanation:

To allow CloudFormation templates in all accounts within the organization to reference the latest AMI ID:

Parameter Store in Standard Tier: Storing the AMI ID in Systems Manager Parameter Store provides a central and easy-to-update source.

Enable Resource Sharing with Organizations: This allows the parameter to be shared across accounts in the organization.

Resource Share in AWS RAM: AWS Resource Access Manager (RAM) can be used to share the parameter with the entire organization, allowing other accounts to access the AMI ID.

Using the standard tier in Parameter Store is sufficient, and an EventBridge rule with Lambda for updating AMIs would add unnecessary complexity.

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.

A.

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.

A.

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.

Answers
B.

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.

B.

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.

Answers
C.

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.

C.

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.

Answers
D.

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).

D.

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).

Answers
E.

Use AWS Database Migration Service (AWS DMS) to migrate the database EC2 instance to Amazon DynamoDB.

E.

Use AWS Database Migration Service (AWS DMS) to migrate the database EC2 instance to Amazon DynamoDB.

Answers
Suggested answer: A, D

Explanation:

To improve security and availability, the best approach is to configure Multi-AZ for both the web and database tiers.

Multi-AZ Auto Scaling for Web Tier: Deploying the web-tier instances in an Auto Scaling group across multiple AZs with an internet-facing ALB provides high availability and fault tolerance.

RDS Multi-AZ for SQL Server: Migrating the SQL Server to RDS with Multi-AZ deployment ensures database redundancy and failover without additional management overhead.

Placing the web tier in multiple Regions would add unnecessary complexity, and migrating the database to DynamoDB is not suitable for applications requiring SQL Server's relational capabilities.

The company needs EC2 instances in the VPC to resolve DNS names for on-premises hosts using Direct Connect.

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:

Using a Route 53 Resolver outbound endpoint allows DNS queries for on-premises hosts to be forwarded to the on-premises DNS server over the Direct Connect connection, minimizing maintenance and automating name resolution without the need for manual entry or file management.

Total 425 questions
Go to page: of 43