Check_Point
156-521 · Question #134
Why is using hardcoded credentials in automation scripts discouraged? (Choose two)
The correct answer is B. They pose a security risk if leaked C. They reduce code portability. Hardcoding credentials creates a security risk if the script is exposed, and makes it harder to reuse or share code across environments. Credential management systems are preferred for secure automation.
Use Cases and Best Practices for Automation
Question
Why is using hardcoded credentials in automation scripts discouraged? (Choose two)
Options
- AThey simplify password rotation
- BThey pose a security risk if leaked
- CThey reduce code portability
- DThey trigger automatic logout
How the community answered
(29 responses)- A3% (1)
- B86% (25)
- D10% (3)
Explanation
Hardcoding credentials creates a security risk if the script is exposed, and makes it harder to reuse or share code across environments. Credential management systems are preferred for secure automation.
Topics
#hardcoded credentials#credential security#code portability#secret management
Community Discussion
No community discussion yet for this question.