ACQUIA-CERTIFIED-SITE-BUILDER-D10 practice question 22 of 25

What is the recommended way to install a contributed module in Drupal?

Full set: 120 questions
Answer options
A: Using the Drupal admin interface to install from the module repository Correct answer
B: Manually creating a custom module and adding contributed code
C: Modifying the Drupal core to integrate the module functionality
D: Directly editing the database to enable module settings
Correct Answer:
A. Using the Drupal admin interface to install from the module repository
Explanation

For a site builder, the recommended and most straightforward method for installing a contributed module is through the Drupal administrative user interface. From the "Extend" page (/admin/modules), a user with appropriate permissions can click "Install new module." This presents an interface to either upload the module's compressed file (e.g., .zip or .tar.gz) or provide a direct URL to it from its project page on Drupal.org. This process handles file placement and makes the module ready for enabling without requiring command-line access.

Why Incorrect

B: This describes the process of creating a new custom module, not installing an existing contributed one. C: Modifying Drupal core files is a critical anti-pattern that creates security risks and prevents easy updates. D: Directly manipulating the database is not the correct installation procedure and is highly likely to corrupt the site.

References

- Drupal.org. (n.d.). User Guide: 12.2. Installing a Module. Drupal Documentation. Retrieved from https://www.drupal.org/docs/userguide/en/module-install.html

- Drupal.org. (n.d.). Extending Drupal: Installing modules. Drupal Documentation. Retrieved from https://www.drupal.org/docs/extending-drupal/installing-modules

Scroll to Top