🔥 40% Off Crucial Exams Memberships — Deal ends today!

12 minutes, 0 second remaining!

Certified Ethical Hacker (CEH) Practice Question

During a black-box assessment, you exploit a server-side request forgery (SSRF) flaw in a customer-facing web application that runs on Amazon EC2 instances behind a load balancer. By directing the SSRF to 169.254.169.254/latest/meta-data/iam/security-credentials/, you are able to retrieve temporary AWS credentials. Which AWS hardening measure would most effectively block this credential-theft technique even if the SSRF remains unpatched?

  • Attach a Service Control Policy that denies all s3:* actions to the AWS account root user.

  • Enforce Instance Metadata Service version 2 (IMDSv2) and set the hop limit to 1 on every instance profile.

  • Disable public IPv4 addresses for the EC2 instances so the metadata service is unreachable from the Internet.

  • Enable AWS Shield Advanced protection on the application's VPC subnets.

Certified Ethical Hacker (CEH)
Cloud Computing
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot