{"id":30,"date":"2022-11-28T10:56:12","date_gmt":"2022-11-28T10:56:12","guid":{"rendered":"https:\/\/exampracticetests.com\/c\/CAS-004\/comptia-casp-cas-004-question022\/"},"modified":"2022-11-28T10:56:12","modified_gmt":"2022-11-28T10:56:12","slug":"comptia-casp-cas-004-question022","status":"publish","type":"post","link":"https:\/\/exampracticetests.com\/c\/CAS-004\/comptia-casp-cas-004-question022\/","title":{"rendered":"CompTIA CASP+ CAS-004 &#8211; Question022"},"content":{"rendered":"<div class=\"question\">A security analyst discovered that the company&#039;s WAF was not properly configured. The main web server was breached, and the following payload was found in one of the malicious requests:<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full\" src=\"https:\/\/exampracticetests.com\/c\/CAS-004\/wp-content\/uploads\/exam\/0022-0000.jpg\" \/><br \/>\nWhich of the following would BEST mitigate this vulnerability?<br \/><strong><br \/>A.<\/strong> CAPTCHA<br \/><strong>B.<\/strong> Input validation<br \/><strong>C.<\/strong> Data encoding<br \/><strong>D.<\/strong> Network intrusion prevention<\/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>Explanation:<\/strong> <\/p>\n<div class=\"explanation\">\nReference: <a href=\"https:\/\/hdivsecurity.com\/owasp-xml-external-entities-xxe\" title=\"External link\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/hdivsecurity.com\/owasp-xml-external-entities-xxe<\/a><br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full\" src=\"https:\/\/exampracticetests.com\/c\/CAS-004\/wp-content\/uploads\/exam\/0022-0001.jpg\" \/><\/div>\n<p><\/strong><\/span> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>A security analyst discovered that the company&#039;s WAF was not properly configured. The main web server was breached, and the following payload was found in one of the malicious requests: Which of the following would BEST mitigate this vulnerability?A. CAPTCHAB. Input validationC. Data encodingD. Network intrusion prevention Show Answer Hide Answer Correct Answer: B Explanation: [&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-comptia-casp-cas-004","tag-comptia-casp-cas-004","tag-question-022"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/exampracticetests.com\/c\/CAS-004\/wp-json\/wp\/v2\/posts\/30","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exampracticetests.com\/c\/CAS-004\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/exampracticetests.com\/c\/CAS-004\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/exampracticetests.com\/c\/CAS-004\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exampracticetests.com\/c\/CAS-004\/wp-json\/wp\/v2\/comments?post=30"}],"version-history":[{"count":0,"href":"https:\/\/exampracticetests.com\/c\/CAS-004\/wp-json\/wp\/v2\/posts\/30\/revisions"}],"wp:attachment":[{"href":"https:\/\/exampracticetests.com\/c\/CAS-004\/wp-json\/wp\/v2\/media?parent=30"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exampracticetests.com\/c\/CAS-004\/wp-json\/wp\/v2\/categories?post=30"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exampracticetests.com\/c\/CAS-004\/wp-json\/wp\/v2\/tags?post=30"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}