Drupal/Drupal Mcq Questions Unit 2 Sample Test,Sample questions

Question:
Drupal Commons is...

1.Drupal's official support forum.

2.A directory of Drupal developers for hire with portfolios and client reviews.

3.A distribution of Drupal with strong social and community features.

4.A website that allows visitors to play with various Drupal distros.


Question:
How can a Drupal 6 site be put in maintenance mode?

1.Navigate to Administer > Site information > Site maintenance and set Site status = Off-line

2.Navigate to Administer > Site maintenance and set Site status = Off-line

3.Navigate to Administer > Site configuration > Site maintenance and set Site status = Off-line

4.You need to add the line maintenance_mode = 1 in the .htaccess file


Question:
How do you create a custom menu that will display in your footer?

1.Navigate to Structure > Block > Add Menu. Then, move menu in block footer.

2.Navigate to Structure > Appearance > Add Menu. Then, move menu in block footer.

3.Navigate to Structure > Configuration > Add Menu. Then, move menu in block footer.

4.Navigate to Structure > Menu > Add Menu. Then, move menu in block footer


Question:
How do you enable user search content on your Drupal site?

1.By enabling search module and setting search permissions for the appropriate type of users

2.By enabling search module

3.By enabling it in the configuration file

4.We can not enable search content.


Question:
In D7, what is the default administration theme?

1.Zen

2.Garland

3.Bartik

4.Seven


Question:
In Drupal 6, how can access control to files be enforced?

1.Navigate to Administer › Site configuration and set the Download method as Private

2.You need to remove View privileges from anonymous users

3.You must place your files in a folder outside the Drupal directory

4.You need to write a custom module


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

1.Drupal Core Updates

2.New Modules

3.New Themes

4.Common Module Updates


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

1.Node

2.Filter

3.Content Type

4.Block


Question:
In the call to which option is Drupal form ID defined?

1.Drupal_get_form

2.drupal_set_form

3.Both A and B

4.None of these


Question:
In the database schema for blocks, what does delta refers to?

1.The module providing the block

2.The unique id of the specific block

3.The placement position of the block in the region

4.The theme for which the block is enabled


Question:
node_load() return value:

1.Object, or FALSE if the node is not found

2.Array, or FALSE if the node is not found

3.TRUE, or FALSE if the node is not found

4.Title of node (string), or FALSE if the node is not found


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

1.left sidebar

2.header

3.footer

4.All of the above


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

1.A password must be entered in order to post by email

2.The IP of the sender must be included in a whitelist record

3.Both sender and receiver must be Drupal authenticated users

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


Question:
What filters are used in the default Filtered HTML input format?

1.HTML corrector, Line break converter, BB Tags filter

2.URL filter, Line break converter, HTML corrector

3.HTML Corrector, HTML filter, Line break converter, URL filter

4.PHP evaluator, HTML filter, Line break converter


Question:
What function should you use to translate strings in your code?

1.localize()

2.translate()

3.t()

4.l()


Question:
What is a node?

1.a content type

2.a field of information

3.a webpage

4.a piece of content


Question:
What is a node?

1.a content type

2.a field of information

3.a webpage

4.a piece of content


Question:
What is new in Drupal 8?

1.Python scripting support (Bindings)

2..NET integration (Mono for Linux servers)

3.Symfony framework

4.Database abstraction


Question:
What is true of vocabulary weight?

1.Each vocabulary has a weight from -10 to 10.

2.A vocabulary with a light weight will rise to the top of the categories fieldset and be presented first.

3.A vocabulary with a heavy weight will sink to the bottom of the fieldset.

4.All of the above


Question:
What php snippet will print the current user ID?

1.print $user->uid;

2.global $user; print $user->uid;

3.$user = user_load(1);

4.print drupal_getuserid();


Question:
What would be a reasonable memory limit for an average Drupal 6 installation?

1.256 MB

2.4 MB

3.10 MB

4.128 MB


Question:
When is the '$page' variable within a node template file is TRUE?

1.When you're in body view.

2.When you're in teaser view.

3.When it is on a multiple node listing view.

4.None of the above.


Question:
Where can I find documentation for all core functions of Drupal?

1.docs.drupal.org

2.api.drupal.org

3.code.drupal.org

4.core.drupal.org


Question:
Where does drupal modify session-handling settings?

1.In .htaccess

2.In settings.php

3.In bootstrap.inc

4.All of the above


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

1.Block.css

2.Defaults.css

3.Aggregator.css

4.Comment.css


Question:
Which cache API function is used for writing data to the cache?


cache_set()✔
cache_get()
Both a and b
None of the above
Answer:
cache_set()
Is This Question Helpful?

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

1.cache_set()

2.cache_get()

3.Both a and b

4.None of the above


Question:
Which hook can be used to set individual weight for each hook implementation in D7?

1.In D6 & D7 is not possible to set individual weighs per hook.

2.hook_module_implements_alter()

3.drupal_set_HOOK_ID_weight()

4.Set weight in system table.


Question:
Which is not an entity type in Drupal 7?

1.User

2.Block

3.Taxonomy Term

4.Node


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

1.Throttle

2.Taxonony

3.Tracker

4.Trigger


Question:
Which of the following cache tables does drupal ship by default?

1. Cache_menu

2.Cache_filter

3.Cache_page

4.All of the above


Question:
Which of the following choices can help you eliminate spam?

1.Use the captcha module or spam filter module.

2.Turn on the spam filter settings in the admin settings.

3.Enable the spam filter in the configuration file.

4.We can not eliminate spam in Drupal.


Question:
Which of the following content types are initially available by default?

1.Page

2.Story

3.blog

4.forum


Question:
Which of the following databases does Drupal support?

1.Mysql

2.Postgresql

3.MS sql server

4.Oracle


Question:
Which of the following drupal module allows administrators to customize the site navigation?

1.Menu

2.Customize

3.Statistics

4.Navigation


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

1.Action

2.Trigger

3. Content translation

4.Event


Question:
Which of the following drupal module logs and records system events?

1.Action

2.Syslog

3.Statistics

4.Log


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

1.name

2.regions

3.description

4.base theme


Question:
Which of the following option is not available when the profile is automatically created?

1.Textarea

2.URL

3.Date fields

4.All of the above


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

1.Select "post comments" for anonymous users in the permissions section of the admin settings.

2.Select "Read/Write" in comment settings when creating or editing your post.

3.Enable it in the configuration file.

4.We do not need to do anything. Drupal allows visitors to post comments by default.


Question:
Which of the following syntax types for constructing taxonomy do URLs support?

1.AND

2.OR

3.Both a and b

4.Neither a nor b


Question:
Which of the following was not a core module before Drupal 8?

1.Book

2.Contact

3.Views

4.Field


Question:
Which of the following ways can you use to integrate digg with your site?

1.Use the diggthis module and its required modules.

2.Set the correct parameters in the configuration file.

3.Digg is already integrated in Drupal, just enable it in the admin settings.

4.We can not integrate digg with Drupal.


Question:
Which of these methods does NOT exist in Drupal 7 API?

1.comment_load()

2.content_load()

3.node_load()

4.taxonomy_term_load()


Question:
Which one of these hooks is called first in order?

1.hook_form_FORM_ID_alter().

2.hook_form_alter()

3.hook_form_BASE_FORM_ID_alter()

4.None of These


Question:
Which option will you choose to view a list of installed filters?

1.Administer Site building Blocks.

2.Administer Site building Menus

3.Administer Site configuration Input formats.

4.None of the above.


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

1.page-node-edit.tpl.php

2.page-node.tpl.php

3.page-node-23.tpl.php

4.page.tpl.php


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

1.The labels (above and inline)

2.All of the given options are valid

3.The entire field

4.All field items


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

1.Permission

2.Role

3.Weight

4.Order


More MCQS

  1. Drupal Mcq Questions Unit 1
  2. Drupal Mcq Questions Unit 2
  3. Drupal Mcq Questions Unit 3
  4. Drupal Mcq Questions Unit 4
Search
Olete Team
Online Exam TestTop Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on Online Exam Testwebsite is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!