{"id":3773,"date":"2023-12-03T18:57:51","date_gmt":"2023-12-03T18:57:51","guid":{"rendered":"https:\/\/exampracticetests.com\/c\/SY0-601\/comptia-security-sy0-601-question547\/"},"modified":"2023-12-03T18:57:51","modified_gmt":"2023-12-03T18:57:51","slug":"comptia-security-sy0-601-question547","status":"publish","type":"post","link":"https:\/\/exampracticetests.com\/c\/SY0-601\/comptia-security-sy0-601-question547\/","title":{"rendered":"CompTIA Security+ SY0-601 &#8211; Question547"},"content":{"rendered":"<div class=\"question\">A security analyst is investigating a malware incident at a company. The malware is accessing a command-<br \/>\nand-control website at www.comptia.com. All outbound Internet traffic is logged to a syslog server and stored<br \/>\nin \/logfiles\/messages. Which of the following commands would be best for the analyst to use on the syslog<br \/>\nserver to search for recent traffic to the command-and-control website?<br \/>\n<br \/><strong><br \/>A.<\/strong> head -500 www.comptia.com | grep \/logfiles\/messages<br \/><strong>B.<\/strong> cat \/logfiles\/messages | tail -500 www.comptia.com<br \/><strong>C.<\/strong> tail -500 \/logfiles\/messages | grep www.comptia.com<br \/><strong>D.<\/strong> grep -500 \/logfiles\/messages | cat www.comptia.com<\/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>C<\/strong><\/div>\n<p><\/strong><\/span> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>A security analyst is investigating a malware incident at a company. The malware is accessing a command- and-control website at www.comptia.com. All outbound Internet traffic is logged to a syslog server and stored in \/logfiles\/messages. Which of the following commands would be best for the analyst to use on the syslog server to search for [&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,550],"class_list":["post-3773","post","type-post","status-publish","format-standard","hentry","category-comptia-security-sy0-601","tag-comptia-security-sy0-601","tag-question-547"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/exampracticetests.com\/c\/SY0-601\/wp-json\/wp\/v2\/posts\/3773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exampracticetests.com\/c\/SY0-601\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/exampracticetests.com\/c\/SY0-601\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/exampracticetests.com\/c\/SY0-601\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exampracticetests.com\/c\/SY0-601\/wp-json\/wp\/v2\/comments?post=3773"}],"version-history":[{"count":0,"href":"https:\/\/exampracticetests.com\/c\/SY0-601\/wp-json\/wp\/v2\/posts\/3773\/revisions"}],"wp:attachment":[{"href":"https:\/\/exampracticetests.com\/c\/SY0-601\/wp-json\/wp\/v2\/media?parent=3773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exampracticetests.com\/c\/SY0-601\/wp-json\/wp\/v2\/categories?post=3773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exampracticetests.com\/c\/SY0-601\/wp-json\/wp\/v2\/tags?post=3773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}