MCQs > IT & Programming > Drupal MCQs > Basic Drupal MCQs

Basic Drupal MCQ

1.

In Drupal, how to slide content title?

Answer

Correct Answer: None of the above

Note: This Question is unanswered, help us to find answer for this one

2.

Drupal core ships with a rich caching API, defaulting to ________ caching.

Answer

Correct Answer: Database

Note: This Question is unanswered, help us to find answer for this one

3.

Which of the following is the correct way of debugging a Drupal application?

Answer

Correct Answer: All of the above

Note: This Question is unanswered, help us to find answer for this one

4.

What is the purpose of views?

Answer

Correct Answer: Views organize the data from several nodes into one place and are presented on views and blocks.

Note: This Question is unanswered, help us to find answer for this one

5.

What is the PHP function to check if a block region has blocks in Drupal 8?

Answer

Correct Answer: Drupal_render

Note: This Question is unanswered, help us to find answer for this one

6.

Which one of the following is a correct way to use Render API to output a link?

Answer

Correct Answer: $output = array( '#type' => 'link', '#title' => 'About', '#url' = > 'about', );

Note: This Question is unanswered, help us to find answer for this one

7.

Which of the following loop variables are available in twig? (Check all that apply)

Answer

Correct Answer: loop.index
loop.revindex
loop.index0
loop.length

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

8.

Blocks can contain which of the following Drupal data features?

Answer

Correct Answer: Themes, hooks, and template suggestions

Note: This Question is unanswered, help us to find answer for this one

9.

How can a table be dropped using the Module?

Answer

Correct Answer: Use db_drop_table in install file

Note: This Question is unanswered, help us to find answer for this one

10.

Which of the following shows helpful toolbar at the bottom of every page?

Answer

Correct Answer: Webprofiler

Note: This Question is unanswered, help us to find answer for this one

11.

The Internal Page Cache module is enabled by default in Drupal 8?

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

12.

In Drupal 8, the Internal Page Cache module which caches pages for anonymous users is enabled by default?

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

13.

20- array_key_exist() function that tells you if an array key exists regardless of the value?

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

14.

In Drupal, _______ arrays provide you a structured way to ______________  change the content ___________  it is displayed.

Answer

Correct Answer: Render, Programmatically, before

Note: This Question is unanswered, help us to find answer for this one

15.

What will be the output of following in Twig?


 {{ pi I round(2) }}

Answer

Correct Answer: 3.14

Note: This Question is unanswered, help us to find answer for this one

16.

7- In Drupal, Core modules also includes a hierarchicel taxanomy system, which allows content to be categorized?

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

17.

The minimum requirements for a custom module are:

Answer

Correct Answer: A folder [CUSTOM_MODULE] in the module directory with the files [CUSTOM_MODULE].info and [CUSTOM_MODULE].module in it.

Note: This Question is unanswered, help us to find answer for this one

18.

Which of the following can be used to fetch values sent programmatically to the view?

Answer

Correct Answer: Contextual Filter

Note: This Question is unanswered, help us to find answer for this one

19.

"Drupal 6.x modules are not compatible with Drupal 7.x'

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

20.

Which of the following is the correct way to organize your content?

Answer

Correct Answer: Taxonomy

Note: This Question is unanswered, help us to find answer for this one

21.

15- PDO(PHP Data Object), it is a lean and consistent way to access databases and It allows developers to re-write portable code with ease?

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

22.

What is the best way to add category fields to a Drupal content type?

Answer

Correct Answer: Categories

Note: This Question is unanswered, help us to find answer for this one

23.

"Dblog" module logs and records system events to the database.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

24.

Can we show SQL query for the view?

Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

25.

Which of the following pager settings are provided by views:

Answer

Correct Answer: Display a specified number of items

Note: This Question is unanswered, help us to find answer for this one

26.

Drupal is an open source CHS, you can create your own plugins.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

27.

Fields for content types can be presented and changed using which tool?

Answer

Correct Answer: Content Types

Note: This Question is unanswered, help us to find answer for this one

28.

Which of the following is a blog for every user?

Answer

Correct Answer: Blog

Note: This Question is unanswered, help us to find answer for this one

29.

Which of the following is the correct command to output configuration items that are different in active configuration compared with a directory?

Answer

Correct Answer: drupal config:diff [arguments] [options]

Note: This Question is unanswered, help us to find answer for this one

30.

In Drupal 8 custom modules can be placed inside which of the following directories? (choose all that apply)

Answer

Correct Answer: /sites/all/modules
/modules

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

31.

Which of the following is not secure for SQL queries?

Answer

Correct Answer: db_query('SELECT foo FROM {table} t WHERE t.name = '. $_GET['user']);

Note: This Question is unanswered, help us to find answer for this one

32.

If a custom module is listed on admin/modules but its checkbox is disabled, which of the following will fix it?

Answer

Correct Answer: Make sure that the core compatibility is set to 8.x in module_name.info.yml file core: 8.x

Note: This Question is unanswered, help us to find answer for this one

33.

How many spaces have to be used for indention?

Answer

Correct Answer: 2

Note: This Question is unanswered, help us to find answer for this one

34.

Which of the following is required to create a custom field in module?

Answer

Correct Answer: All of the above

Note: This Question is unanswered, help us to find answer for this one

35.

To provide a default configuration settings in a module, it is best to use :

Answer

Correct Answer: module.settings.yml

Note: This Question is unanswered, help us to find answer for this one

36.

Drupal 8 is built on _____________ framework?

Answer

Correct Answer: Symfony

Note: This Question is unanswered, help us to find answer for this one

37.

To create a custom block, we need to extend our block from which Class:

Answer

Correct Answer: BlockBase

Note: This Question is unanswered, help us to find answer for this one

38.

Which function is used to activate the DB?

Answer

Correct Answer: db_set_active()

Note: This Question is unanswered, help us to find answer for this one

39.

Which of the following file is required to create a Drupal 8 Module?

Answer

Correct Answer: MODULE_NAME.info.yml file (aka, "info yaml file") is required and ensure file has type: module

Note: This Question is unanswered, help us to find answer for this one

40.

Where can you find .info file?

Answer

Correct Answer: In themes

Note: This Question is unanswered, help us to find answer for this one

41.

Which of the following is the correct way to create dummy nodes for specific content type ?

Answer

Correct Answer: drupal create:nodes [arguments] [options]

Note: This Question is unanswered, help us to find answer for this one

42.

Which of the following is true to create dummy nodes for specific content type

Answer

Correct Answer: drupal create:nodes [arguments] [options]

Note: This Question is unanswered, help us to find answer for this one

43.

Which of the following Live Preview Settings are available for views?

Answer

Correct Answer: All of the above

Note: This Question is unanswered, help us to find answer for this one

44.

Which of the following is a DRUSH command?

Answer

Correct Answer: All of the above

Note: This Question is unanswered, help us to find answer for this one

45.

Which of the following is/are correct to execute cron implementations by module?

Answer

Correct Answer: drupal cre MODULE_NAME
drupal cron:execute MODULE_NAME

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

46.

Which file is used to create a menu link in a module?

Answer

Correct Answer: module.links.menu.yml

Note: This Question is unanswered, help us to find answer for this one

47.

Which of the following Menu types are not provided by views?

Answer

Correct Answer: Block menu

Note: This Question is unanswered, help us to find answer for this one

48.

What are Triggers?

Answer

Correct Answer: Triggers are programs that fire on certain events.

Note: This Question is unanswered, help us to find answer for this one

49.

Which of the following are required properties for route definition in module.routing.yml? (Check all that apply)

Answer

Correct Answer: path
defaults
requirements

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

50.

Which one of the following is true?

Answer

Correct Answer: Variables set in settings.php will override the variables set in settings.local.php

Note: This Question is unanswered, help us to find answer for this one

51.

Which options is provided by Views Debugging settings?

Answer

Correct Answer: Add Views signature to all SQL queries

Note: This Question is unanswered, help us to find answer for this one

52.

Which command can be used to check Drupal and its contrib modules updates?

Answer

Correct Answer: drush up

Note: This Question is unanswered, help us to find answer for this one

53.

Which of the following is the correct way to export view in YAML format inside module?

Answer

Correct Answer: drupal config:export:view [arguments] [options]

Note: This Question is unanswered, help us to find answer for this one

54.

Which of the following is an input format for the user content?

Answer

Correct Answer: Filter

Note: This Question is unanswered, help us to find answer for this one

55.

Which of the following code show all Notices and Errors?

Answer

Correct Answer: error_reporting(-1); $conf['error_level'] = 2; ini_set('display_errors', TRUE); ini_set('display_startup_errors', TRUE);

Note: This Question is unanswered, help us to find answer for this one

56.

Which role automatically receives all permissions when a new module is enabled?

Answer

Correct Answer: Administrator

Note: This Question is unanswered, help us to find answer for this one

57.

Which of the following codes can be used to set the regions in a Drupal theme?

Answer

Correct Answer: regions[header] = Header regions[content_header] = Content Header regions[content] = Content regions[sidebar_second] = Right sidebar

Note: This Question is unanswered, help us to find answer for this one

58.

You want to add a custom JavaScript file to be loaded on every page of your website. Where would be the best place to add this file if you had to choose between the next options?

Answer

Correct Answer: Custom theme: info file (scripts[])

Note: This Question is unanswered, help us to find answer for this one

59.

Which of the following notifications pertain to the new versions of Drupal and contributions?

Answer

Correct Answer: Update status

Note: This Question is unanswered, help us to find answer for this one

60.

Which of the following notifications about the new versions of Drupal and contributions?

Answer

Correct Answer: Update status

Note: This Question is unanswered, help us to find answer for this one

61.

Which option applies in order to change Public file base URL?

Answer

Correct Answer: Public file base URL can be changed using settings.php

Note: This Question is unanswered, help us to find answer for this one

62.

Which of the following options apply to change Public file base URL?

Answer

Correct Answer: Public file base URL can be changed using settings.php

Note: This Question is unanswered, help us to find answer for this one

63.

You have a view of teasers of a content type containing a referenced ID to a taxonomy term. You want each node in the view to show several fields of that taxonomy term. Which of the following would be best practice if you would do it programmatically?

Answer

Correct Answer: In the template.php file through the hook_preprocess_node() function load the needed fields and put them in a variable.

Note: This Question is unanswered, help us to find answer for this one

64.

Which code can be used to change date_popup date format in form?

Answer

Correct Answer: $form['mymodule_start_date'] = array( '#type' => 'date_popup', '#title' => t('Start date'), '#date_format' => 'd-m-Y', '#datepicker_options' => array( 'maxDate' => 0, 'dateFormat' => date_popup_format_to_popup('d-m-Y'), ), '#date_year_range' => '-3:+0', '#date_label_position' => 'above', '#theme_wrappers' => array('date_popup'), '#required' => TRUE, );

Note: This Question is unanswered, help us to find answer for this one

65.

Which code can be used to remove the strange text of Taxonomy Term?

Answer

Correct Answer: function THEME_preprocess_page(&$vars) { if(isset($vars['page']['content']['system_main']['no_content'])) { unset($vars['page']['content']['system_main']['no_content']); } } function THEME_preprocess_page(&$vars) {

Note: This Question is unanswered, help us to find answer for this one

66.

Which of the following are valid values of 'requirements' property In module.routing.yml?

Answer

Correct Answer: _permission
_role
_csrf_token

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

67.

In module.routing.yml file 'requirements' can have following properties defined?

Answer

Correct Answer: _permission

Note: This Question is unanswered, help us to find answer for this one

68.

What is Drupal's main container that holds content in its themes?

Answer

Correct Answer: Blocks

Note: This Question is unanswered, help us to find answer for this one

69.

Which one of the following is true with respect to jQuery loading in Drupal?

Answer

Correct Answer: jQuery only loads where required

Note: This Question is unanswered, help us to find answer for this one

70.

In Drupal 8, CacheCollector has the same internal logic as CacheArray but uses public methods for get and set instead of __________.

Answer

Correct Answer: ArrayAccess

Note: This Question is unanswered, help us to find answer for this one

71.

In module.routing.yml all keys under the defaults section which do not start with an underscore will be passed in as arguments to the controller?

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

72.

Which of the following is the correct way to alter existing routes?

Answer

Correct Answer: By implementing the alterRoutes(RouteCollection $collection) method of class \Drupal\Core\Routing\RouteSubscriberBase

Note: This Question is unanswered, help us to find answer for this one

73.

Which of the following is the correct command to remove events from DBLog table?

Answer

Correct Answer: drupal database:log:clear

Note: This Question is unanswered, help us to find answer for this one

74.

Which of the following formats are supported by default in Views? (Check all that apply)

Answer

Correct Answer: Grid
HTML List
Table

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

75.

Which of the following is the correct way to translate a string in Twig?

Answer

Correct Answer: {{ 'String to translate' | t }}

Note: This Question is unanswered, help us to find answer for this one

76.

Which of the following can be used to inspect variables in twig? (Check all that apply)

Answer

Correct Answer: {{ dump() }}
{{ kint() }}

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

77.

Which of the following is the correct syntax to loop through items in a list in Twig template?

Answer

Correct Answer: <ul class="links field__items"> {% for item in items %} <li {{ item.attributes }} > {{ item.content }} </li> {% endfor %} </ul>

Note: This Question is unanswered, help us to find answer for this one

78.

Which of the following is not a correct way to insert function in Twig?

Answer

Correct Answer: {% sqrt(9) %}

Note: This Question is unanswered, help us to find answer for this one

79.

Which of the following is used for organizing content?

Answer

Correct Answer: Taxonomy

Note: This Question is unanswered, help us to find answer for this one

80.

Which of the following is the correct way to display current key:value on settings file?

Answer

Correct Answer: drupal config:settings:debug

Note: This Question is unanswered, help us to find answer for this one

81.

Which of the following is the correct way to display current key:value on settings file?

Answer

Correct Answer: Authentication API
Block API
RESTful Web Services API
Tour API

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

82.

Which of the following is correct to include CSS or DS files in a Drupal Module?

Answer

Correct Answer: Save the CSS or DS to a file.
Define a "library", which can contain both CSS and JS files."Attach" the library to a render array in a hook.

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

83.

Which of the following permissions are defined by Configuration Manager:

Answer

Correct Answer: Export configuration
Import configuration
Synchronize configuration

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

84.

What is a theme suggestion in Drupal theming?

Answer

Correct Answer: Theme suggestions change the look of a specific node and they re-style views, blocks, and pages.

Note: This Question is unanswered, help us to find answer for this one

85.

What is the default location of the configuration sync directory?

Answer

Correct Answer: DRUPALROOT/sites/default/files/config_LONG_HASH

Note: This Question is unanswered, help us to find answer for this one

86.

CacheArray is in the process of being replaced by CacheCollector in ____?

Answer

Correct Answer: Drupal 8

Note: This Question is unanswered, help us to find answer for this one

87.

Which of the following is the correct way to remove whitespace between HTML tags in Twig template?

Answer

Correct Answer: {% spaceless %} <div class="code"> <strong>foo</strong> </div> {% endspaceless %}

Note: This Question is unanswered, help us to find answer for this one

88.

In custom module, routes are defined in:

Answer

Correct Answer: MODULENAME.routing.yml

Note: This Question is unanswered, help us to find answer for this one

89.

Drupal core is __ defining a system of __ and __?

Answer

Correct Answer: modular, hooks, callbacks

Note: This Question is unanswered, help us to find answer for this one

90.

Among the following DB-place-holders, which one is not enclosed within single quotes?

Answer

Correct Answer: Binary

Note: This Question is unanswered, help us to find answer for this one

91.

Which of the following controls content in sidebars?

Answer

Correct Answer: Block

Note: This Question is unanswered, help us to find answer for this one

92.

25- Drupal has over ________ plugins to boost your website?

Answer

Correct Answer: 5000

Note: This Question is unanswered, help us to find answer for this one

93.

Which of the following is the correct way to print a variable in Twig?

Answer

Correct Answer: {{ name_of_variable }}

Note: This Question is unanswered, help us to find answer for this one

94.

Which of the following options are provided by Drupal to increase performance? (Check all that apply)

Answer

Correct Answer: Aggregate JavaScript files
Aggregate CSS files

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

95.

What Drupal feature is activated when a trigger is enabled?

Answer

Correct Answer: Actions

Note: This Question is unanswered, help us to find answer for this one

96.

Which of the following are properties of render array? (Check all that apply)

Answer

Correct Answer: #type
#cache
#markup
#plain_text

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

97.

By default, Drupal provides the following roles: (Check all that apply)

Answer

Correct Answer: Anonymous User
Authenticated User
Administrator

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

98.

Which of the following statements are valid for Field SQL Storage?

Answer

Correct Answer: Field UI—allow you to create fields and attach them to content types, comments

Note: This Question is unanswered, help us to find answer for this one

99.

Which of the following files are required for creating a Drupal theme? (Check all that apply)

Answer

Correct Answer: .info
themes.php

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

100.

Which is the correct way to attach Libraries in THEME.info.yml?

Answer

Correct Answer: name: custom_theme type: theme description: Amazing Custom Theme package: Other core: 8.x libraries: - custom_theme/global-styling - custom_theme/views - custom_theme/header_footer

Note: This Question is unanswered, help us to find answer for this one

101.

Which statement is true?

Answer

Correct Answer: Asset libraries are simple collections of CSS or JavaScript files

Note: This Question is unanswered, help us to find answer for this one

102.

Which of the following data storage types are provided by Configuration Management in Drupal?

Answer

Correct Answer: Content Session State Configuration

Note: This Question is unanswered, help us to find answer for this one

103.

Which minimum PHP version is required to run Drupal 8.2?

Answer

Correct Answer: PHP 5.6

Note: This Question is unanswered, help us to find answer for this one

104.

In Drupal, the highest level of taxonomy description is _____________.

Answer

Correct Answer: Vocabulary

Note: This Question is unanswered, help us to find answer for this one

105.

Use the CCK module to add fields to your ________.

Answer

Correct Answer: Nodes

Note: This Question is unanswered, help us to find answer for this one

106.

Which is the correct way to list all routes?

Answer

Correct Answer: drupal router:debug

Note: This Question is unanswered, help us to find answer for this one

107.

To create our own Controller, we need to extend it from the following Controller Class:

Answer

Correct Answer: ControllerBase

Note: This Question is unanswered, help us to find answer for this one

108.

Which one of the following is the correct way to discover valid theme hook suggestions?

Answer

Correct Answer: Enable Twig debugging mode

Note: This Question is unanswered, help us to find answer for this one

109.

Which file defines routes in a module?

Answer

Correct Answer: module.routing.yml

Note: This Question is unanswered, help us to find answer for this one

110.

Which of the following is the correct way to attach a library in a Drupal Module?

Answer

Correct Answer: use ['#attached'] property

Note: This Question is unanswered, help us to find answer for this one

111.

Which of the following can be used to attach a library in twig template?

Answer

Correct Answer: attach_library()

Note: This Question is unanswered, help us to find answer for this one

112.

Drupal users are grouped into what?

Answer

Correct Answer: Roles

Note: This Question is unanswered, help us to find answer for this one

113. Which of the following ways can you use to customize error pages for 404 and 403 errors?


Answer

Correct Answer: Use the customerror module and its required modules.

Note: This Question is unanswered, help us to find answer for this one

114. Which of the following ways is a possible way to present your Drupal site in a language other than the 'by default' English?


Answer

Correct Answer: Use the locale module and its required modules.

Note: This Question is unanswered, help us to find answer for this one

115. One possible way to build a multilanguage Drupal site is to ___.


Answer

Correct Answer: use the internationalization module and its required modules

Note: This Question is unanswered, help us to find answer for this one

116. What is the difference between 2 download methods "Public" and "Private"?


Answer

Correct Answer: "Public" means files are available using HTTP directly. "Private" means files are transferred by Drupal.

Note: This Question is unanswered, help us to find answer for this one

117. Is it true that Drupal allows only the built-in input format?


Answer

Correct Answer: No<br>

Note: This Question is unanswered, help us to find answer for this one

118. How will you allow tags for content?


Answer

Correct Answer: By creating a taxonomy

Note: This Question is unanswered, help us to find answer for this one

119. Is it true that Drupal allows editing content of a revision which is not the current revision?


Answer

Correct Answer: No

Note: This Question is unanswered, help us to find answer for this one

120. How will you add css files?


Answer

Correct Answer: By creating the css files, then setting the correct parameters in the theme's .info file

Note: This Question is unanswered, help us to find answer for this one

121. Which of the following must you have in order to use Embedded Media Field and its required modules to add a flickr image field?


Answer

Correct Answer: All of above

Note: This Question is unanswered, help us to find answer for this one

122. One way to allow rating of your post content is to ___.


Answer

Correct Answer: use the fivestar module and its required modules

Note: This Question is unanswered, help us to find answer for this one

123. Is it true that to login to a Drupal website, you always have to register with that website?


Answer

Correct Answer: No

Note: This Question is unanswered, help us to find answer for this one

124. Which of the following can be used to create a template for your post content type?


Answer

Correct Answer: Both b &amp; c are true.

Note: This Question is unanswered, help us to find answer for this one

125. How to disable the user registration in the front-end?


Answer

Correct Answer: Change the setting of "Public registrations" in the User settings page.

Note: This Question is unanswered, help us to find answer for this one

126. ___ is a contributed module which grants site developers a simple graphical interface for modifying the presentation of content.


Answer

Correct Answer: Views

Note: This Question is unanswered, help us to find answer for this one

127. Which of the following ways can you use to control access for user roles based on taxonomy categories?


Answer

Correct Answer: Use the taxonomy access control module and its required modules.

Note: This Question is unanswered, help us to find answer for this one

128. One way to automatic backup Drupal database is to ____.


Answer

Correct Answer: use the backup_migrate module and its required modules

Note: This Question is unanswered, help us to find answer for this one

129. Is it true that the taxonomy module is enabled by default?


Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

130. How will you automatically generate alias for each posted content?


Answer

Correct Answer: By using the pathauto module

Note: This Question is unanswered, help us to find answer for this one

131. How does Drupal sort items in a list?


Answer

Correct Answer: On the basis of weight

Note: This Question is unanswered, help us to find answer for this one

132. Which of the following ways is a possible way to translate your post content?


Answer

Correct Answer: Use the content translate module and its required modules.

Note: This Question is unanswered, help us to find answer for this one

133. Which of the following ways can you use to allow users to flag nodes and comments as offensive for the administrator to review?


Answer

Correct Answer: Use abuse and its required modules.

Note: This Question is unanswered, help us to find answer for this one

134. Assuming that you want to maintain your site and put it in the offline mode, how will you customize the offline page?


Answer

Correct Answer: By editing or creating current theme's maintenance-page.tpl.php

Note: This Question is unanswered, help us to find answer for this one

135. One way to create poll on your site is to ___.


Answer

Correct Answer: enable the poll module and its required modules

Note: This Question is unanswered, help us to find answer for this one

136. How will you send an email to the administrator each time a new user registers?


Answer

Correct Answer: By enabling the trigger module and creating an email action and trigger system to send that email when a user registers successful

Note: This Question is unanswered, help us to find answer for this one

137. ___ often contain/s lists of nodes or other navigational content and is/are frequently placed in the left or right regions of a page.


Answer

Correct Answer: Blocks

Note: This Question is unanswered, help us to find answer for this one

138. Which of the following file() is not a theme file?


Answer

Correct Answer: settings.php

Note: This Question is unanswered, help us to find answer for this one

139. Is it true that in order to use the path module, you have to enable 'clean url'?


Answer

Correct Answer: No

Note: This Question is unanswered, help us to find answer for this one

140. Which of the following ways can you use to use the shopping cart in your website?


Answer

Correct Answer: Use the ubercart module and its required modules.

Note: This Question is unanswered, help us to find answer for this one

141. Which of the following ways can you use to optimize the Drupal database to enhance performance?


Answer

Correct Answer: Use the DB Maintenance module and its required modules.

Note: This Question is unanswered, help us to find answer for this one

142. Which of the following ways can you use to add video chat to Drupal?


Answer

Correct Answer: Use videochat and its required modules.

Note: This Question is unanswered, help us to find answer for this one

143. By adding _______ file to your web root, you can forbid search engine bots to index certain parts of your website.


Answer

Correct Answer: robots.txt

Note: This Question is unanswered, help us to find answer for this one

144. Which is the range of weight value in Drupal 6?


Answer

Correct Answer: -50 - 50

Note: This Question is unanswered, help us to find answer for this one

145. You create a "natural" category. How will you set the contents of this category to front page?


Answer

Correct Answer: Set default front page on site information in the admin settings to that category url.

Note: This Question is unanswered, help us to find answer for this one

146. Which of the following ways can you use to integrate twitter with your site?


Answer

Correct Answer: Use the twitter module and its required modules.

Note: This Question is unanswered, help us to find answer for this one

147. Assume your node is node/8 and the node alias is products/laptop. You want your site automatically to redirect the visitor to products/laptop if he/she goes to the node/8 page. How will you enable that redirect?


Answer

Correct Answer: By installing the Global Redirect module and its required modules

Note: This Question is unanswered, help us to find answer for this one

148. Which of the following files do you have to create manually when installing Drupal?


Answer

Correct Answer: settings.php

Note: This Question is unanswered, help us to find answer for this one

149. Which of the following ways can you use to change the order of items within the Drupal built-in menus?


Answer

Correct Answer: Change the relative weight of each item within the menu accordingly, the lowest appearing first.

Note: This Question is unanswered, help us to find answer for this one

150. The purpose of the Content Construction Kit is to ________.


Answer

Correct Answer: develop new types of content

Note: This Question is unanswered, help us to find answer for this one

151. How will you create revision of content?


Answer

Correct Answer: By selecting "Create new revision" when creating or editing content

Note: This Question is unanswered, help us to find answer for this one

152. Is it true that, by default, Drupal will create a teaser for your post automatically?


Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

153. Taxomony is used to ___ your content.


Answer

Correct Answer: categorize

Note: This Question is unanswered, help us to find answer for this one

154. One way to timing content publication is to ___.


Answer

Correct Answer: use the rules module and its required modules

Note: This Question is unanswered, help us to find answer for this one

155. Which of the following ways can you use to show downloadable files?


Answer

Correct Answer: Use the filebrowser module and its required modules.

Note: This Question is unanswered, help us to find answer for this one

156. How will you enable the enter page title for each post content?


Answer

Correct Answer: By installing the Page Title module and its required modules

Note: This Question is unanswered, help us to find answer for this one

157. How will you change the color of the required fields?


Answer

Correct Answer: By changing the required fields' color in the admin settings

Note: This Question is unanswered, help us to find answer for this one

158. By which of the following ways can you enforce a user to embed a youtube video?


Answer

Correct Answer: By using the embedded video module and its required modules to create new content type with one required video field and setting this required video field to support youtube

Note: This Question is unanswered, help us to find answer for this one

159. Which of the following ways can you use to create 'forum' in Drupal?


Answer

Correct Answer: Use the forum module and its required modules.

Note: This Question is unanswered, help us to find answer for this one

160. Where will you limit the maximum upload file size in Drupal?


Answer

Correct Answer: In php.ini

Note: This Question is unanswered, help us to find answer for this one

161. Which of the following ways can you use to customize templates provided by core?


Answer

Correct Answer: Copy and customize the templates that you want to override to the theme folder or edit these templates in theme folder if these templates exist.

Note: This Question is unanswered, help us to find answer for this one

162. How to 'enable newsletter' on your site?


Answer

Correct Answer: Use the simplenews module and its required modules.

Note: This Question is unanswered, help us to find answer for this one

163. How will you extend the user account information?


Answer

Correct Answer: By enabling the profile module and its required modules

Note: This Question is unanswered, help us to find answer for this one

164. Which of the following ways can you use to integrate Google Adsense with your site?

Answer

Correct Answer: Use AdSense and its required modules.

Note: This Question is unanswered, help us to find answer for this one

165. Is it true that Drupal allows using html tags when creating content?


Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

166. Which of the following ways can you use to set a page content to front page?


Answer

Correct Answer: Set default front page on site information in the admin settings.

Note: This Question is unanswered, help us to find answer for this one

167. All content types in Drupal derive from ___.


Answer

Correct Answer: node

Note: This Question is unanswered, help us to find answer for this one

168. Drupal offers ___ different built-in menus.


Answer

Correct Answer: 3

Note: This Question is unanswered, help us to find answer for this one

169. Which of the following ways can you use to embed google maps into your site?


Answer

Correct Answer: Use the GMapEZ module and its required modules.

Note: This Question is unanswered, help us to find answer for this one

170. Is it true that Drupal can be configured to allow 'add content' via email?


Answer

Correct Answer: Yes

Note: This Question is unanswered, help us to find answer for this one

171. Which of the following ways can you use to add calendar to Drupal?


Answer

Correct Answer: Use calendar and its required modules.

Note: This Question is unanswered, help us to find answer for this one

172. For a single installation, which of the following directories should you put all non-core modules in?


Answer

Correct Answer: sites/all/modules directories under Drupal installation directory

Note: This Question is unanswered, help us to find answer for this one

173. ___ is the first few words or sentences of a piece of content usually with a link to the complete node.


Answer

Correct Answer: Teaser

Note: This Question is unanswered, help us to find answer for this one

174. Which of the following content types are initially available by default?


Answer

Correct Answer: Page

Note: This Question is unanswered, help us to find answer for this one

175. Which of the following choices can help you eliminate spam?


Answer

Correct Answer: Use the captcha module or spam filter module.

Note: This Question is unanswered, help us to find answer for this one

176. Which of the following ways can you use to integrate digg with your site?


Answer

Correct Answer: Use the diggthis module and its required modules.

Note: This Question is unanswered, help us to find answer for this one

177. Which of the following steps will you have to take to allow visitor comments on your post?


Answer

Correct Answer: Select "post comments" for anonymous users in the permissions section of the admin settings.

Note: This Question is unanswered, help us to find answer for this one

178. Which of the following databases does Drupal support?


Answer

Correct Answer: Mysql

Note: This Question is unanswered, help us to find answer for this one

179. ___ is a term used by Drupal to define the priority or order in which a function is processed or a block / node is displayed.


Answer

Correct Answer: Weight

Note: This Question is unanswered, help us to find answer for this one

180. How do you enable user search content on your Drupal site?


Answer

Correct Answer: By enabling search module and setting search permissions for the appropriate type of users

Note: This Question is unanswered, help us to find answer for this one

181. Which among the following default drupal style sheets affects the RSS/Newsfeed module and its contents?


Answer

Correct Answer: Aggregator.css

Note: This Question is unanswered, help us to find answer for this one

182. The default region/s used in themes is/are _____.


Answer

Correct Answer: All of the above

Note: This Question is unanswered, help us to find answer for this one

183. What is true of vocabulary weight?


Answer

Correct Answer: All of the above.

Note: This Question is unanswered, help us to find answer for this one

184. Which of the following cache tables does drupal ship by default?


Answer

Correct Answer: All of the above

Note: This Question is unanswered, help us to find answer for this one

185. In the call to which option is Drupal form ID defined?


Answer

Correct Answer: Drupal_get_form

Note: This Question is unanswered, help us to find answer for this one

186. Where does drupal modify session-handling settings?


Answer

Correct Answer: All of the above

Note: This Question is unanswered, help us to find answer for this one

187. When is the '$page' variable within a node template file is TRUE?


Answer

Correct Answer: When you're in body view.

Note: This Question is unanswered, help us to find answer for this one

188. Which of the following syntax types for constructing taxonomy do URLs support?


Answer

Correct Answer: Both a and b

Note: This Question is unanswered, help us to find answer for this one

189. Which module in drupal measures site load by sampling the number of current users and by turning off functionality?


Answer

Correct Answer: Throttle

Note: This Question is unanswered, help us to find answer for this one

190. A new cache table, while you are defining it for your module, must be structurally identical to the default cache table.


Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

191. Which option will you choose to view a list of installed filters?


Answer

Correct Answer: Administer  Site configuration  Input formats.

Note: This Question is unanswered, help us to find answer for this one

192. Multiple kinds of database back-ends (e.g. both MySQL and PostgreSQL) cannot be used simultaneously.


Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

193. Which cache API function is used for writing data to the cache?


Answer

Correct Answer: cache_set()

Note: This Question is unanswered, help us to find answer for this one

194. Which of the following option is not available when the profile is automatically created?


Answer

Correct Answer: All of the above

Note: This Question is unanswered, help us to find answer for this one

195. Which hook can be used to set individual weight for each hook implementation in D7?

Answer

Correct Answer: hook_module_implements_alter()

Note: This Question is unanswered, help us to find answer for this one

196. With Semantic CCK enabled, users can specify the HTML elements and classes for which of the following ?

Answer

Correct Answer: All of the given options are valid

Note: This Question is unanswered, help us to find answer for this one

197. What filters are used in the default Filtered HTML input format?

Answer

Correct Answer: HTML Corrector, HTML filter, Line break converter, URL filter

Note: This Question is unanswered, help us to find answer for this one

198. Which is not an entity type in Drupal 7?

Answer

Correct Answer: Block

Note: This Question is unanswered, help us to find answer for this one

199. In D7, what is the default administration theme?

Answer

Correct Answer: Seven

Note: This Question is unanswered, help us to find answer for this one

200. In the database schema for blocks, what does delta refers to?

Answer

Correct Answer: The unique id of the specific block

Note: This Question is unanswered, help us to find answer for this one

201. Which of these methods does NOT exist in Drupal 7 API?

Answer

Correct Answer: content_load()

Note: This Question is unanswered, help us to find answer for this one

202. In Drupal 7 and above, which item cannot be added or updated via the front end web interface?

Answer

Correct Answer: Drupal Core Updates

Note: This Question is unanswered, help us to find answer for this one

203. Which one of these hooks is called first in order?

Answer

Correct Answer: hook_form_alter()

Note: This Question is unanswered, help us to find answer for this one

204. True or False? To get a WYSIWYG editor, all you need is the CCK module.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

205. Which of the following drupal module logs and records system events?

Answer

Correct Answer: Syslog

Note: This Question is unanswered, help us to find answer for this one

206. Drupal Commons is...

Answer

Correct Answer: A distribution of Drupal with strong social and community features.

Note: This Question is unanswered, help us to find answer for this one

207. How can a Drupal 6 site be put in maintenance mode?

Answer

Correct Answer: Navigate to Administer > Site configuration > Site maintenance and set Site status = Off-line

Note: This Question is unanswered, help us to find answer for this one

208. Which template file would need to be resorted to in order to modify the edit page for node/23/ ?

Answer

Correct Answer: page-node-23.tpl.php

Note: This Question is unanswered, help us to find answer for this one

209. Where can I find documentation for all core functions of Drupal?

Answer

Correct Answer: api.drupal.org

Note: This Question is unanswered, help us to find answer for this one

210. Which of the following is the CPU (central processing unit) of Drupal?

Answer

Correct Answer: Bootstrap

Note: This Question is unanswered, help us to find answer for this one

211. In Drupal 6, how can access control to files be enforced?

Answer

Correct Answer: Navigate to Administer › Site configuration and set the Download method as Private

Note: This Question is unanswered, help us to find answer for this one

212. In Drupal, which of the following is a pre-defined collection of data types (Fields) which relate to each other by an informational context?

Answer

Correct Answer: Content Type

Note: This Question is unanswered, help us to find answer for this one

213. What is a node?

Answer

Correct Answer: a piece of content

Note: This Question is unanswered, help us to find answer for this one

214. Which of the following drupal module enables actions to be fired on certain system events, such as when new content is created?

Answer

Correct Answer: Trigger

Note: This Question is unanswered, help us to find answer for this one

215. Which of the following drupal module allows administrators to customize the site navigation?

Answer

Correct Answer: Menu

Note: This Question is unanswered, help us to find answer for this one

216. What function should you use to translate strings in your code?

Answer

Correct Answer: t()

Note: This Question is unanswered, help us to find answer for this one

217. The Mailhandler module allows to post content by email. What's the default security mechanism implemented by Mailhandler?

Answer

Correct Answer: Sender's email must belong to a Drupal account with appropriate privileges; Receiver's email must be specified in the configuration

Note: This Question is unanswered, help us to find answer for this one

218. Which of the following is a required field of an .info file?

Answer

Correct Answer: name

Note: This Question is unanswered, help us to find answer for this one

219. What is new in Drupal 8?

Answer

Correct Answer: Symfony framework

Note: This Question is unanswered, help us to find answer for this one

220. What would be a reasonable memory limit for an average Drupal 6 installation?

Answer

Correct Answer: 128 MB

Note: This Question is unanswered, help us to find answer for this one

221. How do you create a custom menu that will display in your footer?

Answer

Correct Answer: Navigate to Structure > Menu > Add Menu. Then, move menu in block footer.

Note: This Question is unanswered, help us to find answer for this one

222. Which of the following are discrete chunks of information that are displayed in the regions of a site's pages?

Answer

Correct Answer: Block

Note: This Question is unanswered, help us to find answer for this one

223. Which of these comes as a part of core in Drupal 6?

Answer

Correct Answer: Blocks

Note: This Question is unanswered, help us to find answer for this one

224. Which of the following actions cannot be triggered using the trigger module?

Answer

Correct Answer: Send site to maintenance mode.

Note: This Question is unanswered, help us to find answer for this one

225. What is the difference between the Main Menu and User Menu?

Answer

Correct Answer: Main menu shows major sections of site; User menu contains links related to user account.

Note: This Question is unanswered, help us to find answer for this one

226. 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?

Answer

Correct Answer: Views

Note: This Question is unanswered, help us to find answer for this one

227. Drupal 6 (and up) tests for clean URL compatibility during installation.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

228. In a Drupal 6 site, what can be done to improve the experience of a 404 not found error message?

Answer

Correct Answer: Create a custom page apologizing for the error and navigate to admin/settings/error-reporting to specify the page path

Note: This Question is unanswered, help us to find answer for this one

229. When creating a view that uses filters, you have the option of exposing the filter to site visitors. What does this enable?

Answer

Correct Answer: Site visitors can customize the view they are looking at with one or more sort controls.

Note: This Question is unanswered, help us to find answer for this one

230. What can you do with URL Aliases?

Answer

Correct Answer: Optionally specify an alternative URL by which the content can be accessed.

Note: This Question is unanswered, help us to find answer for this one

231. What does the /user/ path do (by default, without modifications)?

Answer

Correct Answer: Shows the login form (anonymous) or currently logged in user profile.

Note: This Question is unanswered, help us to find answer for this one

232. _____ is not a default core module included with Drupal 6 and higher.

Answer

Correct Answer: commerce

Note: This Question is unanswered, help us to find answer for this one

233. What files are required to create a custom Drupal module called mymodule?

Answer

Correct Answer: mymodule.info and mymodule.module

Note: This Question is unanswered, help us to find answer for this one

234. Which of the following modules must be enabled in order to translate languages?

Answer

Correct Answer: Locale

Note: This Question is unanswered, help us to find answer for this one

235. 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?

Answer

Correct Answer: Add a Parent term relationship and set the Term field to use the Parent term relationship

Note: This Question is unanswered, help us to find answer for this one

236. How do you alter any form in Drupal?

Answer

Correct Answer: hook_form_alter()

Note: This Question is unanswered, help us to find answer for this one

237. Who is user/1?

Answer

Correct Answer: account created immediately after installing a new Drupal site

Note: This Question is unanswered, help us to find answer for this one

238. How can the default front page be changed?

Answer

Correct Answer: Navigate to admin/settings/site-information and set a new Drupal path

Note: This Question is unanswered, help us to find answer for this one

239. Which of the following is a valid Drupal caching option?

Answer

Correct Answer: All of the given options are correct

Note: This Question is unanswered, help us to find answer for this one

240. Drupal modules are compatible with Joomla and Magento.

Answer

Correct Answer: No

Note: This Question is unanswered, help us to find answer for this one

241. Which of these modules are part of D6 core?

Answer

Correct Answer: Block

Note: This Question is unanswered, help us to find answer for this one

242. Which of these templates are not supported in Drupal 6 core modules without extra coding?

Answer

Correct Answer: taxonomy-term.tpl.php

Note: This Question is unanswered, help us to find answer for this one

243. Themes under most circumstances should be installed in the directory...

Answer

Correct Answer: sites/all/themes

Note: This Question is unanswered, help us to find answer for this one

244. You've downloaded and installed a new theme. How do you make it the default?

Answer

Correct Answer: Appearance > List, scroll to disabled themes. Enable desired theme and click, "set as default."

Note: This Question is unanswered, help us to find answer for this one

245. Drupal core has built-in _____ javascript framework.

Answer

Correct Answer: jQuery

Note: This Question is unanswered, help us to find answer for this one

246. 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?

Answer

Correct Answer: Navigate to People > Permissions Tab > Roles > Add Role

Note: This Question is unanswered, help us to find answer for this one

247. What essential steps should be taken to create a subtheme of the Garland theme name Mytheme?

Answer

Correct Answer: 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 mytheme.info file

Note: This Question is unanswered, help us to find answer for this one

248. Which of the following represents each item of content in a site

Answer

Correct Answer: Node

Note: This Question is unanswered, help us to find answer for this one

249. Where can you see a list of comments and publish/unpublish them?

Answer

Correct Answer: Content > Comments

Note: This Question is unanswered, help us to find answer for this one

250. _____ is a command line shell and scripting interface for Drupal.

Answer

Correct Answer: Drush

Note: This Question is unanswered, help us to find answer for this one

251. A single user can have more than one role.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

252. Which of the following drupal module allows a site to capture votes on different topics in the form of multiple-choice questions?

Answer

Correct Answer: Poll

Note: This Question is unanswered, help us to find answer for this one

253. Which of the following is TRUE about Drupal?

Answer

Correct Answer: All of the given options are correct

Note: This Question is unanswered, help us to find answer for this one

254. Where should you add contributed modules for Drupal

Answer

Correct Answer: In the /sites/all/modules folder on your web server

Note: This Question is unanswered, help us to find answer for this one

255. I want to change the URL of my front page. Where should this be done?

Answer

Correct Answer: Site Information

Note: This Question is unanswered, help us to find answer for this one

256. Where are contrib modules uploaded?

Answer

Correct Answer: sites > all > modules

Note: This Question is unanswered, help us to find answer for this one

257. Which are the core required modules in drupal 6.x ?

Answer

Correct Answer: All of them

Note: This Question is unanswered, help us to find answer for this one

258. Which of the following drupal module allows users to rename URLs?

Answer

Correct Answer: Path

Note: This Question is unanswered, help us to find answer for this one

259. In Drupal 6, which of these data structures can Views list?

Answer

Correct Answer: All of these.

Note: This Question is unanswered, help us to find answer for this one

260. Which hook is used to alter the Drupal menu?

Answer

Correct Answer: hook_menu_alter

Note: This Question is unanswered, help us to find answer for this one

261. Drupal belongs to a category of

Answer

Correct Answer: Content Management Systems

Note: This Question is unanswered, help us to find answer for this one

262. True or False? Theme Layer Blocks can be used in any region.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

263. Drupal core includes which JavaScript library?

Answer

Correct Answer: jQuery

Note: This Question is unanswered, help us to find answer for this one

264. Can we create our own variables that would be available in page.tpl.php ?

Answer

Correct Answer: TRUE

Note: This Question is unanswered, help us to find answer for this one

265. Page template files are written in

Answer

Correct Answer: php

Note: This Question is unanswered, help us to find answer for this one

266. How do you enable a module?

Answer

Correct Answer: Navigate to Modules > check the box next to the module > Save

Note: This Question is unanswered, help us to find answer for this one

267. Ckeditor, Fckeditor, WYSIWYG are examples of

Answer

Correct Answer: text editor modules

Note: This Question is unanswered, help us to find answer for this one

268. Which of the following is a valid encoding for .info file?

Answer

Correct Answer: UTF-8

Note: This Question is unanswered, help us to find answer for this one

269. Which of the following is a Drupal layer?

Answer

Correct Answer: All of the given options are correct

Note: This Question is unanswered, help us to find answer for this one

270. What does the term Drush refer to?

Answer

Correct Answer: A powerful command line utility for Drupal administration

Note: This Question is unanswered, help us to find answer for this one

271. If your login block was disabled, to what URL could you navigate to login?

Answer

Correct Answer: www.mysite.com/user

Note: This Question is unanswered, help us to find answer for this one

272. How does 'Promoted to front page' affect your content?

Answer

Correct Answer: Publishes the node on your front page. Good use for RSS feed.

Note: This Question is unanswered, help us to find answer for this one

273. Which of the following will not improve Drupal performance?

Answer

Correct Answer: Add the line ini_set('memory_limit','512M') to settings.php

Note: This Question is unanswered, help us to find answer for this one

274. Which of the following is a way to programmatically get a view content in the template file?

Answer

Correct Answer: views_get_view()

Note: This Question is unanswered, help us to find answer for this one

275. What is the URL of default home page in Drupal 7?

Answer

Correct Answer: base_url/node

Note: This Question is unanswered, help us to find answer for this one

276. What does running cron do?

Answer

Correct Answer: executes tasks on behalf of installed modules

Note: This Question is unanswered, help us to find answer for this one