AWS Certified Security – Specialty (SCS-C02) — Question 157

A company deploys its application as a service on an Amazon Elastic Container Service (Amazon ECS) cluster with theAWS Fargate launch type. A security engineer suspects that some incoming requests are malicious. The security engineer needs to inspect the running container by retrieving log files and memory dump flies.

Which solution will meet these requirements with the LEAST operational effort?

Answer options

Correct answer: D

Explanation

The correct answer is D because enabling ECS Exec allows for direct inspection of the container with minimal changes and operational overhead. Option A involves migrating to EC2, which increases complexity and effort. Option B requires application changes and may not provide the needed data in real-time. Option C, while useful, still requires additional setup and does not offer direct access to the container.