Search test library by skills or roles
⌘ K

Adaface Sample Drupal Questions

Here are some sample Drupal questions from our premium questions library (10273 non-googleable questions).

Skills

🧐 Question

Medium

Access content
Routes
Controllers
Solve
Review the following Drupal code:
 image
 image
Pick the correct statements:
            
            A: When /sample is accessed, access is allowed without checking for permissions and SampleController::content method is invoked
            B: When /sample is accessed, ‘access content’ permission is checked on the accessing user and, if access is granted, SampleController::content method is invoked
            C: When /sample is accessed, the page outputs ‘A’ on the page with title ‘B’
            D: When /sample is accessed, the page outputs ‘B’ on the page with title ‘A’
            E: When /sample is accessed, the page outputs ‘A’ on the page with no title
            F: When /sample is accessed, the page outputs nothing on the page with title ‘B’

Medium

Insert Queries
Database API
Solve
Review the following Drupal code:
 image
Pick the correct statements:
A: Both the snippets create the queries to run but are not executed until $query→execute() is called
            B: When Snippet 2 is run, the insert statements are executed one after the other always. Equivalent to calling →execute() two separate times for each item in $values.
            C: When Snippet 2 is run, depending on the database, the insert statements will be executed together in a transaction
            D: The return value of $result→execute will be the inserted record entry
🧐 Question🔧 Skill

Medium

Access content
Routes
Controllers

2 mins

Drupal
Solve

Medium

Insert Queries
Database API

2 mins

Drupal
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
Access content
Routes
Controllers
Drupal
Medium2 mins
Solve
Insert Queries
Database API
Drupal
Medium2 mins
Solve

Trusted by recruitment teams in enterprises globally

Amazon Morgan Stanley Vodafone United Nations HCL PayPal Bosch WeWork Optimum Solutions Deloitte Microsoft NCS Doubtnut Sokrati J&T Express Capegemini

We evaluated several of their competitors and found Adaface to be the most compelling. Great library of questions that are designed to test for fit rather than memorization of algorithms.


Swayam Narain, CTO, Affable

hashtag image heart icon Swayam
customers across world
Join 1500+ companies in 80+ countries.
Try the most candidate friendly skills assessment tool today.
g2 badges
Ready to streamline your recruitment efforts with Adaface?
Ready to streamline your recruitment efforts with Adaface?
logo
40 min tests.
No trick questions.
Accurate shortlisting.
ada
Ada
● Online
Previous
Score: NA
Next
✖️