Q88 — AWS SCS-C02 Ch.1

Question 88 of 100 | ← Chapter 1

A company has a legacy application that runs on a single Amazon EC2 instance. A security audit shows that the application has been using an IAM access key within its code to access an Amazon S3 bucket that is named DOC-EXAMPLE-BUCKET1 in the same AWS account. This access key pair has the s3:GetObject permission to all objects in only this S3 bucket. The company takes the application offline because the application is not compliant with the company’s security policies for accessing other AWS resources from Amazon EC2. A security engineer validates that AWS CloudTrail is turned on in all AWS Regions. CloudTrail is sending logs to an S3 bucket that is named DOC-EXAMPLE-BUCKET2. This S3 bucket is in the same AWS account as DOC-EXAMPLE-BUCKET1. However, CloudTrail has not been configured to send logs to Amazon CloudWatch Logs. The company wants to know if any objects in DOC-EXAMPLE-BUCKET1 were accessed with the IAM access key in the past 60 days. If any objects were accessed, the company wants to know if any of the objects that are text files (.txt extension) contained personally identifiable information (PII). Which combination of steps should the security engineer take to gather this information? (Choose two.)

Correct Answer: C. Use Amazon Athena to query the CloudTrail logs in DOC-EXAMPLE-BUCKET2 for any API calls that used the access key to access an object that contained PII., E. Configure Amazon Macie to identify any objects in DOC-EXAMPLE-BUCKET1 that contain PII and that were available to the access key.

Explanation

CloudTrail日志存储在S3的DOCEXAMPLE-BUCKET2,未配置CloudWatch Logs传输。Athena支持直接对S3中的CloudTrail日志进行SQL查询,可过滤指定访问密钥的s3:GetObject事件。Macie通过机器学习自动识别S3对象中的PII数据,结合.txt扩展名过滤条件可定位敏感文件。Athena处理访问记录,Macie处理内容分析,两者互补完成审计需求。选项B/D依赖未配置的服务,A缺乏日志来源,无法满足技术条件。