SCS-C02 免费试练题 · 考证匠讲解
题目
A company is using AWS WAF to protect a customized public API service that is based on Amazon EC instances. The API uses an Application Load Balancer. The AWS WAF web ACL is configured with an AWS Managed Rules rule group. After a software upgrade to the API and the client application, some types of requests are no longer working and are causing application stability issues. A security engineer discovers that AWS WAF logging is not turned on for the web ACL. The security engineer needs to immediately return the application to service, resolve the issue, and ensure that logging is not turned off in the future. The security engineer turns on logging for the web ACL and specifies Amazon CloudWatch Logs as the destination. Which additional set of steps should the security engineer take to meet the requirements?
答案
拆题
- 升级后合法请求被拦截,需要定位具体规则而非关闭全部防护。
- Count 记录匹配而不阻断,可短期观察误报;应限定受影响规则并监控风险。
- IAM 拒绝删除 logging configuration 防止普通管理员关闭日志,其他改日志权限也需核对。
每个选项为什么对、为什么错
- A(正确):Count 让受影响请求恢复并留证,日志定位后精确 override;IAM 控制日志删除是正确权限层。
- B:所谓 WAF resource policy 不提供按所述方式限制管理员删日志的同等 IAM 防线。
- C:Challenge 仍可能让 API 客户端失败,且权限控制层写错。
- D:IAM 方向正确,但加入 Challenge 不能保证恢复非浏览器 API 客户端。
放到具体场景里
教学例子:新客户端发送更长 JSON,某 managed rule 被命中。先只对该规则 Count,日志核对 request ID、terminating rule 与有效载荷,再用 scope-down/例外限制到已验证路径。恢复 Block 前回放合法和恶意样例,避免为了上线长期裸奔。
| 检查对象 | 本例条件或动作 | 结果与边界 |
|---|---|---|
| 短期恢复 | 限定规则 Count | 仍有风险窗口 |
| 定位 | WAF 日志与 request ID | 明确误报条件 |
| 防关闭 | IAM logging 控制 | 复查其他变更入口 |
遇到同类题的判断顺序
- 开启日志:先取得请求证据。
- 有限 Count:恢复受影响合法请求。
- 精确修正:限定规则和条件。
- 恢复阻断:回放正负样例再验证。
参考资料
继续练这门考试
同一门考试的免费试练题都附这样的完整讲解,做完再看讲解。
