Pre-Summer Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70percent

Acquia Drupal-Site-Builder Acquia Certified Drupal Site Builder Exam for Drupal 10, 11 Exam Practice Test

Acquia Certified Drupal Site Builder Exam for Drupal 10, 11 Questions and Answers

Question 1

You have created a new View on the development environment.

How will you export the View to the production environment?

Options:

A.

Select synchronize configurations option on production environment

B.

Use backup and migrate module to export the view

C.

This requires development effort and cannot be done by Drupal admin interface

D.

Make the required changes to the development site. Partial export using single export option and import on the live site

Question 2

The site you are managing has a "Comments approval" process. You have moderators with appropriate permissions to review and approve comments. The moderators want to see all the unapproved comments sorted by the node on which they are posted, but they can't do this on the Comments approval page.

What is the simplest way to solve this problem?

Options:

A.

Have the content editor review comments by visiting the node instead of using the Comments page.

B.

Edit the Comments View, and update the table settings to make the Entity ID field sortable.

C.

Create a View of unapproved comments and set the sort order to "Entity ID."

D.

Create an Export view, so the content editor can review comments in a spreadsheet.

Question 3

Users are complaining that listing pages with a large number of images are loading very slowly. On reviewing this you found that full-sized images are loaded while displaying thumbnails.

How will you ensure that smaller sized images are used as thumbnails?

Options:

A.

Enable the "Optimize images" option on the Performance administration page.

B.

Use an image style to resize the images.

C.

Use JavaScript to resize the images.

D.

Use CSS to resize the images.

Question 4

You have created a new Article node with a title, an image and a body field. Your site is configured to use Drupal's core search. If you search for a phrase which is used in your new article, the article is not returned in the search results. Search is otherwise working correctly.

Why is your article not appearing in the search results?

Options:

A.

The core search module must be configured to recognize the search term.

B.

Drupal core search does not work very well, and you should use a contributed module for search instead.

C.

Cron has not run since you added the article, so Drupal has not indexed the new article yet.

D.

You did not check the "Add to search index" checkbox when creating your article.

Question 5

You have created a custom block “Festival Offer” and placed this block in the header section of your site. Your site has a “Premium customer” user role. You need to show this block only on the front page and only to users who have a “Premium customer” user role.

Which two visibility settings you need to make to the “Festival Offer” block to achieve these requirements?

Options:

A.

Select the user role "Premium customer" from the Roles tab.

B.

Add < front > path in the Pages tab and select "Show for the listed pages".

C.

Remove < front > path in the Pages tab & select "Hide for the listed pages".

D.

Select the user role "Authenticated user" from the Roles tab.

Question 6

Your customer support department has asked to build a form on your Drupal website. The form should have the following fields: Subject (text plain), Name (text plain), Email (Email), Message (text long), Attachment (file).

A developer built the form without any validations or restrictions. The form is accessible to Anonymous users of the site.

What is the potential security threat with this form?

Options:

A.

Anonymous users should not have access to forms.

B.

Anonymous users can upload corrupted or virus-infected files to your server.

C.

Putting a very long text into the message field, may timeout the form submit.

D.

There are no security issues with this form.

Question 7

You have downloaded a contributed module and added it to modules/contrib folder on your Drupal site. However, you are unable to install the module as the checkbox next to the module name appears disabled on the Extend page.

What could be the reason of this?

Options:

A.

The module was not downloaded using Drupal's UI

B.

modules/contrib is incorrect folder for contributed modules

C.

You do not have 'install modules' permission

D.

A module on which the current module has a dependency is missing

Question 8

You are using a contributed module named Lotus. You have read the module's documentation and ensured it is configured correctly. However, certain functionality of the module is not working as intended.

How should you find help?

(Select 2 options)

Options:

A.

Search for answers and ask questions in the module's issue queue on drupal.org.

B.

Ask questions in the drupal-support channel on IRC or in the support channel on Drupal Slack group.

C.

Create a comment of type "support request" on the module's project page.

D.

Email the module's maintainer and ask for help.

Question 9

Your website is showing a warning message that a contributed module "Password Policy" has a new security update.

What action will you take?

Options:

A.

No action is needed as security updates are not important.

B.

Uninstall the currently installed module. Download the latest version of the module and configure it again.

C.

Drupal will update and install security update automatically on the next cron run.

D.

Download the latest version of the module. And visit the update.php page to complete the update.

Question 10

Recent log entries of your site show that there are too many failed login attempts for the site super admin user (user 1).

How can you better secure the Drupal super admin user (user 1) from outside attacks?

Options:

A.

Only allow members of the Drupal community in good standing to be user 1.

B.

Cancel the user account for user 1.

C.

Remove the "Administrator" role from user 1, which makes them an anonymous user.

D.

Do not give this user an obvious name like "admin" or "administrator" which are too easy to guess.

Question 11

Your site is experiencing high page load times. When looking at recent log messages, you noticed a high frequency of "page not found" messages from a single IP address. On further investigation, the IP address was tracked to a suspicious crawler.

Which step will you take to improve site performance?

Options:

A.

Enable "Ban" module and configure it to ban the IP address found in the logs.

B.

Visit the Performance administration page, select "enable fast 404s".

C.

Visit the Search administration page, select redirect 404s to the search page.

D.

No action needed, Drupal automatically blocks any such suspicious visitors.

Question 12

Your client copies HTML from an external source and pastes into the default WYSIWYG Editor on your site (CKEditor). The client has come to you complaining of broken HTML being displayed on the site. The CKEditor is configured to use Full HTML text format allowing all HTML elements and should continue to allow all elements.

How would you fix the issue of broken HTML?

Options:

A.

Suggest using an online HTML validator before pasting into CKEditor

B.

Use JavaScript HTML corrector plugin in your CKEditor

C.

Enable "Limit allowed HTML tags and correct faulty HTML" option on Full HTML

D.

Enable "Correct faulty and chopped off HTML" filter on Full HTML text format

Question 13

You manage a popular news portal which has a very busy comments section. You've been asked to add several new fields and a View for the news area of a site. The QA team wants to review your work in staging before rolling everything out to production at once. The editorial team has specified that the site's comments activity should not be affected by these changes.

How can you meet these requirements without having to create the new functionality independently in both environments?

Options:

A.

Copy the production database into the staging environment. Create the fields and View there. Once QA is satisfied, copy the staging database into the production environment.

B.

Configuration created in the staging environment is automatically available to the production environment since they share a database.

C.

Create the fields and View in a fresh installation of Drupal core. Export the site configuration into your site's existing codebase, push the code to the staging environment, and import the site configuration there. Once QA is satisfied, repeat the process in production.

D.

Create the fields and View in a development copy of the site. Export the site configuration to code. Push that code to the staging environment and import the site configuration there. Once QA is satisfied, repeat the process in production.

Question 14

You wish to display the "Recent content" block in the sidebar region on all the article pages only. The block should be hidden on all other pages.

How do you accomplish this?

Options:

A.

Add the Recent content block to all pages, and hide it from non-Article pages using CSS.

B.

Edit Article Content type and check the "show recent content" option.

C.

Check the "show recent content" option in the site branding block, and set it to be visible only for Article Content type.

D.

In the Block layout settings, add the Recent content block to the Sidebar section and set the block to be visible for the "Article" Content type.

Question 15

An audit of a corporate Drupal website revealed that a lot of user accounts are being created on the site, with the status "blocked". The site was initially set up to allow editors to self-register with additional administrator approval. However, the audit revealed that robots are creating a lot of user accounts and administrators are not able to keep up with the approval process.

How can we eliminate fake user registration?

Options:

A.

Configure new user accounts to "require email verification when a visitor creates an account."

B.

Enable the Drupal core captcha field on the user registration form.

C.

Hide user login by disabling the login block and/or move the login page.

D.

Change who can register accounts to "Administrators only."