nerdexam
AmazonAmazon

SCS-C02 · Question #421

SCS-C02 Question #421: Real Exam Question with Answer & Explanation

Sign in or unlock SCS-C02 to reveal the answer and full explanation for question #421. The question stem and answer options stay visible for context.

Submitted by kim_seoul· Mar 6, 2026

Question

A security engineer needs to analyze Apache web server access logs that are stored in an Amazon S3 bucket. Amazon EC2 instance web servers generated the logs. The EC2 instances have the Amazon CloudWatch agent installed and configured to report their access logs. The security engineer needs to use a query in Amazon Athena to analyze the logs. The query must identify IP addresses that have attempted and failed to access restricted web server content held at the /admin URL path. The query also must identify the URLs that the IP addresses attempted to access. Which query will meet these requirements?

Options

  • ASELECT client_ip, client_request FROM logs WHERE client_request LIKE '%/admin%!' AND
  • BSELECT client_ip FROM logs WHERE client_request CONTAINS '%/admin%' AND server_status
  • CSELECT DISTINCT (client_ip), client_request, client_id FROM logs WHERE server status = `403'
  • DSELECT DISTINCT (client_ip), client_request FROM logs WHERE user_id <> `admin' AND

Unlock SCS-C02 to see the answer

You've previewed enough free SCS-C02 questions. Unlock SCS-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full SCS-C02 PracticeBrowse All SCS-C02 Questions