nerdexam
Cisco

350-701 · Question #702

What is a difference between encrypted passwords and hardcoded passwords?

The correct answer is D. Encrypted passwords are stored in a database, and hardcoded passwords are embedded in the. Encrypted passwords are typically stored securely in a database after being hashed, while hardcoded passwords are directly embedded into application source code or configuration, posing a significant security risk.

Submitted by sofia.br· Mar 30, 2026Security Concepts

Question

What is a difference between encrypted passwords and hardcoded passwords?

Options

  • AEncrypted passwords are easier to obtain, and hardcoded passwords are known only to
  • BEncrypted passwords are generated by an application user, and hardcoded passwords are
  • CEncrypted passwords are used for frontend applications, and hardcoded passwords are used for
  • DEncrypted passwords are stored in a database, and hardcoded passwords are embedded in the

How the community answered

(49 responses)
  • A
    2% (1)
  • B
    6% (3)
  • C
    4% (2)
  • D
    88% (43)

Why each option

Encrypted passwords are typically stored securely in a database after being hashed, while hardcoded passwords are directly embedded into application source code or configuration, posing a significant security risk.

AEncrypted passwords are easier to obtain, and hardcoded passwords are known only to

Encrypted/hashed passwords are designed to be *difficult* to obtain or reverse, whereas hardcoded passwords, once discovered in code, become universally known to anyone with access to that code.

BEncrypted passwords are generated by an application user, and hardcoded passwords are

Encrypted passwords are derived from user-generated input and then processed by the application, while hardcoded passwords are predetermined by developers and fixed within the code, making the statement inaccurate about generation.

CEncrypted passwords are used for frontend applications, and hardcoded passwords are used for

The usage of encrypted or hardcoded passwords is not inherently differentiated by frontend versus backend applications; hardcoding passwords is a security anti-pattern regardless of where it occurs in an application's architecture.

DEncrypted passwords are stored in a database, and hardcoded passwords are embedded in theCorrect

Encrypted passwords (more accurately, hashed passwords) are securely stored in a database or designated storage and are computationally difficult to reverse, whereas hardcoded passwords are directly embedded within the application's source code, configuration files, or binaries, making them static and easily discoverable upon code review.

Concept tested: Password Security Practices (Encryption vs. Hardcoding)

Source: https://www.owasp.org/www-project-top-ten/OWASP_Top_Ten_2017/Hardcoded_Credentials

Topics

#encrypted passwords#hardcoded passwords#credential management#password storage

Community Discussion

No community discussion yet for this question.

Full 350-701 Practice