SAP-C02 第 316 题
题目
A software company needs to create short-lived test environments to test pull requests as part of its development process. Each test environment consists of a single Amazon EC2 instance that is in an Auto Scaling group. The test environments must be able to communicate with a central server to report test results. The central server is located in an on-premises data center. A solutions architect must implement a solution so that the company can create and delete test environments without any manual intervention. The company has created a transit gateway with a VPN attachment to the on- premises network. Which solution will meet these requirements with the LEAST operational overhead?
中文翻译:
软件公司需要创建短期测试环境来测试拉取请求,作为其开发过程的一部分。每个测试环境均包含 Auto Scaling 组中的单个 Amazon EC2 实例。测试环境必须能够与中央服务器通信以报告测试结果。中央服务器位于本地数据中心。解决方案架构师必须实施解决方案,以便公司无需任何手动干预即可创建和删除测试环境。该公司创建了一个带有 VPN 连接到本地网络的中转网关。哪种解决方案能够以最少的运营开销满足这些要求?
选项
A. Create an AWS CloudFormation template that contains a transit gateway attachment and related routing configurations. Create a CloudFormation stack set that includes this template. Use CloudFormation StackSets to deploy a new stack for each VPC in the account. Deploy a new VPC for each test environment.
中文翻译:
创建包含中转网关附件和相关路由配置的 AWS CloudFormation 模板。创建包含此模板的 CloudFormation 堆栈集。使用 CloudFormation StackSets 为账户中的每个 VPC 部署新堆栈。为每个测试环境部署新的 VPC。
B. Create a single VPC for the test environments. Include a transit gateway attachment and related routing configurations. Use AWS CloudFormation to deploy all test environments into the VPC.
中文翻译:
为测试环境创建单个 VPC。包括中转网关连接和相关路由配置。使用 AWS CloudFormation 将所有测试环境部署到 VPC 中。
C. Create a new OU in AWS Organizations for testing. Create an AWS CioudFormation template that contains a VPC, necessary networking resources, a transit gateway attachment, and related routing configurations. Create a CloudFormation stack set that includes this template. Use CloudFormation StackSets for deployments into each account under the testing OU. Create a new account for each test environment.
中文翻译:
在 AWS Organizations 中创建新的 OU 进行测试。创建一个 AWS CioudFormation 模板,其中包含 VPC、必要的网络资源、中转网关附件和相关路由配置。创建包含此模板的 CloudFormation 堆栈集。使用 CloudFormation StackSets 部署到测试 OU 下的每个账户。为每个测试环境创建一个新帐户。
D. Convert the test environment EC2 instances into Docker images. Use AWS CloudFormation to configure an Amazon Elastic Kubernetes Service (Amazon EKS) cluster in a new VPC, create a transit gateway attachment, and create related routing configurations. Use Kubernetes to manage the deployment and lifecycle of the test environments.
中文翻译:
将测试环境EC2实例转换为Docker镜像。使用 AWS CloudFormation 在新 VPC 中配置 Amazon Elastic Kubernetes Service (Amazon EKS) 集群、创建中转网关附件并创建相关路由配置。使用 Kubernetes 管理测试环境的部署和生命周期。
答案
B
解析
正确答案:B 解析: 本题应选择 B。 正确选项: B. 为测试环境创建单个 VPC。包括中转网关连接和相关路由配置。使用 AWS CloudFormation 将所有测试环境部署到 VPC 中。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、可靠性、可扩展性、安全性、RTO/RPO、合规要求等。本题相关考点主要包括:Transit Gate...