Question 280
A coding agent is asked to migrate authentication used by dozens of services. The change may invalidate user sessions. Which TWO preparatory steps are most defensible? (Select TWO.)
Explanation
Correct Answers
Planning mode is useful here because changing authentication affects numerous consumers and could invalidate sessions in ways that simple compilation cannot reveal. Before implementation, identify affected callers and protocol versions, classify which changes are backward-compatible, and sequence the migration with measurable checkpoints. Record failure scenarios such as expired tokens and partial rollout. This is separate from obtaining approval: the plan explains technical dependencies and evidence, while the other correct safeguard establishes authorization and tested recovery conditions.
Authentication migration can invalidate active sessions across many services, so a safe plan needs explicit deployment authority and predefined recovery conditions before touching production. Identify who can approve the rollout, which client populations are affected, the monitoring signals for failed login or refresh, and the tested procedure to roll back or recover users. Record the transition criteria and how to distinguish a successful cutover from partial compatibility failure. This complements mapping dependencies in planning mode; neither approval alone nor a conceptual rollback story proves that recovery works on the actual target systems.
Incorrect Answers
Assuming dozens of dependent services share the same authentication version ignores differences in token format, refresh behavior and session lifetime. A change could disconnect one client population while appearing successful in a small test service. The migration should inventory callers and current contracts before implementation, so breakage can be evaluated and a staged transition designed. Skipping discovery turns a broad high-impact change into an uncontrolled experiment on users.
Changing production credentials first would make the users and services participating in the authentication migration an uncontrolled test environment. Sessions may fail abruptly, automated integrations may lose access and recovery could be difficult without a rollback plan. The team needs design and approval before any live mutation, including a caller inventory, compatibility tests and a clearly authorized release window. A destructive discovery technique is not a defensible preparation step.
Deleting session logs would remove the evidence needed to diagnose which users were logged out, which authentication flows failed and whether the rollout can be safely reversed. Secrets and personal data in logs may require redaction and restricted retention, but that is not equivalent to destroying operational history before a high-risk migration. Preserve suitable diagnostic traces and plan their handling under the organization's retention policy. A useful migration plan depends on observing outcomes, not making failures less visible.



Claude Certified Architect - Foundations (CCA-F) Practice Tests