AD0-E136 · Question #61
During the design phase, you discover that a significant number of components in the client's current AEM environment rely on deprecated APIs. What is the best course of action?
The correct answer is B. Refactor the components using supported APIs and tools like BPA. Refactoring components with supported APIs (option B) is the correct approach because deprecated APIs signal future removal, meaning unmodified components will break in subsequent AEM upgrades - creating technical debt and potentially blocking cloud compatibility. The Best…
Question
During the design phase, you discover that a significant number of components in the client's current AEM environment rely on deprecated APIs. What is the best course of action?
Options
- ADeploy the components without modification
- BRefactor the components using supported APIs and tools like BPA
- CReplace all deprecated components with out-of-the-box alternatives
- DMigrate the components directly to a staging environment for testing
How the community answered
(52 responses)- A10% (5)
- B67% (35)
- C4% (2)
- D19% (10)
Explanation
Refactoring components with supported APIs (option B) is the correct approach because deprecated APIs signal future removal, meaning unmodified components will break in subsequent AEM upgrades - creating technical debt and potentially blocking cloud compatibility. The Best Practices Analyzer (BPA) is specifically designed to surface these issues and guide remediation, making it the right tool for this discovery-and-fix workflow.
Why the distractors fail:
- A - Deploying without modification defers the problem and accumulates risk; deprecated APIs can be removed in the next AEM release.
- C - Replacing all custom components with out-of-the-box alternatives ignores that those components likely carry custom business logic; it's often impractical and risks losing functionality.
- D - Moving directly to staging doesn't fix the underlying API issues - it just relocates broken code to another environment.
Memory tip: Think "BPA = Before Problems Arise." The BPA tool exists precisely to catch deprecated APIs during the design/discovery phase, so refactoring at that stage (not later) is both the intended workflow and the least costly time to fix it.
Topics
Community Discussion
No community discussion yet for this question.