Question

Difficulty: EasyBilling, Cost Management, and Resource Sharing Strategy

A solutions architect is designing a resource sharing strategy for a multi-account environment. The architect needs to share a custom VPC subnet from a central network account to a partner company's AWS account, which is not part of the architect's AWS Organization. The architect attempts to use AWS Resource Access Manager (RAM) to share the subnet, but the process fails. Which configuration change is required to successfully share this subnet?

  1. A
    Attach a Service Control Policy (SCP) to the root of the AWS Organization that explicitly grants resource sharing permissions to the partner's AWS account ID.
  2. B
    Create the resource share directly using the partner's AWS account ID without modifying RAM settings, as RAM automatically permits sharing with any valid AWS account ID by default.
  3. Enable sharing with principals outside your organization in the AWS Resource Access Manager settings, and then create the resource share specifying the partner's AWS account ID.Answer
  4. D
    Modify the resource-based policy of the AWS-managed KMS key associated with the subnet to grant the partner's account access before creating the resource share in RAM.

Answer

Enable sharing with principals outside your organization in the AWS Resource Access Manager settings, and then create the resource share specifying the partner's AWS account ID.
The correct answer is to enable sharing with principals outside the organization in the AWS Resource Access Manager settings, and then share the subnet by specifying the partner's account ID. By default, AWS RAM only permits sharing within the same AWS Organization to prevent data leakage. Enabling this setting allows the principal to share supported resources with external accounts.

Step-by-Step Solution

1
Identify the sharing boundary restriction.
The target partner account is outside the current AWS Organization.
AWS Resource Access Manager (RAM) restricts resource sharing to the organization boundary by default to prevent accidental external exposure.
2
Enable external sharing in the AWS RAM settings.
External sharing is enabled, allowing resources to be shared with any valid AWS account ID.
Before you can share resources with AWS accounts outside your organization, you must explicitly opt-in by enabling external sharing in the RAM settings.
3
Create the resource share in AWS RAM.
The subnet is successfully shared with the partner's AWS account ID.
With external sharing enabled, you can specify the individual AWS account ID of the partner to complete the resource share.

Key Concept

AWS Resource Access Manager (RAM) allows sharing AWS resources across accounts, but sharing outside the AWS Organization requires enabling external sharing in RAM settings.
Rate this question