Acquia Certified Drupal Site Builder Exam for Drupal 10, 11 Questions and Answers
You have a website which is using a custom theme made specifically for that website. The client complains that content creators see an admin theme called "Claro" while creating or editing content. They want to see the content edit page in their own custom theme, but keep the other admin section in the Claro theme.
How can you achieve this?
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?
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?
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?
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?
While building a new site, you are working with the default frontend theme. You have placed custom blocks in available regions. After some time, you decide to install a new contributed theme, and set it as the default for the site.
After switching to the new theme, you notice that many of your blocks have disappeared!
What is the likely reason for this?
The development team does monthly releases to the production system. The deployment lasts for an hour. During the deployment time, the site is put into maintenance mode. You want a certain set of users to be able to access the site during maintenance mode as well.
How do you accomplish this?
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?
What is meant by headless Drupal?
(Select 2 options)
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?
You are building a conference website. All attendees are required to submit an RSVP form. The submissions of the form should be emailed to the attendee and site administrator.
How will you build this functionality?
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?
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?
You run a site that attracts almost all of its users from France, even though you created the site in Australia. A number of users have started complaining that content publication times do not match their local time.
Which two solutions allow users to view content in their local timezone?
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?