SCS-C02 Exam QuestionsBrowse all questions from this exam

SCS-C02 Exam - Question 169


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?

Show Answer
Correct Answer: D

To inspect a running container and retrieve log files and memory dumps with the least operational effort, enabling the ECS Exec feature is the most efficient solution. This allows direct and secure access to the container's runtime environment without needing to modify the application or infrastructure setup significantly. It also leverages existing AWS services, reducing operational complexity.

Discussion

4 comments
Sign in to comment
aescudero51Option: B
Jun 3, 2024

My answer is B. https://docs.aws.amazon.com/whitepapers/latest/replatform-dotnet-apps-with-windows-containers/logging-and-monitoring.html

5409b91Option: D
May 21, 2024

Option D is the most efficient solution as it allows for direct and secure access to the container's runtime environment without significant modifications to the application or infrastructure setup. It leverages existing AWS services and features, reducing operational overhead and complexity.

jade290
Jun 2, 2024

It has to be either B or C because these types of logs are a function of CloudWatch. Would you not agree?

matheusrdoOption: D
Jun 9, 2024

The question asks to inspect the container and retrieve files, so ECS Exec sounds reasonable.

lanjr01
Jul 19, 2024

Answer: D - see link below https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html