25- Drupal has over ________ plugins to boost your website?
1.1000
2.2000
3.4000
4.5000
Among the following DB-place-holders, which one is not enclosed within single quotes?
1.Binary
2.Integer
3.Float
4.String
By default, Drupal provides the following roles:
1.Anonymous User
2.Authenticated User
3.Administrator
4.All of the above
CacheArray is in the process of being replaced by CacheCollector in ____?
1.Drupal 5
2. Drupal 6
3. Drupal 7
4.Drupal 8
Drupal core is __ defining a system of __ and __?
1.hooks, Modular, callbacks
2.modular, hooks, callbacks
3.backend, hooks, callbacks
4.None of these
Drupal users are grouped into what?
1.User Groups
2.Ranks
3.Roles
4.Teams
In custom module, routes are defined in:
1.MODULENAME.routing.yml
2.MODULENAME.info.yml
3.MODULENAME.routes.yml
4.MODULENAME.module
In Drupal, the highest level of taxonomy description is _____________.
1.Vocabulary
2.Blog
3.Breadcrumbs
4.Modular
To create our own Controller, we need to extend it from the following Controller Class:
1.BaseController
2.ControllerBase
3.Controller
4.ControlController
Use the CCK module to add fields to your ________.
1.Nodes
2.Pages
3.Files
4.Modulars
What Drupal feature is activated when a trigger is enabled?
1.Blocks
2.Hooks
3.Modules
4.Actions
What is a theme suggestion in Drupal theming?
1.Theme suggestions suggest to the Drupal admin how a theme will best look and it offers HTML, CSS, and Jquery.
2.Theme suggestions change the look of a specific node and they re-style views, blocks, and pages.
3.Theme suggestions suggest the best way to present a theme to the user.
4.Theme suggestions suggest which Drupal theme to download from Drupal.org
What is the default location of the configuration sync directory?
1.DRUPALROOT/sites/default/config_LONG_HASH
2.DRUPALROOT/sites/default/files/private/config_LONG_HASH
3.DRUPALROOT/sites/default/files/private/config_LONG_HASH
4.DRUPALROOT/sites/default/files/config_LONG_HASH
Which file defines routes in a module?
1.module.routing
2.routing.module
3.module.routing.yml
4.module.info.yml
Which is the correct way to attach Libraries in THEME.info.yml?
1.ame: 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
2.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
3.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
4.None of these
Which is the correct way to list all routes?
1.drupal router:debug
2.drupal router:all
3.drupal router:list-all
4.drupal route:all
Which minimum PHP version is required to run Drupal 8.2?
1.PHP 5.3
2.PHP 5.4
3.PHP 5.5
4.PHP 5.6
Which of the following are properties of render array?
1.#type
2.#cache
3.#markup
4.All of the above
Which of the following can be used to attach a library in twig template?
1.attach_library()
2.drupal_add_js()
3.drupal_add_library()
4.None of the above
Which of the following controls content in sidebars?
1.Blog
2.Book
3.Dblog
4.Block
Which of the following data storage types are provided by Configuration Management in Drupal?
1.Content Session State Configuration
2.Session State Configuration
3.Views Session State Configuration
4.Permissions Session State Configuration
Which of the following files are required for creating a Drupal theme?
1..info
2.themes.php
3.both (a) and (b)
4.None of these
Which of the following is correct to include CSS or DS files in a Drupal Module?
1.Save the CSS or DS to a file.
2.Define a "library", which can contain both CSS and JS files."Attach" the library to a render array in a hook.
3.Both A and B
4.Use add_js and add_cs function in module file
Which of the following is the correct way to attach a library in a Drupal Module?
1.use ['#attached'] property
2.drupal_add_js() and drupal_add_library()
3.Both of the above
4.None of the above
Which of the following is the correct way to display current key:value on settings file?
1.Authentication API
2.Block API
3.RESTful Web Services API
4.All of the above
Which of the following is the correct way to print a variable in Twig?
1.{{ name_of_variable }}
2.{ name_of_variable }
3.{% name_of_vairable %}
4.{%% name_of_variable %%}
Which of the following is the correct way to remove whitespace between HTML tags in Twig template?
1.{% removespace %} <div class="code"> <strong>foo</strong> </div> {% endremovespace %}
2.{%- removeblanks -%} <div class="code"> <strong>foo</strong> </div> {%- endremoveblanks -%}
3.{%- removespace -%} <div class="code"> <strong>foo</strong> </div> {%- endremovespace -%}
4.{% spaceless %} <div class="code"> <strong>foo</strong> </div> {% endspaceless %}
Which of the following modules are included in Drupal Core? (
1.Views
2.CKEditor
3.Breakpoint
4.All of the above
Which of the following options are provided by Drupal to increase performance?
1.Aggregate JavaScript files
2.Aggregate CSS files
3.Views Caching
4.Both (A) and (B)
Which of the following permissions are defined by Configuration Manager:
1.Export configuration
2.Import configuration
3.Synchronize configuration
4.All of the above
Which of the following statements are valid for Field SQL Storage?
1.Field UI—allow you to create fields and attach them to content types, comments
2.Fields can be stored in different formats and formatted in different ways
3.Fields can not be stored in different formats and formatted in different pages
4.None of these
Which of the following ways can you use to customize error pages for 404 and 403 errors?
1.Use the customerror module and its required modules
2.Create custom error pages for these errors, then specify the location of these error files in the admin settings.
3.Create custom error pages for these errors, then specify the location of these error files in the configuration file.
4.We can not customize error pages.
Which one of the following is the correct way to discover valid theme hook suggestions?
1.Install and enable Devel module
2.Enable Twig debugging mode
3.Write custom module
4.Enable Webprofiler module
Which statement is true?
1.Asset libraries are simple collections of CSS or JavaScript files
2.Asset libraries are simple collections of CSS files
3.Asset libraries are simple collections of JavaScript files
4.Asset libraries are simple collections of images