SAP-C02 第 304 题
题目
A solutions architect is determining the DNS strategy for an existing VPC. The VPC is provisioned to use the 10.24.34.0/24 CIDR block. The VPC also uses Amazon Route 53 Resolver for DNS. New requirements mandate that DNS queries must use private hosted zones. Additionally instances that have public IP addresses must receive corresponding public hostnames Which solution will meet these requirements to ensure that the domain names are correctly resolved within the VPC?
中文翻译:
解决方案架构师正在确定现有 VPC 的 DNS 策略。 VPC 配置为使用 10.24.34.0/24 CIDR 块。 VPC 还使用 Amazon Route 53 Resolver 作为 DNS。新要求强制 DNS 查询必须使用私有托管区域。此外,具有公共 IP 地址的实例必须接收相应的公共主机名。哪种解决方案将满足这些要求,以确保域名在 VPC 内正确解析?
选项
A. Create a private hosted zone. Activate the enableDnsSupport attribute and the enableDnsHostnames attribute for the VPC. Update the VPC DHCP options set to include domain-name-servers=10.24.34.2. domain-name-servers=10.24.34.2。
中文翻译:
创建私有托管区域。激活VPC的enableDnsSupport属性和enableDnsHostnames属性。更新 VPC DHCP 选项集以包括domain-name-servers=10.24.34.2。域名服务器=10.24.34.2。
B. Create a private hosted zone Associate the private hosted zone with the VPC. Activate the enableDnsSupport attribute and the enableDnsHostnames attribute for the VPC. Create a new VPC DHCP options set, and configure domain-name- servers=AmazonProvidedDNS. Associate the new DHCP options set with the VPC.
中文翻译:
创建私有托管区域 将私有托管区域与VPC 关联。激活VPC的enableDnsSupport属性和enableDnsHostnames属性。创建新的 VPC DHCP 选项集,并配置domain-name-servers=AmazonProvidedDNS。将新的 DHCP 选项集与 VPC 关联。
C. Deactivate the enableDnsSupport attribute for the VPActivate the enableDnsHostnames attribute for the VPC. Create a new VPC DHCP options set, and configure doman-name-servers=10.24.34.2. Associate the new DHCP options set with the VPC.
中文翻译:
停用 VP 的enableDnsSupport 属性激活VPC 的enableDnsHostnames 属性。创建新的 VPC DHCP 选项集,并配置 doman-name-servers=10.24.34.2。将新的 DHCP 选项集与 VPC 关联。
D. Create a private hosted zone. Associate the private hosted zone with the VPC. Activate the enableDnsSupport attribute for the VPC. Deactivate the enableDnsHostnames attribute for the VPC. Update the VPC DHCP options set to include domain- name-servers=AmazonProvidedDNS.
中文翻译:
创建私有托管区域。将私有托管区域与 VPC 关联。激活VPC的enableDnsSupport属性。停用 VPC 的enableDnsHostnames 属性。更新 VPC DHCP 选项集以包括domain-name-servers=AmazonProvidedDNS。
答案
B
解析
正确答案:B 解析: 本题应选择 B。 正确选项: B. 创建私有托管区域 将私有托管区域与VPC 关联。激活VPC的enableDnsSupport属性和enableDnsHostnames属性。创建新的 VPC DHCP 选项集,并配置domain-name-servers=AmazonProvidedDNS。将新的 DHCP 选项集与 VPC 关联。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要...