{"id":30,"date":"2022-02-07T18:05:21","date_gmt":"2022-02-07T18:05:21","guid":{"rendered":"https:\/\/exampracticetests.com\/aws\/SysOps_Administrator_Associate_SOA-C02\/aws-certified-sysops-administrator-associate-soa-c02-question22\/"},"modified":"2022-02-07T18:05:21","modified_gmt":"2022-02-07T18:05:21","slug":"aws-certified-sysops-administrator-associate-soa-c02-question22","status":"publish","type":"post","link":"https:\/\/exampracticetests.com\/aws\/SysOps_Administrator_Associate_SOA-C02\/aws-certified-sysops-administrator-associate-soa-c02-question22\/","title":{"rendered":"AWS Certified SysOps Administrator Associate SOA-C02 &#8211; Question22"},"content":{"rendered":"<div class=\"question\">A SysOps administrator has created a VPC that contains a public subnet and a private subnet. Amazon EC2 instances that were launched in the private subnet cannot access the internet. The default network ACL is active on all subnets in the VPC, and all security groups allow all outbound traffic.<br \/>\nWhich solution will provide the EC2 instances in the private subnet with access to the internet?<br \/><strong><br \/>A.<\/strong> Create a NAT gateway in the public subnet. Create a route from the private subnet to the NAT gateway.<br \/><strong>B.<\/strong> Create a NAT gateway in the public subnet. Create a route from the public subnet to the NAT gateway.<br \/><strong>C.<\/strong> Create a NAT gateway in the private subnet. Create a route from the public subnet to the NAT gateway.<br \/><strong>D.<\/strong> Create a NAT gateway in the private subnet. Create a route from the private subnet to the NAT gateway.<\/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>A<\/strong><\/div>\n<p><strong>Explanation:<\/strong> <\/p>\n<div class=\"explanation\">\nReference: <a href=\"https:\/\/docs.aws.amazon.com\/vpc\/latest\/userguide\/vpc-nat-gateway.html\" title=\"External link\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/docs.aws.amazon.com\/vpc\/latest\/userguide\/vpc-nat-gateway.html<\/a><br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full\" src=\"https:\/\/exampracticetests.com\/aws\/SysOps_Administrator_Associate_SOA-C02\/wp-content\/uploads\/exam\/0022-0000.jpg\" \/><\/div>\n<p><\/strong><\/span> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>A SysOps administrator has created a VPC that contains a public subnet and a private subnet. Amazon EC2 instances that were launched in the private subnet cannot access the internet. The default network ACL is active on all subnets in the VPC, and all security groups allow all outbound traffic. Which solution will provide the [&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,25],"class_list":["post-30","post","type-post","status-publish","format-standard","hentry","category-aws-certified-sysops-administrator-associate-soa-c02","tag-aws-certified-sysops-administrator-associate-soa-c02","tag-question-22"],"_links":{"self":[{"href":"https:\/\/exampracticetests.com\/aws\/SysOps_Administrator_Associate_SOA-C02\/wp-json\/wp\/v2\/posts\/30","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exampracticetests.com\/aws\/SysOps_Administrator_Associate_SOA-C02\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/exampracticetests.com\/aws\/SysOps_Administrator_Associate_SOA-C02\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/SysOps_Administrator_Associate_SOA-C02\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/SysOps_Administrator_Associate_SOA-C02\/wp-json\/wp\/v2\/comments?post=30"}],"version-history":[{"count":0,"href":"https:\/\/exampracticetests.com\/aws\/SysOps_Administrator_Associate_SOA-C02\/wp-json\/wp\/v2\/posts\/30\/revisions"}],"wp:attachment":[{"href":"https:\/\/exampracticetests.com\/aws\/SysOps_Administrator_Associate_SOA-C02\/wp-json\/wp\/v2\/media?parent=30"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/SysOps_Administrator_Associate_SOA-C02\/wp-json\/wp\/v2\/categories?post=30"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/SysOps_Administrator_Associate_SOA-C02\/wp-json\/wp\/v2\/tags?post=30"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}