Drupal MCQ Quiz Hub

Drupal Mcq Questions Unit 4

Choose a topic to test your knowledge and improve your Drupal skills

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





✅ Correct Answer: 1

Drupal users are grouped into what?





✅ Correct Answer: 3

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





✅ Correct Answer: 1

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





✅ Correct Answer: 1

Which file defines routes in a module?





✅ Correct Answer: 3

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





✅ Correct Answer: 2

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





✅ Correct Answer: 2

Which is the correct way to list all routes?





✅ Correct Answer: 1

Use the CCK module to add fields to your ________.





✅ Correct Answer: 1

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





✅ Correct Answer: 1

Which minimum PHP version is required to run Drupal 8.2?





✅ Correct Answer: 4

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





✅ Correct Answer: 1

Which statement is true?





✅ Correct Answer: 1

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





✅ Correct Answer: 1

Which of the following modules are included in Drupal Core? (





✅ Correct Answer: 4

Which of the following files are required for creating a Drupal theme?





✅ Correct Answer: 3

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





✅ Correct Answer: 1

By default, Drupal provides the following roles:





✅ Correct Answer: 4

Which of the following are properties of render array?





✅ Correct Answer: 4

What Drupal feature is activated when a trigger is enabled?





✅ Correct Answer: 4

Which of the following options are provided by Drupal to increase performance?





✅ Correct Answer: 4

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





✅ Correct Answer: 1

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





✅ Correct Answer: 4

Which of the following controls content in sidebars?





✅ Correct Answer: 4

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





✅ Correct Answer: 1

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





✅ Correct Answer: 2

In custom module, routes are defined in:





✅ Correct Answer: 1

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





✅ Correct Answer: 4

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





✅ Correct Answer: 4

What is the default location of the configuration sync directory?





✅ Correct Answer: 4

What is a theme suggestion in Drupal theming?





✅ Correct Answer: 2

Which of the following permissions are defined by Configuration Manager:





✅ Correct Answer: 4

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





✅ Correct Answer: 3

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





✅ Correct Answer: 4