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

Drupal-Site-Builder Questions and Answers

Question # 6

You have installed a contributed module called "Sample Module" that looks like it will be a great fit for the business case you are trying to solve. However, upon closer examination, it looks like the module only supplies a drush command; it does not have an admin interface.

As a site builder with no command-line experience, this will not work for you! You need a web user interface to use this module.

How should you request a web UI in the module's issue queue?

A.

Create a "Bug Report" issue for the module with the subject line, "Create web UI for Sample Module."

B.

Create a "Plan" issue for the module with the subject line, "Create web UI for Sample Module."

C.

Create a "Feature Request" issue for the module with the subject line, "Create web UI for Sample Module."

D.

Create a "Feature Request" issue for the module with the subject line, "URGENT: Module Broken!!! Needs UI."

Full Access
Question # 7

You are building a recipe site in which users submit their favorite recipes as nodes, tagged with common ingredients from a carefully curated taxonomy vocabulary. You've been asked to create a page on which site visitors can select the ingredients they have on hand and view all the site's recipes that use those ingredients. You've already created a view listing all Recipe nodes.

How can you modify the view to support filtering by ingredient?

A.

For each ingredient, create a separate view display with a contextual filter to limit results by that ingredient.

B.

Include a "Combine fields" filter that searches all fields for the ingredient name(s) the user enters.

C.

Create a filter using the Recipe content type's "Ingredients" field. Expose the filter to users, making sure it allows multiple selections.

D.

Add a menu block listing all ingredients. Each item in the menu block should link to a subdirectory URL associated with the listed ingredient.

Full Access
Question # 8

Your website has a content type named "Cars for sale" with a Taxonomy reference field for "Manufacturer" vocabulary. You have a view listing all the cars for sale. You wish to display different background colors to the cars rows based on the value of the Manufacturer field.

How can you add a CSS class to each row of the view based on the value of the Manufacturer field?

A.

Add an attachment to the view that use field token for the Manufacturer field as CSS class values to all rows

B.

Add a new custom field to the view named CSS class and add a field token for Manufacturer field as values.

C.

Add the field token for Manufacturer field as a Row class in the Format > Settings of the display.

D.

Add the field token for the Manufacturer field under group-by options of the display.

Full Access
Question # 9

You are building a gaming site where users are teamed based on their favorite weapon.

How will you provide the ability for users to select their favorite weapon?

A.

In Account settings, go to Manage fields and add field for "Favorite weapon"

B.

Create a vocabulary with a list of weapons as terms and check the "Display on user profile" checkbox.

C.

Create a Content Type "Weapons" and create a view. Show this view on /user.

D.

Create a Content Type "Users" which has "Favorite Weapon" field. Use the content type as user profiles.

Full Access
Question # 10

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.

Full Access
Question # 11

You have a content type "Places" which lists tourist destinations of different countries. You would like the visitors to be able to mark their country while commenting on "Places". This does not apply to other content types.

How will you build this functionality?

A.

Obtain country information from the user profile field while adding comments.

B.

Create a new comment type with a new field "Country" and associate it with Places content type.

C.

Create a "Country" vocabulary and add a term reference field to "Places" content type.

D.

Use the GeoIP module to tag users with their locations.

Full Access
Question # 12

Your website has a content type named Hotel with a Taxonomy reference field for Landmarks vocabulary. You want to create a view to list all the hotels filtered by landmarks as a contextual filter.

How will you pass the term name in the URL for the contextual filter?

A.

Add Landmarks vocabulary as an exposed filter pass term name as the filter value.

B.

Add Landmarks vocabulary as a contextual filter and pass term name as a contextual filter.

C.

Add Landmarks vocabulary both as an exposed filter and contextual filter.

D.

Add Landmarks vocabulary as a relationship and then add Landmarks vocabulary as a contextual filter.

Full Access
Question # 13

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?

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.

Full Access
Question # 14

You need to add a "Star performer" block into your company's website. The block should show the name and picture of a selected star performer employee and should be editable in the normal block layout interface. All the employees are users of the website.

How do you implement the block?

A.

Install the user_blocks module from Drupal.org, select the fields you need and place block via block layout.

B.

Create a new Users View with user name field and user picture and an exposed filter on uid. Add a block display to the view and place the block in the block layout.

C.

Add a custom block and select the type "user account information", activate the user name and picture fields.

D.

Create a user view mode with user name and picture. Add a user reference field to one of your block types and let the user reference field use the new user view mode.

Full Access
Question # 15

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.

Full Access