SOA-C03 练习题

SOA-C03 题目讲解:凭证轮换与连接池各用对应服务

SOA-C03 练习题讲解。答案 C。月度数据库密码轮换由 Secrets Manager 实现。

SOA-C03 免费试练题 · 考证匠讲解

题目

A SysOps administrator is designing a solution for an Amazon RDS for PostgreSQL DB instance. Database credentials must be stored and rotated monthly. The applications that connect to the DB instance send write-intensive traffic with variable client connections that sometimes increase significantly in a short period of time. Which solution should a SysOps administrator choose to meet these requirements?

A. Configure AWS Key Management Service (AWS KMS) to automatically rotate the keys for the DB instance. Use RDS Proxy to handle the increases in database connections.
B. Configure AWS Key Management Service (AWS KMS) to automatically rotate the keys for the DB instance. Use RDS read replicas to handle the increases in database connections.
C. Configure AWS Secrets Manager to automatically rotate the credentials for the DB instance. Use RDS Proxy to handle the increases in database connections.
D. Configure AWS Secrets Manager to automatically rotate the credentials for the DB instance. Use RDS read replicas to handle the increases in database connections.

答案

答案 C。月度数据库密码轮换由 Secrets Manager 实现。

拆题

  • 月度数据库密码轮换由 Secrets Manager 实现。
  • 连接突发且写密集,需要 RDS Proxy 复用数据库连接,不是只读副本分担读。
  • Proxy 不会无限提升数据库写容量,长事务与 session pinning 会影响复用。

每个选项为什么对、为什么错

  • A:KMS 轮换加密 key,不轮换数据库用户密码;Proxy 只有连接部分正确。
  • B:KMS 不轮换密码,read replicas 也不能承接普通主库写入突发。
  • C(正确):Secrets Manager 自动轮换 + RDS Proxy 连接池分别处理凭证与连接需求。
  • D:Secrets Manager 正确,但只读副本不解决题中写密集连接池问题。

放到具体场景里

教学例子:应用峰值建立几千短连接,经 proxy 复用较少的后端连接;secret 每月轮换后验证 proxy 与应用认证。观察 DatabaseConnections、借用延迟与 pinning,如果业务长事务占满连接,不能只把 proxy 当作自动消除瓶颈的按钮。

检查对象本例条件或动作结果与边界
凭证Secrets Manager monthly rotation验证数据库用户变更
连接RDS Proxy pool减少连接建立压力
边界写容量与长事务仍需监控

遇到同类题的判断顺序

  1. 管理 secret:建立支持的轮换配置。
  2. 接入 proxy:应用连接 proxy endpoint。
  3. 验证轮换:确认新旧凭证过渡。
  4. 压测突发:观察连接与 pinning。
结论:KMS 管加密密钥,Secrets Manager 管数据库秘密,Proxy 管连接。

参考资料

继续练这门考试

同一门考试的免费试练题都附这样的完整讲解,做完再看讲解。