ISC2 Certified Cloud Security Professional (CCSP) Practice Question

During an incident response, your team discovers that attackers exploited a server-side request forgery (SSRF) flaw in a public-facing EC2 web server. By sending crafted requests to http://169.254.169.254/latest/meta-data/, they obtained the instance's temporary AWS credentials and used them to access and exfiltrate sensitive data from S3. Which mitigation would most effectively prevent this attack path while still allowing legitimate applications on the instance to query the metadata service when needed?

  • Place the web server in a private subnet without an Internet gateway or public IP address.

  • Install a host-based intrusion detection system (HIDS) on the instance to alert on suspicious process behavior.

  • Enable server-side encryption with customer-managed keys (SSE-CMK) on all S3 buckets that store sensitive data.

  • Configure the EC2 instance to require Instance Metadata Service version 2 (IMDSv2) and block all IMDSv1 requests.

ISC2 Certified Cloud Security Professional (CCSP)
Cloud Platform & Infrastructure Security
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