In WordPress, the file that stores database connection details, including the database name, username, password, and host, iswp-config.php. This file is located in the root directory of a WordPress installation and is critical for configuring the connection to the MySQL database. It contains constants like DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST, which must be protected from unauthorized access to prevent database compromise.
Option A ("wp-configuration.php"): A common misspelling; the correct file name lacks the extra "ation."
Option B ("wp-conf.php"): This is not a valid WordPress file name.
Option C ("wp-secret.php"): This is not a standard WordPress file.
Option D ("wp-config.php"): The correct and official file name used by WordPress.
The correct answer is D, aligning with the CAP syllabus under "Configuration Management" and "Application Security."References: SecOps Group CAP Documents - "Application Configuration," "WordPress Security," and "Database Security" sections.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit