Question 420
A developer proposes this approach: Provide and test a suitable property default and validation for missing configuration. Which business requirement is the strongest reason to choose it?
Explanation
Correct Answer
This business need directly motivates Provide and test a suitable property default and validation for missing configuration; Defensive defaults let the application behave predictably before optional settings are initialized.
Incorrect Answers
The described situation is better addressed by Test the supported configurations including disabled, normal and boundary settings. Configuration-dependent logic must be verified across meaningful property values.
The described situation is better addressed by Store the approved threshold as a named application property and read it in server logic. Application properties separate environment-tunable configuration from hardcoded business logic.
The described situation is better addressed by Configure and validate an environment-appropriate property or connection setting for the endpoint. Centralized configuration avoids editing source code to change deployment endpoints.