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

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

Page: 1 / 2
Total 50 questions

A "Hotel Review" content type includes an entity reference field, "field_related_hotel," to associate each Hotel Review with a "Hotel" node. You are asked to add a sidebar block to the Hotel node display that shows a list of related reviews.

How can you build this functionality?

A.

Create a View of Hotel Review nodes, with a relationship to content referenced from field_related_hotel, and a contextual filter by ID using the relationship, set to use "Content ID from URL". Add the block to the Hotel nodes display.

B.

Create a view of Hotel nodes, with a relationship to field_related_hotel, and add the title field using the relationship. Add the block to the Hotel nodes display.

C.

Add "field_related_hotel" to the Hotel content type and use css to display the field in the sidebar region.

D.

Add the "show related content" block to the Hotel nodes display. Set it to include only nodes of type "Hotel Review"

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?

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.

A new customer has asked, why a Drupal-based website will be more flexible over a custom developed website.

Which THREE Drupal features would you explain to the customer?

A.

Drupal can be used as a headless CMS out of the box.

B.

Drupal provides comprehensive content modeling and listing of content using UI.

C.

Drupal.org has an online store where you can purchase modules and themes.

D.

Drupal allows you to directly rename database columns from the UI.

E.

Drupal has a comprehensive and feature rich administrative UI out of the box.

The UX team has suggested that “Social share” buttons currently visible in the sidebar region should be moved to the footer. The Social share buttons are implemented in a custom block.

How should you make the requested changes?

A.

Using the "Basic page" content type's "Manage display" interface, drag the existing block from the Sidebar region to the Footer region.

B.

From the block layout admin page, drag the existing block from the Sidebar region to the Footer region.

C.

From the "Appearance" admin page, reconfigure the site's theme to place the block in the Footer region instead of the Sidebar.

D.

For each content type, use the Layout Builder module's "manage layout" feature to reassign the block from the Sidebar region to the Footer region.

Your Main navigation menu has two levels of menu items like sections, and child pages within each section. Your UX team wants to make it easier for a site visitor viewing a child page to see what other pages are in that section. They have asked you to add a submenu to the Sidebar region on child pages.

How can you add a submenu to the child pages that shows all child pages in the section?

A.

Add the Main navigation menu to the Sidebar region, and use CSS to hide the top level menu items.

B.

In Block layout, place the Main navigation block in the Sidebar region. Set the initial visibility level to 1.

C.

In Block layout, place the Main navigation block in the Sidebar region. Set the initial visibility level to 2.

D.

Create a new menu for each main section containing links for each child page, and add each menu's block to the Sidebar region.

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?

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.

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?

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

You manage an online store which sells digital photos. The site hosts thousands of photos from multiple categories. Each photo has a unique description. Your client has specified that the photo description should be stored along with the image file while adding images to the photo content type. The images can be reused on other pieces of content like landing pages, blog posts etc.

How will you build the functionality to store image descriptions along with images? (Select 2 options)

A.

Create a media type with an image and the description field. Use the media reference field to link this with the content.

B.

Search for the contributed module for adding image descriptions, as Drupal can't provide this feature out of box.

C.

Create a content type which will have an image and description field, and link this to any content using the entity reference field.

D.

Add description field to the pre-existing image media type. Use the media reference field to link this with content.

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?

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.

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?

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.