You are responsible for a Drupal recipe site. Currently, each recipe node can have a title, body text and image. To provide a better user experience, you have been asked to allow each recipe to be freely tagged by its author. How can you provide free tagging for the recipe nodes?
-
A
From the recipe content type's "Manage form display" page, drag the Tags" field up out of the"Disabled" section.
-
B
From the recipe content type's "Manage display" page, enable the "display free tagging information" option.
-
C
From *ne recipe content type's "Manage fields" page, create a text field called "Tags". Ensure it can accept multiple values.
-
D
From the recipe content type's "Manage fields" page, create a Taxonomy term reference field, referencing the tags vocabulary. Check "Create referenced entities if they don't already exist."
Reveal answer details
Close answer details
Your company has multiple offices around the world, each of which has its own detail page on the company website Offices willbe added regularly by the content maintenance team, with each office assigned to one of a limited number of global regions You've been asked to create a directory page listing all of these offices, grouped by region In order to keep the list of regions small, you've been asked to make sure that only site administrators can create, modify, or delete regions. What kind of Drupal content architecture would best support this?
-
A
Create an "Office" content type and a "Region" content type The "Region" content type includes a node reference field that can contain multiple office nodes.
-
B
Create an "Office" content type and a "Regions" taxonomy vocabulary Office nodes are assigned to regions using a term reference field on the "Office" content type
-
C
Each officeis a "Basic page" node The office's regional location should be listed in the node's body text
-
D
Create a "Regions'" taxonomy vocabulary Each office is a "Basic page" node, assigned to its region using a term reference field added to the "Basic page" content type
Reveal answer details
Close answer details
On a site you manage there is a contact form that works well for the Retail Sales unit, but the Commercial Sales manager doesn't want to receive submissions that are about retail products. How can you solve this problem in Drupal?
-
A
Add "Retail Sales" and "Business Sales" categories to the contact form, and set up a Recipients list for each category
-
B
Add a new contact form for Commercial Sales inquiries, and update the Recipients list for each form to send submissions to the right people.
-
C
Use an add-on module like Webform. since Core doesn't offer this feature
-
D
Since there is only one Contact form, create a Content type with fields to collect the information Commercial Sales needs, and set permissions to allow anonymous users to create content
Reveal answer details
Close answer details
The editor reports that when editing a page, the "Body" field does not show the WYSIWYG toolbar. What is the most likely reason?
-
A
The "Text Editor" module is disabled.
-
B
The field is using a text format without an editor assigned.
-
C
The user does not have the "Administer text formats" permission.
-
D
The toolbar has been hidden in the theme configuration.
Reveal answer details
Close answer details
Your product branding team has asked you to reconfigure all image fields in all places where they are used, to remove "gif from the Allowed file extensions. How can you find all the places an image field is being used1?
-
A
Go to Content, and filter by Field type = Image
-
B
Go to Content ?Files, and for each row of Mime type";image"; check the";Used i"; column
-
C
Goto Reports ?Field list, and find each row where Field type is";Image (moduleimage";
-
D
Go to Structure ?Content types and for each one, click";Manage field"; and find any fields of type "Image."
Reveal answer details
Close answer details
The marketing department has decided that a call-to-action button currently in the site footer should be moved to the sidebar for higher visibility. The button is currently implemented in a custom block. How should you make the requested changes?
-
A
From the block layout adminpage, drag the existing block from the Footer region to the Sidebar region
-
B
Using the "Basic page" content type's "Manage display" interface, drag the existing block from the Footer region to the Sidebar region.
-
C
For each content type, use the LayoutBuilder module's 'manage layout" feature to reassign the block from the Footer region to the Sidebar region
-
D
From the "Appearance" admin page, reconfigure the site's theme to place the block in the Sidebar region instead of the Footer.
Reveal answer details
Close answer details
You are asked to make a block visible only on content pages belonging to the "Blog" content type. How do you configure this?
-
A
In Block layout, under Visibility → Content type, select "Blog".
-
B
In Block layout, set Visibility → Path to /blog/*.
-
C
Add a Contextual filter to limit by Blog content type.
-
D
Add a taxonomy condition in the block's visibility settings.
Reveal answer details
Close answer details
You are building a site for a membership organization, which will include a member directory Thedirectory will show each member's name, local chapter, and the U.S. state the chapter is in. Members are users, who select a local chapter when they register Each chapter has a page with a photo There are no pages for states; but other kinds of content areassociated with states
-
A
"State is a content type, with nodes for each state. "Chapter" is a content type with a taxonomy term reference field to "State" and an image field for the photo In Account settings there is a content reference field to "Chapter."
-
B
"State'' is a content type with an entity reference field to Chapter "Chapter" is a content type with an entity reference field to Member "Member" is a content type with a user reference field.
-
C
"State17 is a taxonomy, with terms for U.S. state names "Chapter" is a content type with a taxonomy term reference field to "State," an image field for the photo, and a multi-select user reference field
-
D
"State" is a taxonomy, with terms for U.S. state names "Chapter" is a content type with a taxonomy termreference field to "State" and an image field for the photo In Account settings there is a content reference field to "Chapter"
Reveal answer details
Close answer details
You are running a Drupal 8 site, and the Status report page shows two errors that there is a security update available for your version of Drupal, and that the trusted_host_patterns setting is not configured in settings.php What are the next steps to solve these errors?
-
A
Update Drupal core and configure the trusted_host_patterns setting in your settings php file
-
B
Update Drupal core This will fix both errors, since updating Drupal automatically updates settings php
-
C
Update Drupal core and enable the Trusted Host Settings module.
-
D
Update Drupal core, using the "update settings" option
Reveal answer details
Close answer details
Question 10
Single choice
Your Mam navigation menu has two levels of menu items site 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
Create a new menu for each main section containing links for each child page, and add each menu's block to the Sidebar region
-
B
Add the Main navigation menu to the Sidebar region, and use CSS to hide the top level menu items
-
C
In Block layout,place the Main navigation block in the Sidebar region Set the Initial visibility level to
-
D
In Block layout, place the Main navigation block in the Sidebar region. Set the Initial visibility level to 2
Reveal answer details
Close answer details
|