{"id":341,"date":"2021-01-06T16:45:41","date_gmt":"2021-01-06T16:45:41","guid":{"rendered":"https:\/\/exampracticetests.com\/aws\/Solutions_Architect-Professional_SAP-C01\/aws-certified-solutions-architect-professional-sap-c01-question334\/"},"modified":"2021-01-06T16:45:41","modified_gmt":"2021-01-06T16:45:41","slug":"aws-certified-solutions-architect-professional-sap-c01-question334","status":"publish","type":"post","link":"https:\/\/exampracticetests.com\/aws\/Solutions_Architect-Professional_SAP-C01\/aws-certified-solutions-architect-professional-sap-c01-question334\/","title":{"rendered":"AWS Certified Solutions Architect &#8211; Professional SAP-C01 &#8211; Question334"},"content":{"rendered":"<div class=\"question\">A user has created a VPC with CIDR 20.0.0.0\/16 using the wizard. The user has created a public subnet CIDR (20.0.0.0\/24) and VPN only subnets CIDR (20.0.1.0\/24) along with the VPN gateway (vgw-123456) to connect to the user&#039;s data center. The user&#039;s data center has CIDR 172.28.0.0\/12. The user has also setup a NAT instance (i-123456) to allow traffic to the internet from the VPN subnet.<br \/>\nWhich of the below mentioned options is not a valid entry for the main route table in this scenario? <br \/><strong><br \/>A.<\/strong> Destination: 20.0.0.0\/16 and Target: local <br \/><strong>B.<\/strong> Destination: 0.0.0.0\/0 and Target: i-123456 <br \/><strong>C.<\/strong> Destination: 172.28.0.0\/12 and Target: vgw-123456 <br \/><strong>D.<\/strong> Destination: 20.0.1.0\/24 and Target: i-123456<\/div>\n<p><\/p>\n<style> .hidden-div{ display:none } <\/style>\n<p>\t\t\t\t\t\t\t<button onclick=\"getElementById('hidden-div').style.display = 'block'\"> Show Answer <\/button> <button onclick=\"getElementById('hidden-div').style.display = 'none'\">Hide Answer<\/button><\/p>\n<div class=\"hidden-div\" id=\"hidden-div\"><span style=\"\"><\/p>\n<div class=\"answer\">Correct Answer: <strong>D<\/strong><\/div>\n<p><strong>Explanation:<\/strong> <\/p>\n<div class=\"explanation\">\nExplanation: The user can create subnets as per the requirement within a VPC. If the user wants to connect VPC from his own data centre, he can setup a public and VPN only subnet which uses hardware VPN access to connect with his data centre. When the user has configured this setup with Wizard, it will create a virtual private gateway to route all traffic of the VPN subnet. If the user has setup a NAT instance to route all the internet requests, then all requests to the internet should be routed to it. All requests to the organization&#8217;s DC will be routed to the VPN gateway. Here are the valid entries for the main route table in this scenario: Destination: 0.0.0.0\/0 &#038; Target: i-123456 (To route all internet traffic to the NAT Instance) Destination: 172.28.0.0\/12 &#038; Target: vgw-123456 (To route all the organization&#8217;s data centre traffic to the VPN gateway) Destination: 20.0.0.0\/16 &#038; Target: local (To allow local routing in VPC)<br \/>\nReference:<br \/>\n<a href=\"http:\/\/docs.aws.amazon.com\/AmazonVPC\/latest\/UserGuide\/VPC_Scenario3.html\" title=\"External link\" rel=\"nofollow noopener\" target=\"_blank\">http:\/\/docs.aws.amazon.com\/AmazonVPC\/latest\/UserGuide\/VPC_Scenario3&#8230;<\/a><\/div>\n<p><\/strong><\/span> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>A user has created a VPC with CIDR 20.0.0.0\/16 using the wizard. The user has created a public subnet CIDR (20.0.0.0\/24) and VPN only subnets CIDR (20.0.1.0\/24) along with the VPN gateway (vgw-123456) to connect to the user&#039;s data center. The user&#039;s data center has CIDR 172.28.0.0\/12. The user has also setup a NAT instance [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[3,337],"class_list":["post-341","post","type-post","status-publish","format-standard","hentry","category-aws-certified-solutions-architect-professional-sap-c01","tag-aws-certified-solutions-architect-professional-sap-c01","tag-question-334"],"_links":{"self":[{"href":"https:\/\/exampracticetests.com\/aws\/Solutions_Architect-Professional_SAP-C01\/wp-json\/wp\/v2\/posts\/341","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exampracticetests.com\/aws\/Solutions_Architect-Professional_SAP-C01\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/exampracticetests.com\/aws\/Solutions_Architect-Professional_SAP-C01\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Solutions_Architect-Professional_SAP-C01\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Solutions_Architect-Professional_SAP-C01\/wp-json\/wp\/v2\/comments?post=341"}],"version-history":[{"count":0,"href":"https:\/\/exampracticetests.com\/aws\/Solutions_Architect-Professional_SAP-C01\/wp-json\/wp\/v2\/posts\/341\/revisions"}],"wp:attachment":[{"href":"https:\/\/exampracticetests.com\/aws\/Solutions_Architect-Professional_SAP-C01\/wp-json\/wp\/v2\/media?parent=341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Solutions_Architect-Professional_SAP-C01\/wp-json\/wp\/v2\/categories?post=341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Solutions_Architect-Professional_SAP-C01\/wp-json\/wp\/v2\/tags?post=341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}