Drupal Drupal Site Building & Configuration 2 — Questions and Answers
Question 1: Which Drupal Views display type renders content as an RSS feed?
- Page
- Block
- Feed (Correct answer)
- Attachment
Correct answer: Feed
The 'Feed' display type in Views generates an RSS/Atom feed output that can be subscribed to by news readers.
Question 2: What does the 'Contextual filters' feature in Drupal Views allow you to do?
- Apply AJAX pagination
- Filter view results based on URL arguments or context (Correct answer)
- Cache view output per user role
- Restrict views to authenticated users only
Correct answer: Filter view results based on URL arguments or context
Contextual filters dynamically limit a View's result set based on arguments passed through the URL or from the page context.
Question 3: In Drupal, which module provides the administrative interface for managing image styles?
- Media
- Image (core) (Correct answer)
- CKEditor
- Crop API
Correct answer: Image (core)
The core Image module provides the 'Image styles' admin UI where you define scale, crop, and other image effects.
Question 4: What is the role of the 'Pathauto' module in Drupal site building?
- Generate sitemaps automatically
- Create URL aliases based on configurable patterns (Correct answer)
- Redirect broken URLs to valid paths
- Block bots from crawling admin pages
Correct answer: Create URL aliases based on configurable patterns
Pathauto automatically generates clean URL aliases for nodes, taxonomy terms, and users using token-based patterns.
Question 5: Which Drupal core module must be enabled to use the Layout Builder feature for page layouts?
- Panels
- Display Suite
- Layout Builder (core) (Correct answer)
- Paragraphs
Correct answer: Layout Builder (core)
Layout Builder is a Drupal core module that provides a drag-and-drop interface for building page and content type layouts.
Question 6: In Drupal's menu system, what is the maximum recommended depth for nested menu items for usability?
- 2 levels
- 3 levels (Correct answer)
- 5 levels
- Unlimited levels
Correct answer: 3 levels
Best practice recommends no more than 3 levels of menu nesting to maintain usability and clear site navigation.
Which Drupal Views display type renders content as an RSS feed?