SCS-C02 免费试练题 · 考证匠讲解
题目
A company is developing a mechanism that will help data scientists use Amazon SageMaker to read, process, and output data to an Amazon S3 bucket. Data scientists will have access to a dedicated S3 prefix for each of their projects. The company will implement bucket policies that use the dedicated S3 prefixes to restrict access to the S3 objects. The projects can last up to 60 days. The company's security team mandates that data cannot remain in the S3 bucket after the end of the projects that use the data. Which solution will meet these requirements MOST cost-effectively?
答案
拆题
- 项目最长 60 天,题库 C 用 prefix lifecycle expiration 降低自建清理工作。
- Expiration 通常按对象创建年龄异步执行,不按最后访问,也不理解项目实际结束日期。
- “项目结束后不能留任何数据”更严格:提前结束、末日上传和版本对象需额外结束事件清理,单独 C 不完整满足硬截止。
每个选项为什么对、为什么错
- A:60 天未访问与项目结束不是同一时间,自建扫描还增加工作。
- B:Intelligent-Tiering 优化存储层,不删除项目数据。
- C(正确):prefix lifecycle 是最低运维年龄保留策略,但必须补项目结束清理及 noncurrent versions,不能保证结束时立即无数据。
- D:归档事件不等于项目结束,未访问规则也无法满足该业务时点。
放到具体场景里
教学例子:项目第 20 天结束,而第 19 天上传的文件按 60 天生命周期可能还保存很久。结束流程应记录 deadline,执行并核对对象与旧版本清理;lifecycle 作兜底而不是即刻硬删除保证。Object Lock 或法律保留可能阻止清理,应在接入前解决政策冲突。
| 检查对象 | 本例条件或动作 | 结果与边界 |
|---|---|---|
| 对象年龄 | 创建后 60 天 | lifecycle 逻辑 |
| 项目结束 | 可能第 20 天 | 另触发清理 |
| 版本与锁 | noncurrent / retention | 决定能否真正删除 |
遇到同类题的判断顺序
- 定义期限:按项目实际结束时间。
- 配置兜底:prefix 生命周期规则。
- 执行清理:结束事件处理对象和版本。
- 核对残留:记录完成与阻塞原因。
参考资料
继续练这门考试
同一门考试的免费试练题都附这样的完整讲解,做完再看讲解。
