Olete.in
Articles
Mock Tests
๐งช Drupal MCQ Quiz Hub
Drupal Mcq Questions Unit 1
Choose a topic to test your knowledge and improve your Drupal skills
1. What is Drupal?
A free and open-source web content management framework written in PHP and distributed under the GNU General Public License.
Language Included Query
testing tool
None of the above
2. Which is used for handling filtering of content?
PHP
Roles
Filter
User
3. Which is OS-integrated logging?
Blog
Syslog
System
Dblog
4. โโ is create threaded discussions?
Story
Forum
Term
Vocab
5. Which is congestion control?
Roles
Throttle
Theme
Profile
6. Which is a way to organize your content?
Category
Taxonomy
Theme
Term
7. Which is remapping of old-style URLs?
Locale
Vocab
Search
Legacy
8. Assign actions to system events is _______?
Tracker
Filter
Term
Trigger
9. What is a Patch?
A file that consists of a list of differences between one set of files and another.
code
A patch is a file that consists of ports.
None of the above
10. ___ pattern is used in Drupal.
Singleton Design
Double Design
Array Design
None of the above
11. ___ is best for implementing Search in Drupal 8?
Solr Search module
Solr Side module
Server Search module
None of the above
12. ___ is a powerful core module, gives your sites use of the organizational keywords known in other systems as categories, tags, or metadata.
Taxonomy
tuple
trigger
None of the above
13. ___ are the pieces of content that can be rendered anywhere on your Drupal website.
Blocks
Nodes
Texonomy
All of the above
14. What is node in drupal?
A node is any piece of individual content, such as a page, poll, article etc.
Nodes are the pieces of content that can be rendered anywhere on your Drupal website.
Module
All of the above
15. ___ are modules in drupal.
Core modules
Contributed modules
CustomModules
All of the above
16. __ is a command line interface that help us to speed up administrative and development tasks for Drupal websites.
Drush
Dash
skrew
All of the above
17. Which is extending user account information?
Poll
Locale
Profile
Module
18. A CSS file (or files) replacing the default CSS of a theme or engine. Appears in the theme selection list with the same precedence as themes and templates
Page
Story
Style
Node
19. What are the translations available in Drupal?
Catalan
French
Hungarian
All of the above
20. Which is the name of the whole system and the name of the module that implements it. This used to be the name of the menu item in the admin menu?
Node
Taxonomy
Category
Color
21. What are the core required modules in drupal 6.x?
Block
Filter
Node
All of the above
22. What are the key features of Drupal?
Upload Module
Embedding
Both A and B
None of these
23. What modules are recommended in Drupal?
Views
Panels
Ctools
All of the above
24. What are caching works in Drupal?
Page Caching
Block Caching
Minimum cache lifetime
All the above mentioned
25. Which is customize site navigation?
Help
Term
Menu
Ping
26. Which is publishing syndicated content?
Legacy
Trigger
Category
Aggregator
27. Which is OS-integrated logging?
D blog
System
Syslogcorrect
Blog
28. Which is used for handling filtering of content? A.
PHP Filter
Roles
Filter
User
29. Which is controlling content in the sidebars?
Book
Blog
D blog
Block
30. What are the features of Drupal?
It designs highly flexible, a creative website to the users and display more effectively to increase the visitors
Drupal can publish your content on social media such as Twitter, Facebook, and other social mediums
both (a) and (b)
None of these
31. What are the most commonly used PHP based CMSs? A. Drupal B. Joomla C. WordPress D.
Filter
Term
Tracker
All of these
32. Drupal was found in the year of
2000
2011
2012
2013
33. In Drupal, how to slide content title?
Using Module and Slick_views controller
Using Slick and Slick_views Views
Using Slick and Slick_views module
None of the above
34. What does running cron do?
executes tasks on behalf of installed modules
uninstalls Drupal
returns Drupal to default settings
None of the above
35. What is the URL of default home page in Drupal 7?
base_url/node
base_url/page
base_url/homepage
base_url/home
36. Which module is part of Drupal 7 core?
Views
Date
Webform
Image
37. Which of the following is a way to programmatically get a view content in the template file?
drupal_get_view_content()
import view file via include()
views_get_view()
via admin interface
38. Which of the following will not improve Drupal performance?
Install Boost
Enable Views caches
Add the line ini_set('memory_limit','512M') to settings.php
Install Varnish
39. How does 'Promoted to front page' affect your content?
Makes the node your home page.
Does not publish the node on your front page. Bad use for RSS feed.
Sends all users to home page.
Publishes the node on your front page. Good use for RSS feed.
40. If your login block was disabled, to what URL could you navigate to login?
www.mysite.com/login
www.mysite.com/admin
www.mysite.com/user
www.mysite.com/wp-admin
41. What does the term Drush refer to?
A powerful command line utility for Drupal administration
It refers to a contributed module
The first name of the Drupal creator
Drupal jargon for a Drupal cache clear operation
42. Which of the following is a Drupal layer?
Modules
Data (Nodes etc)
All of the given options are correct
Block and Menus
43. Which of the following is a valid encoding for .info file?
UTF-32
UTF-16
UTF-8
UTF-7
44. Ckeditor, Fckeditor, WYSIWYG are examples of
module editors
permissions and user control editors
text editor modules
None of these
45. How do you enable a module?
Navigate to Blocks > check the box next to the module > Save
Navigate to Configuration > check the box next to the module > Save
Navigate to Structure > check the box next to the module > Save
Navigate to Modules > check the box next to the module > Save
46. Page template files are written in
javascript
php
sql
html
47. Drupal core includes which JavaScript library?
Script.aculo.us
MooTools
jQuery
Prototype
48. Drupal belongs to a category of
Content Management Systems
Content Creation Applications
Web Portals
Content Managed Solutions
49. What is the purpose of taxonomy?
Taxonomy is used to label and sort images on your site.
Taxonomy allows you to create custom terms that you can then use to classify content on your website.
Taxonomy is used primarily to determine user roles on your site.
Taxonomy enables you to filter modules enabled on your site.
50. Which hook is used to alter the Drupal menu?
hook_uri_alter
hook_menu_alter
hook_path_alter
hook_url_alter
51. Where do I change my site name?
Configuration
Site Information
Structure
Content
52. In Drupal 6, which of these data structures can Views list?
Taxonomy Terms
All of these.
Comments
Users
53. Which of the following drupal module allows users to rename URLs?
Path
Statistics
Log
Action
54. Which are the core required modules in drupal 6.x ?
Node
System
Block
All of them
55. Where are contrib modules uploaded?
sites > default > files
modules > upload
modules
sites > all > modules
56. I want to change the URL of my front page. Where should this be done?
Modules
Site Information
Appearance
Structure
57. Where should you add contributed modules for Drupal
In the modules folder
In the /sites/default/files folder on your web server
In the /sites/all/modules folder on your web server
Anywhere on your web server, Drupal just knows where to find them
58. Which of the following is TRUE about Drupal?
Drupal is a multi-user system
Drupal is a free, open-source
Its a web development platform
All of the given options are correct
59. Which of the following drupal module allows a site to capture votes on different topics in the form of multiple-choice questions?
Content translation
Option
Locale
Poll
60. A single user can have more than one role.
False
True
Error
None of These
61. _____ is a command line shell and scripting interface for Drupal
Drush
DrupalSC
Druline
Druit
62. Which module is used to categorize data in Drupal 7?
Blocks
Term
Category
Taxonomy
63. Where can you see a list of comments and publish/unpublish them?
People > List
Content > Comments
Configuration > People > Comment Notify
Forums > Settings
64. Which of the following represents each item of content in a site
Block
Filter
Node
System
65. What essential steps should be taken to create a subtheme of the Garland theme name Mytheme?
The Subtheme module needs to be installed
Create a mytheme folder in sites/all/themes; create a mytheme.info file inside mytheme/;add the lines "name = Mytheme" , "core =6.x" and "base theme = garland" to the myt
Edit the Garland files by doing a bulk search and replace all "garland" strings with "mytheme"
Create a mytheme folder in sites/all/themes; copy themes/garland/page.tpl.php
66. I have fans signing up on my site. I want those fans to have access to special content. I will need to create a new user role, where do you create new roles?
Navigate to Add Content > Permissions Tab > Roles > Add Role
Navigate to Content > Permissions Tab > Roles > Add Role
Navigate to People > Permissions Tab > Roles > Add Role
Navigate to Modules > Permissions Tab > Roles > Add Role
67. Drupal core has built-in _____ javascript framework.
Moo Tools
Dojo Toolkit
jQuery
Prototype
68. You've downloaded and installed a new theme. How do you make it the default?
Content > Add Content > Media, scroll to disabled themes. Enable desired theme and click, "set as default."
Appearance > List, scroll to disabled themes. Enable desired theme and click, "set as default."
Configuration > System > Site Information, scroll to disabled themes. Enable desired theme and click, "set as default."
Structure > Views, scroll to disabled themes. Enable desired theme and click, "set as default."
69. Themes under most circumstances should be installed in the directory...
[site-name]/files/themes
sites/all/themes
sites/default/themes
package/install/themes
70. Which of these templates are not supported in Drupal 6 core modules without extra coding?
comment.tpl.php
block.tpl.php
taxonomy-term.tpl.php
node.tpl.php
71. Which of these modules are part of D6 core?
Block
Text
Number
Nodereference
72. Drupal modules are compatible with Joomla and Magento.
Yes
No
Only with Magento
Only with Joomla.
73. Which of the following is a valid Drupal caching option?
Boost
Memcache
Core Drupal Cache
All of the given options are correct
74. How can the default front page be changed?
Enable the frontpage View
Navigate to admin/settings/site-information and set a new Drupal path
Write a redirection in .htaccess
None of These
75. Who is user/1?
a database user
account created immediately after installing a new Drupal site
any user with administrative permissions
None of These
76. How do you alter any form in Drupal?
hook_form_alter()
edit the form's template file
drupal_get_form()
any Drupal form can be altered via Webform module
77. Suppose there is a view that lists taxonomy terms and the terms are arranged in a hierarchy with depth 1. How can the view be modified to show only the top parent term at depth 0?
You need to install the Views Custom Field module
You need to clone the taxonomy vocabulary and eliminate all child terms
You can only do this by hard-coding the term names you want to display
Add a Parent term relationship and set the Term field to use the Parent term relationship
78. Which of the following modules must be enabled in order to translate languages?
Core
Language
Locale
OpenID
79. What files are required to create a custom Drupal module called mymodule?
mymodule.php
mymodule.inc and README.txt
mymodule.info and mymodule.module
hook_mymodule.module and mymodule.info
80. _____ is not a default core module included with Drupal 6 and higher.
forum
commerce
book
menu
81. What does the /user/ path do (by default, without modifications)?
Shows the login form (anonymous) or currently logged in user profile.
Shows the login form.
Shows all the users in the system.
None of these
82. What can you do with URL Aliases?
Optionally specify an alternative URL by which the content can not be accessed.
Optionally specify an alternative domain by which the content can be accessed.
Optionally specify an alternative URL by which the content can be accessed.
Redirects block user and sends them to a new URL path.
83. When creating a view that uses filters, you have the option of exposing the filter to site visitors. What does this enable?
Site visitors can choose the theme and color scheme used by your site.
Site visitors can select what types of email notifications they would like to receive.
Site visitors can customize the view they are looking at with one or more sort controls.
Site visitors can select their own permissions levels.
84. In a Drupal 6 site, what can be done to improve the experience of a 404 not found error message?
Create a custom page apologizing for the error and navigate to admin/settings/error-reporting to specify the page path
Install the Pathauto module
Edit the web server configuration file to modify the error message
Install the Global Redirect module
85. Drupal 6 (and up) tests for clean URL compatibility during installation.
False
True
Error
None of the above
86. Which of the following Drupal module allow people to choose a list of nodes or other entities and present them as pages, blocks, RSS feeds, or other formats?
Views
Book
Contact
Aggregator
87. What is the difference between the Main Menu and User Menu?
Main menu is use by only site administrators to complete admin tasks; User menu contains links related to user account.
Main menu contains links related to user account; user menu shows major sections of the site.
Main menu and user menu are the same.
Main menu shows major sections of site; User menu contains links related to user account.
88. Which of the following actions cannot be triggered using the trigger module?
Send site to maintenance mode.
Fire actions on certain system events, such as when new content is created.
Sends new users an email notification.
Send email alerts.
89. Which of these comes as a part of core in Drupal 6?
Views
CCK
Panels
Blocks
90. Which of the following are discrete chunks of information that are displayed in the regions of a site's pages?
Modules
Regions
Menus
Block
Submit