{"id":504,"date":"2022-02-05T18:31:27","date_gmt":"2022-02-05T18:31:27","guid":{"rendered":"https:\/\/exampracticetests.com\/aws\/DevOps_Engineer_Professional_DOP-C01\/aws-devops-engineer-professional-dop-c01-question492\/"},"modified":"2022-02-05T18:31:27","modified_gmt":"2022-02-05T18:31:27","slug":"aws-devops-engineer-professional-dop-c01-question492","status":"publish","type":"post","link":"https:\/\/exampracticetests.com\/aws\/DevOps_Engineer_Professional_DOP-C01\/aws-devops-engineer-professional-dop-c01-question492\/","title":{"rendered":"AWS DevOps Engineer Professional DOP-C01 &#8211; Question492"},"content":{"rendered":"<div class=\"question\">Using the AWS CLI, which command retrieves CloudTrail trail settings, including the status of the trail itself?<br \/><strong><br \/>A.<\/strong> aws cloudtrail return-trails<br \/><strong>B.<\/strong> aws cloudtrail validate-settings<br \/><strong>C.<\/strong> aws cloudtrail get-settings<br \/><strong>D.<\/strong> aws cloudtrail describe-trails<\/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:<br \/>\nYou can retrieve trail settings and status using the cloudtrail describe-trails command. It will generate output similar to the example below.<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full\" src=\"https:\/\/exampracticetests.com\/aws\/DevOps_Engineer_Professional_DOP-C01\/wp-content\/uploads\/exam\/0492-0000.jpg\" \/><br \/>\nReference:<br \/>\n<a href=\"http:\/\/docs.aws.amazon.com\/awscloudtrail\/latest\/userguide\/cloudtrail-create-and-update-a-trailby-using-the-aws-cli.htm\" title=\"External link\" rel=\"nofollow noopener\" target=\"_blank\">http:\/\/docs.aws.amazon.com\/awscloudtrail\/latest\/userguide\/cloudtrai&#8230;<\/a><\/div>\n<p><\/strong><\/span> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>Using the AWS CLI, which command retrieves CloudTrail trail settings, including the status of the trail itself?A. aws cloudtrail return-trailsB. aws cloudtrail validate-settingsC. aws cloudtrail get-settingsD. aws cloudtrail describe-trails Show Answer Hide Answer Correct Answer: D Explanation: Explanation: You can retrieve trail settings and status using the cloudtrail describe-trails command. It will generate output similar [&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,495],"class_list":["post-504","post","type-post","status-publish","format-standard","hentry","category-aws-devops-engineer-professional-dop-c01","tag-aws-devops-engineer-professional-dop-c01","tag-question-492"],"_links":{"self":[{"href":"https:\/\/exampracticetests.com\/aws\/DevOps_Engineer_Professional_DOP-C01\/wp-json\/wp\/v2\/posts\/504","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exampracticetests.com\/aws\/DevOps_Engineer_Professional_DOP-C01\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/exampracticetests.com\/aws\/DevOps_Engineer_Professional_DOP-C01\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/DevOps_Engineer_Professional_DOP-C01\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/DevOps_Engineer_Professional_DOP-C01\/wp-json\/wp\/v2\/comments?post=504"}],"version-history":[{"count":0,"href":"https:\/\/exampracticetests.com\/aws\/DevOps_Engineer_Professional_DOP-C01\/wp-json\/wp\/v2\/posts\/504\/revisions"}],"wp:attachment":[{"href":"https:\/\/exampracticetests.com\/aws\/DevOps_Engineer_Professional_DOP-C01\/wp-json\/wp\/v2\/media?parent=504"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/DevOps_Engineer_Professional_DOP-C01\/wp-json\/wp\/v2\/categories?post=504"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/DevOps_Engineer_Professional_DOP-C01\/wp-json\/wp\/v2\/tags?post=504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}