{"id":343,"date":"2021-01-06T16:45:43","date_gmt":"2021-01-06T16:45:43","guid":{"rendered":"https:\/\/exampracticetests.com\/aws\/Solutions_Architect-Professional_SAP-C01\/aws-certified-solutions-architect-professional-sap-c01-question336\/"},"modified":"2021-01-06T16:45:43","modified_gmt":"2021-01-06T16:45:43","slug":"aws-certified-solutions-architect-professional-sap-c01-question336","status":"publish","type":"post","link":"https:\/\/exampracticetests.com\/aws\/Solutions_Architect-Professional_SAP-C01\/aws-certified-solutions-architect-professional-sap-c01-question336\/","title":{"rendered":"AWS Certified Solutions Architect &#8211; Professional SAP-C01 &#8211; Question336"},"content":{"rendered":"<div class=\"question\">A user has created a VPC with CIDR 20.0.0.0\/16 using the VPC wizard. The user has created public and VPN only subnets along with hardware VPN access to connect to the user&#039;s data center. The user has not yet launched any instance as well as modified or deleted any setup. He wants to delete this VPC from the console.<br \/>\nWill the console allow the user to delete the VPC? <br \/><strong><br \/>A.<\/strong> Yes, the user can detach the virtual private gateway and then use the VPC console to delete the VPC. <br \/><strong>B.<\/strong> No, since the NAT instance is running, the user cannot delete the VPC. <br \/><strong>C.<\/strong> Yes, the user can use the CLI to delete the VPC that will detach the virtual private gateway automatically. <br \/><strong>D.<\/strong> No, the VPC console needs to be accessed using an administrator account to delete the VPC.<\/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\">\nExplanation: You can delete your VPC at any time (for example, if you decide it&#8217;s too small). However, you must terminate all instances in the VPC first. When you delete a VPC using the VPC console, Amazon deletes all its components, such as subnets, security groups, network ACLs, route tables, Internet gateways, VPC peering connections, and DHCP options. If you have a VPN connection, you don&#8217;t have to delete it or the other components related to the VPN (such as the customer gateway and virtual private gateway).<br \/>\nReference:<br \/>\n<a href=\"http:\/\/docs.aws.amazon.com\/AmazonVPC\/latest\/UserGuide\/VPC_Subnets.html#VPC_Deleting\" title=\"External link\" rel=\"nofollow noopener\" target=\"_blank\">http:\/\/docs.aws.amazon.com\/AmazonVPC\/latest\/UserGuide\/VPC_Subnets.h&#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 VPC wizard. The user has created public and VPN only subnets along with hardware VPN access to connect to the user&#039;s data center. The user has not yet launched any instance as well as modified or deleted any setup. He wants to delete this [&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,339],"class_list":["post-343","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-336"],"_links":{"self":[{"href":"https:\/\/exampracticetests.com\/aws\/Solutions_Architect-Professional_SAP-C01\/wp-json\/wp\/v2\/posts\/343","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=343"}],"version-history":[{"count":0,"href":"https:\/\/exampracticetests.com\/aws\/Solutions_Architect-Professional_SAP-C01\/wp-json\/wp\/v2\/posts\/343\/revisions"}],"wp:attachment":[{"href":"https:\/\/exampracticetests.com\/aws\/Solutions_Architect-Professional_SAP-C01\/wp-json\/wp\/v2\/media?parent=343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Solutions_Architect-Professional_SAP-C01\/wp-json\/wp\/v2\/categories?post=343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Solutions_Architect-Professional_SAP-C01\/wp-json\/wp\/v2\/tags?post=343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}