{"id":54,"date":"2022-11-25T17:22:48","date_gmt":"2022-11-25T17:22:48","guid":{"rendered":"https:\/\/exampracticetests.com\/c\/CySA+CS0-002\/comptia-cysacs0-002-question048\/"},"modified":"2022-11-25T17:22:48","modified_gmt":"2022-11-25T17:22:48","slug":"comptia-cysacs0-002-question048","status":"publish","type":"post","link":"https:\/\/exampracticetests.com\/c\/CySA+CS0-002\/comptia-cysacs0-002-question048\/","title":{"rendered":"CompTIA CySA+CS0-002 &#8211; Question048"},"content":{"rendered":"<div class=\"question\">An organization recently discovered that spreadsheet files containing sensitive financial data were improperly stored on a web server. The management team wants to find out if any of these files were downloaded by public users accessing the server. The results should be written to a text file and should include the date, time, and IP address associated with any spreadsheet downloads. The web server&#039;s log file is named webserver.log, and the report file name should be accessreport.txt. Following is a sample of the web server&#039;s log file:<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full\" src=\"https:\/\/exampracticetests.com\/c\/CySA+CS0-002\/wp-content\/uploads\/exam\/img_74_0044.jpg\" \/><br \/>\nWhich of the following commands should be run if an analyst only wants to include entries in which a spreadsheet was successfully downloaded?<br \/><strong><br \/>A.<\/strong> more webserver.log | grep *.xls &gt; accessreport.txt<br \/><strong>B.<\/strong> more webserver.log &gt; grep &quot;*xls&quot; | egrep E `success&#039; &gt; accessreport.txt<br \/><strong>C.<\/strong> more webserver.log | grep E &quot;return=200 | xls&quot; &gt; accessreport.txt<br \/><strong>D.<\/strong> more webserver.log | grep A *.xls &lt; accessreport.txt<\/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>B<\/strong><\/div>\n<p><\/strong><\/span> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>An organization recently discovered that spreadsheet files containing sensitive financial data were improperly stored on a web server. The management team wants to find out if any of these files were downloaded by public users accessing the server. The results should be written to a text file and should include the date, time, and IP [&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,51],"class_list":["post-54","post","type-post","status-publish","format-standard","hentry","category-comptia-cysacs0-002","tag-comptia-cysacs0-002","tag-question-048"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/exampracticetests.com\/c\/CySA+CS0-002\/wp-json\/wp\/v2\/posts\/54","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exampracticetests.com\/c\/CySA+CS0-002\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/exampracticetests.com\/c\/CySA+CS0-002\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/exampracticetests.com\/c\/CySA+CS0-002\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exampracticetests.com\/c\/CySA+CS0-002\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":0,"href":"https:\/\/exampracticetests.com\/c\/CySA+CS0-002\/wp-json\/wp\/v2\/posts\/54\/revisions"}],"wp:attachment":[{"href":"https:\/\/exampracticetests.com\/c\/CySA+CS0-002\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exampracticetests.com\/c\/CySA+CS0-002\/wp-json\/wp\/v2\/categories?post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exampracticetests.com\/c\/CySA+CS0-002\/wp-json\/wp\/v2\/tags?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}