PDI · Question #232
What are two benefits of using declarative customizations over code? Choose 2 answers
The correct answer is A. Declarative customizations automatically update with each Salesforce release. B. Declarative customizations generally require less maintenance.. The question asks for two benefits of using declarative customization tools over programmatic (code) solutions in Salesforce.
Question
What are two benefits of using declarative customizations over code? Choose 2 answers
Options
- ADeclarative customizations automatically update with each Salesforce release.
- BDeclarative customizations generally require less maintenance.
- CDeclarative customizations automatically generate test classes.
- DDeclarative customizations cannot generate run time errors.
How the community answered
(50 responses)- A90% (45)
- C4% (2)
- D6% (3)
Why each option
The question asks for two benefits of using declarative customization tools over programmatic (code) solutions in Salesforce.
Declarative customizations, built on the Salesforce platform, often receive automatic updates and enhancements with each Salesforce release, benefiting from platform improvements without requiring manual code changes.
Declarative customizations are generally quicker to build, easier for administrators to maintain, and less prone to custom coding errors, leading to lower ongoing maintenance costs and effort compared to Apex code.
Declarative customizations do not automatically generate test classes; test classes are specifically required for Apex code to ensure functionality and maintain code coverage.
While generally more robust, declarative customizations can still generate runtime errors due to misconfigurations, permissions issues, or exceeding platform limits, though less frequently than complex Apex code.
Concept tested: Benefits of declarative automation vs. programmatic solutions
Source: https://help.salesforce.com/s/articleView?id=sf.flow_bestpractices_when.htm&type=5
Topics
Community Discussion
No community discussion yet for this question.