1What is the primary function of n8n in software development?
N8N architecture
Easy
A.To design graphical user interfaces for websites
B.To provide a visual, node-based workflow automation tool
C.To compile C++ code into executable files
D.To serve as an operating system for mobile devices
Correct Answer: To provide a visual, node-based workflow automation tool
Explanation:
n8n is a visual, node-based workflow automation tool that allows users to connect various services and APIs to automate tasks.
Incorrect! Try again.
2What is the main difference between n8n Cloud and a self-hosted n8n deployment?
cloud vs self-hosted deployment
Easy
A.n8n Cloud is completely offline, while self-hosted requires an internet connection
B.n8n Cloud is managed by the user, while self-hosted is managed by n8n
C.n8n Cloud only supports JavaScript, while self-hosted supports Python
D.n8n Cloud is hosted and managed by n8n, while self-hosted runs on the user's own infrastructure
Correct Answer: n8n Cloud is hosted and managed by n8n, while self-hosted runs on the user's own infrastructure
Explanation:
n8n Cloud is a fully managed service, whereas self-hosting requires you to set up, maintain, and secure n8n on your own servers.
Incorrect! Try again.
3In the n8n interface, what is the 'Editor Canvas' used for?
N8N interface for canvas, nodes, connections
Easy
A.To install operating system updates
B.To visually drag, drop, and connect nodes to build workflows
C.To write long-form documentation for APIs
D.To manage user billing and subscriptions
Correct Answer: To visually drag, drop, and connect nodes to build workflows
Explanation:
The Editor Canvas is the primary visual workspace in n8n where users arrange and connect nodes to create automated workflows.
Incorrect! Try again.
4How are nodes linked together in an n8n workflow?
Node connection patterns
Easy
A.By connecting their input and output connection points with lines
B.By placing them in alphabetical order on the canvas
C.By writing SQL queries to join them
D.By matching their color codes
Correct Answer: By connecting their input and output connection points with lines
Explanation:
Nodes are connected by dragging a line from the output point of one node to the input point of another, defining the path of the workflow.
Incorrect! Try again.
5In what format is data primarily passed between nodes in an n8n workflow?
Data flow mechanics
Easy
A.JSON arrays
B.XML
C.CSV strings
D.HTML documents
Correct Answer: JSON arrays
Explanation:
Data flows between n8n nodes primarily as arrays of JSON (JavaScript Object Notation) objects, known as 'items'.
Incorrect! Try again.
6What is the standard execution sequence for a basic n8n workflow?
Execution order
Easy
A.From right to left, ending with the trigger
B.From left to right, starting with the trigger node
C.All nodes execute simultaneously at the exact same time
D.Nodes execute randomly based on processing power
Correct Answer: From left to right, starting with the trigger node
Explanation:
Workflows generally execute from left to right. The trigger node starts the process, and data flows sequentially through the connected nodes.
Incorrect! Try again.
7Which n8n feature allows you to test a single step and view its specific output data during workflow creation?
Debugging techniques
Easy
A.The 'Execute Node' button
B.The 'Export HTML' button
C.The 'Deploy Workflow' toggle
D.The 'Delete Node' icon
Correct Answer: The 'Execute Node' button
Explanation:
The 'Execute Node' button allows users to run just that specific node and view the resulting JSON data, which is essential for debugging.
Incorrect! Try again.
8Which type of node is required to automatically start a workflow when a specific event occurs?
Node types as triggers, regular nodes, output nodes
Easy
A.A Trigger node
B.A Regular node
C.A Formatter node
D.An Output node
Correct Answer: A Trigger node
Explanation:
Trigger nodes are special nodes that listen for events (like a scheduled time or an incoming webhook) to automatically initiate a workflow execution.
Incorrect! Try again.
9If you want an n8n workflow to run every day at 8:00 AM, which Trigger node should you use?
Trigger nodes as manual, schedule, webhook
Easy
A.Webhook Trigger
B.Error Trigger
C.Manual Trigger
D.Schedule Trigger
Correct Answer: Schedule Trigger
Explanation:
The Schedule Trigger allows you to define specific times or regular intervals (like a cron job) for the workflow to run automatically.
Incorrect! Try again.
10Which core node is used to split a workflow into 'True' and 'False' branches based on a logical condition?
Core nodes as Set, IF, Switch, Merge
Easy
A.Switch node
B.Set node
C.Merge node
D.IF node
Correct Answer: IF node
Explanation:
The IF node evaluates a condition and routes the data to the 'True' output if the condition is met, and to the 'False' output if it is not.
Incorrect! Try again.
11Which REST API method in the HTTP Request node is generally used to retrieve or fetch data from an external server?
HTTP Request node as REST API methods
Easy
A.PUT
B.POST
C.DELETE
D.GET
Correct Answer: GET
Explanation:
The GET method is the standard HTTP request used to request data from a specified resource.
Incorrect! Try again.
12When configuring an API connection that requires a token in the 'Authorization' header formatted as 'Bearer <token>', which authentication method are you using?
Authentication mechanisms as API Key, Bearer Token
Easy
A.OAuth2
B.Bearer Token
C.Digest Auth
D.Basic Auth
Correct Answer: Bearer Token
Explanation:
A Bearer Token is an access token used in HTTP authentication, typically passed in the Authorization header as 'Bearer' followed by the token string.
Incorrect! Try again.
13What does JSON stand for in the context of n8n data handling?
JSON data operations
Easy
A.Java Standard Output Network
B.Joint Server Operation Node
C.JavaScript Oriented Network
D.JavaScript Object Notation
Correct Answer: JavaScript Object Notation
Explanation:
JSON stands for JavaScript Object Notation. It is a lightweight format for storing and transporting data, heavily used in n8n.
Incorrect! Try again.
14Which node gives you the ability to write custom JavaScript to perform complex data transformations?
Data transformation as expressions and Code node
Easy
A.Schedule node
B.HTTP Request node
C.Webhook node
D.Code node
Correct Answer: Code node
Explanation:
The Code node allows users to write standard JavaScript code to manipulate, transform, or generate data when built-in nodes are insufficient.
Incorrect! Try again.
15What is the main benefit of multi-API integration in n8n?
Multi-API integration
Easy
A.It allows a single workflow to connect and exchange data seamlessly between multiple different services
B.It converts APIs into local desktop applications
C.It guarantees 100% uptime for external web services
D.It prevents any external APIs from accessing your computer
Correct Answer: It allows a single workflow to connect and exchange data seamlessly between multiple different services
Explanation:
Multi-API integration allows automated workflows to coordinate and transfer data across various distinct software platforms (e.g., pulling data from a CRM and posting it to Slack).
Incorrect! Try again.
16Which of the following operations is commonly performed using the PostgreSQL node in n8n?
Database integration using PostgreSQL operations
Easy
A.Editing video files
B.Executing INSERT, SELECT, or UPDATE queries
C.Generating SSL certificates
D.Sending SMS text messages
Correct Answer: Executing INSERT, SELECT, or UPDATE queries
Explanation:
The PostgreSQL node allows n8n to connect to a PostgreSQL database to perform standard database operations like INSERT, SELECT, UPDATE, and DELETE.
Incorrect! Try again.
17How are files like images, PDFs, or spreadsheets generally represented in n8n nodes?
File processing
Easy
A.As Boolean values
B.As plain text strings
C.As integer arrays
D.As Binary data
Correct Answer: As Binary data
Explanation:
In n8n, files are handled separately from JSON data and are stored and processed as Binary data items.
Incorrect! Try again.
18Which node is used to combine multiple separate branches of a workflow back into a single branch?
Core nodes as Set, IF, Switch, Merge
Easy
A.Merge node
B.IF node
C.Split In Batches node
D.Switch node
Correct Answer: Merge node
Explanation:
The Merge node is specifically designed to take inputs from multiple parallel branches and combine them into a single data flow.
Incorrect! Try again.
19Which Trigger node is used to act as an endpoint that waits for external applications to send HTTP requests to it?
Trigger nodes as manual, schedule, webhook
Easy
A.Manual Trigger
B.Code Trigger
C.Schedule Trigger
D.Webhook Trigger
Correct Answer: Webhook Trigger
Explanation:
A Webhook node creates a unique URL that listens for incoming HTTP requests (webhooks) from external systems to start the workflow.
Incorrect! Try again.
20Which core node is primarily used to easily add, update, or remove specific string or number fields in your JSON data?
Core nodes as Set, IF, Switch, Merge
Easy
A.Webhook node
B.Merge node
C.Database node
D.Set node
Correct Answer: Set node
Explanation:
The Set node allows you to set new values, overwrite existing ones, or keep only specific fields in the data items passing through it.
Incorrect! Try again.
21In an enterprise deployment requiring high availability and the ability to process thousands of concurrent webhooks, which n8n architectural execution mode is most appropriate to prevent memory overloads?
N8N architecture
Medium
A.Main execution mode (default)
B.Single-threaded loop mode
C.Serverless function mode
D.Queue mode with Redis and worker nodes
Correct Answer: Queue mode with Redis and worker nodes
Explanation:
Queue mode in n8n uses Redis to distribute workflow executions across multiple worker nodes, allowing the system to scale horizontally and handle high concurrent workloads without overloading a single instance.
Incorrect! Try again.
22A team needs a workflow that reads physical configuration files located in /var/log/app on their internal server and executes custom NPM packages inside a Code node. Which deployment strategy is required?
cloud vs self-hosted deployment
Medium
A.Self-hosted deployment
B.n8n Cloud (Enterprise plan)
C.n8n Cloud (Starter plan)
D.Hybrid Cloud deployment
Correct Answer: Self-hosted deployment
Explanation:
Accessing the local host file system and modifying the environment to include custom global NPM packages requires self-hosting n8n, as n8n Cloud environments are isolated for security reasons.
Incorrect! Try again.
23When you select multiple nodes on the n8n canvas and copy them to your system clipboard, in what format is the underlying data stored?
N8N interface for canvas, nodes, connections
Medium
A.YAML
B.XML
C.JSON
D.Base64 encoded string
Correct Answer: JSON
Explanation:
n8n stores and copies workflow and node configurations as JSON objects. You can paste this JSON directly into a text editor to view or share the node configurations.
Incorrect! Try again.
24If Node A is connected to both Node B and Node C in a parallel branch pattern, and both B and C are connected to a single Merge node, what potential issue must be accounted for in the Merge node configuration?
Node connection patterns
Medium
A.Connection timeout errors
B.The Merge node executing twice if not configured to wait for both branches
C.Data corruption in the JSON payload
D.Infinite loops causing workflow crashes
Correct Answer: The Merge node executing twice if not configured to wait for both branches
Explanation:
In parallel branching, nodes execute asynchronously. If a Merge node (or any downstream node) is not correctly configured to wait for both inputs (e.g., using a specific merge mode), it may trigger prematurely or execute multiple times.
Incorrect! Try again.
25n8n processes data as an array of items. If a node receives an input of 3 items and is designed to perform a standard data transformation (like the Set node), how many times does the internal node operation typically iterate by default?
Data flow mechanics
Medium
A.Zero times, as transformations require a Code node
B.Once, operating on the entire array as a single object
C.It depends on the manual trigger configuration
D.Three times, once for each item in the array
Correct Answer: Three times, once for each item in the array
Explanation:
By default, regular nodes in n8n process the input data item by item. If the input contains 3 items, the node executes its core logic 3 times (once per item) and outputs an array of 3 transformed items.
Incorrect! Try again.
26In a workflow where Node 1 outputs 5 items to Node 2, and Node 2 outputs to Node 3, how does n8n handle the execution order across these nodes?
Execution order
Medium
A.Node 1 processes all 5 items, passes the entire batch of 5 items to Node 2, which then processes them and passes the batch to Node 3
B.Node 1 processes the items asynchronously in random order
C.Node 1 passes item 1 to Node 2 and Node 3, then processes item 2
D.Node 3 starts processing before Node 2 finishes
Correct Answer: Node 1 processes all 5 items, passes the entire batch of 5 items to Node 2, which then processes them and passes the batch to Node 3
Explanation:
n8n utilizes a breadth-first execution model for items. A node completes processing the entire array of items (a batch) before passing the complete resulting array to the next node in the sequence.
Incorrect! Try again.
27While building a complex workflow, an external API used early in the workflow imposes strict rate limits. What is the most effective debugging technique in n8n to test downstream nodes without repeatedly calling this API?
Debugging techniques
Medium
A.Add a Sleep node of 60 seconds before the API call
B.Use an IF node to skip the API call randomly
C.Delete the API node and replace it with a webhook
D.Pin the data on the node immediately following the API call
Correct Answer: Pin the data on the node immediately following the API call
Explanation:
Pinning data to a node saves the output of that node. During subsequent test executions, n8n will use the pinned data instead of executing the node and all preceding nodes, preserving API rate limits.
Incorrect! Try again.
28Which of the following statements accurately describes the behavior of Trigger nodes compared to Regular nodes in an active n8n workflow?
Node types as triggers, regular nodes, output nodes
Medium
A.Trigger nodes must always return binary data
B.Trigger nodes can be placed anywhere in the workflow chain to pause execution
C.Trigger nodes automatically listen for external events or schedules and initiate the workflow, whereas regular nodes wait for data from preceding nodes
D.Regular nodes can start a workflow if a Trigger node fails
Correct Answer: Trigger nodes automatically listen for external events or schedules and initiate the workflow, whereas regular nodes wait for data from preceding nodes
Explanation:
Trigger nodes serve as the starting point of a workflow. When active, they actively listen for events (like webhooks or schedules) to initiate the execution, unlike regular nodes which only run when they receive data from a connected previous node.
Incorrect! Try again.
29You are configuring a Webhook trigger node to receive data from an external service. The external service requires a specific JSON response { "status": "received" } immediately after the data is accepted, before the rest of the workflow finishes processing. How should the Webhook node be configured?
Trigger nodes as manual, schedule, webhook
Medium
A.Set 'Respond' to 'Using 'Respond to Webhook' Node' and place it at the end of the workflow
B.Set 'Respond' to 'Immediately' and use a mock JSON body in the node's response configuration
C.Set 'Respond' to 'Immediately' and 'Response Data' to 'First Item'
D.Webhooks in n8n cannot send custom JSON responses immediately
Correct Answer: Set 'Respond' to 'Immediately' and use a mock JSON body in the node's response configuration
Explanation:
To send a specific response immediately without waiting for the workflow to finish, the Webhook node should be set to respond immediately, and the custom response body can be defined directly in the Webhook node's settings.
Incorrect! Try again.
30A workflow receives data from an e-commerce platform. You need to route orders based on their status: 'pending', 'shipped', 'delivered', or 'canceled'. Which core node provides the most efficient and scalable way to route this data to four different downstream branches?
Core nodes as Set, IF, Switch, Merge
Medium
A.A Set node using ternary expressions
B.A chain of three IF nodes
C.A Switch node configured with four routing rules based on the status field
D.A Merge node set to 'Multiplex'
Correct Answer: A Switch node configured with four routing rules based on the status field
Explanation:
The Switch node allows you to route items to multiple different outputs based on specific rules (e.g., string matching the order status), making it much cleaner and more scalable than chaining multiple IF nodes.
Incorrect! Try again.
31You have two arrays of JSON objects arriving at a Merge node. Input 1 contains user profiles {"user_id": 1, "name": "Alice"} and Input 2 contains user scores {"user_id": 1, "score": 95}. To output a single merged object {"user_id": 1, "name": "Alice", "score": 95}, which Merge node mode should be used?
Core nodes as Set, IF, Switch, Merge
Medium
A.Append
B.Combine
C.Keep Key Matches
D.Wait
Correct Answer: Combine
Explanation:
The 'Combine' (or 'Merge By Key' in newer n8n versions) mode allows you to join two separate streams of data into single items based on a matching key, such as user_id.
Incorrect! Try again.
32When configuring an HTTP Request node to send a POST request with dynamic JSON data containing variables from a previous node, where should this data be mapped in the node settings?
HTTP Request node as REST API methods
Medium
A.In the URL field appended as a query string
B.In the Body Parameters section, ensuring the Send Body option is enabled
C.In the Headers section under Content-Type
D.In the Query Parameters section
Correct Answer: In the Body Parameters section, ensuring the Send Body option is enabled
Explanation:
POST requests typically send their payload in the request body. In n8n, this requires enabling the 'Send Body' toggle and mapping the dynamic JSON data into the Body Parameters.
Incorrect! Try again.
33An external API requires Bearer Token authentication. If setting this up manually in an HTTP Request node via Headers rather than using predefined credentials, what is the exact string format for the Header Name and Header Value?
Authentication mechanisms as API Key, Bearer Token
Medium
The standard HTTP header for Bearer token authentication requires the Header Name to be Authorization and the Header Value to be the word Bearer followed by a space and the actual token.
Incorrect! Try again.
34An incoming JSON payload is structured as follows: {"customer": {"orders": [{"id": 101}, {"id": 102}]}}. What is the correct n8n expression to extract the ID of the second order?
JSON data operations
Medium
A.{{ $json["customer"]["orders"]["id"][1] }}
B.{{ $json.customer.orders[1].id }}
C.{{ $json.customer.orders[2].id }}
D.{{ $json.customer.orders.id[1] }}
Correct Answer: {{ $json.customer.orders[1].id }}
Explanation:
JSON arrays are zero-indexed. To access the second order, you use index [1]. The correct dot notation follows the object structure: $json -> customer -> orders -> index 1 -> id.
Incorrect! Try again.
35When writing custom JavaScript in an n8n Code node operating in 'Run Once for All Items' mode, what specific data structure MUST the node return to successfully pass data to the next node?
Data transformation as expressions and Code node
Medium
A.A single JSON object
B.An array of objects, where each object has a top-level json key containing the data
C.A stringified JSON array
D.An array of standard JavaScript objects
Correct Answer: An array of objects, where each object has a top-level json key containing the data
Explanation:
n8n requires data flowing between nodes to follow a specific structure: an array of items, where each item is an object containing a json property that holds the actual data payload (e.g., [{ json: { myData: 1 } }]).
Incorrect! Try again.
36A workflow pulls a list of 50 users from API A. For each user, it must call API B to get their profile image using the user ID. If API B rate limits requests to 10 per second, what is the best node combination to handle this?
Multi-API integration
Medium
A.Use a Loop (or Split In Batches) node between API A and API B, paired with a Sleep node
B.Connect API A directly to API B; n8n automatically throttles requests
C.Increase the timeout settings on the API B HTTP Request node
D.Use a Merge node to combine all 50 IDs into a single request to API B
Correct Answer: Use a Loop (or Split In Batches) node between API A and API B, paired with a Sleep node
Explanation:
To respect API rate limits when processing an array of items, you should batch the items using a Loop (Split in Batches) node and introduce a deliberate delay (Sleep node) between the batch executions.
Incorrect! Try again.
37When using the PostgreSQL node to perform an 'Upsert' operation on a users table, what prerequisite is required in the database schema to ensure the operation succeeds without creating duplicate records?
Database integration using PostgreSQL operations
Medium
A.The table must have an auto-incrementing integer ID
B.A Primary Key or a UNIQUE constraint on the column used to match existing records
C.An index on all columns being updated
D.A foreign key constraint on the email column
Correct Answer: A Primary Key or a UNIQUE constraint on the column used to match existing records
Explanation:
An Upsert (Insert or Update) operation requires a definitive way to check if a row already exists. In PostgreSQL, this relies on a conflict target, which must be backed by a Primary Key or a UNIQUE constraint on the matching column(s).
Incorrect! Try again.
38An HTTP Request node downloads a CSV file. In n8n, this data is temporarily held in memory as binary data. To manipulate this data using standard n8n nodes (like Set or IF), what must be done next?
File processing
Medium
A.Save the file to disk and use a Read Text File node
B.Use the 'Extract from File' / 'Spreadsheet File' node to convert the binary CSV data into a JSON array of items
C.Use a JSON Parse expression directly on the binary property
D.Use the Code node to write a binary-to-string parser
Correct Answer: Use the 'Extract from File' / 'Spreadsheet File' node to convert the binary CSV data into a JSON array of items
Explanation:
n8n separates binary data and JSON data. To manipulate the contents of a binary CSV file using standard logical nodes, it must first be converted into n8n's native JSON item structure using a node designed for file extraction (like Spreadsheet File or Extract from File).
Incorrect! Try again.
39An n8n expression needs to calculate the total price by multiplying price and quantity from the incoming JSON. If quantity might sometimes be missing (undefined), which expression safely defaults the quantity to 1 to prevent NaN errors?
Data transformation as expressions and Code node
Medium
Expressions in n8n use standard JavaScript syntax. Using a ternary operator (json.quantity : 1) or the nullish coalescing operator ($json.quantity ?? 1) inside parentheses ensures the missing value safely defaults to 1 before multiplication.
Incorrect! Try again.
40You need a Schedule Trigger node to run a workflow exactly at 2:30 PM every Tuesday and Thursday. Which standard Cron expression achieves this in the node's settings?
Trigger nodes as manual, schedule, webhook
Medium
A.* 14 30 * 2,4
B.30 2 * * 2,4
C.14 30 * * TUE,THU
D.30 14 * * 2,4
Correct Answer: 30 14 * * 2,4
Explanation:
In standard cron syntax (Minute, Hour, Day of Month, Month, Day of Week), 30 represents the 30th minute, 14 represents 2 PM (24-hour format), and 2,4 represents Tuesday and Thursday. Therefore, 30 14 * * 2,4 is correct.
Incorrect! Try again.
41When a node in n8n receives 5 input items but is explicitly configured with 'Execute Once' toggled on, how does the node process the incoming data, and what is its resultant output?
Data flow mechanics
Hard
A.It throws a pipeline error, as 'Execute Once' can only be toggled when the upstream node inherently outputs a single item.
B.It processes all 5 items collectively as a single array object, requiring the node to possess native batching capabilities; otherwise, execution fails.
C.It executes its primary operation 5 separate times, but strictly outputs the aggregate result as a single merged item.
D.It processes only the first item, ignoring the rest, and outputs a single item containing the result of that operation.
Correct Answer: It processes only the first item, ignoring the rest, and outputs a single item containing the result of that operation.
Explanation:
When 'Execute Once' is enabled, the node takes only the very first item from the incoming array of items, executes its operation against that single item, and ignores the remaining items, passing only the single computed result forward.
Incorrect! Try again.
42In a Code node configured to 'Run Once for All Items', how must you structure the returned JavaScript code to properly output 3 distinct items back into the n8n data flow?
Data transformation as expressions and Code node
Hard
In n8n, data is strictly passed between nodes as an array of objects, where each object contains a json property holding the actual data payload. Returning a raw array of standard objects will result in an execution error.
Incorrect! Try again.
43When configuring a Merge node to 'Multiplex' (Cross-Join) mode, where Input 1 receives items and Input 2 receives items, what is the exact number of output items produced?
Core nodes as Set, IF, Switch, Merge
Hard
A. items, processing only matching indexes and permanently discarding excess items from the longer input.
B. items, appending Input 2's items sequentially after Input 1's items.
C. items, where every item from Input 1 is merged with every item from Input 2.
D. items, merging matching indexes and padding remaining items with null structures.
Correct Answer: items, where every item from Input 1 is merged with every item from Input 2.
Explanation:
Multiplex mode performs a Cartesian product (Cross-Join). It takes every single item from the first input and pairs it with every single item from the second input, resulting in total combinations.
Incorrect! Try again.
44In a highly scaled n8n architecture utilizing 'Queue Mode' for execution distribution, which specific external services are strictly required to manage workload distribution and state between the main instance and worker processes?
N8N architecture
Hard
A.A primary n8n instance, a MongoDB cluster for document storage, and an Nginx load balancer.
B.A primary n8n instance, an external RDBMS (like PostgreSQL), and a Redis instance for job queue management.
C.An array of independent n8n instances interconnected directly via peer-to-peer WebSockets.
D.A primary n8n instance, an SQLite database for persistence, and an MQTT broker for worker signaling.
Correct Answer: A primary n8n instance, an external RDBMS (like PostgreSQL), and a Redis instance for job queue management.
Explanation:
Queue mode in n8n requires Redis to manage the BullMQ task queues (distributing work to workers) and a central RDBMS (like PostgreSQL) so all workers can read/write to the same shared database state.
Incorrect! Try again.
45When utilizing the PostgreSQL node for an 'Upsert' operation on a table containing multiple distinct unique constraints, how does n8n resolve potential constraint conflicts to execute an update?
Database integration using PostgreSQL operations
Hard
A.It automatically introspects the database schema and updates based solely on the Primary Key, ignoring secondary unique constraints.
B.It updates the row based on the first mapped column provided in the n8n node interface.
C.It requires the workflow author to manually define the 'Conflict Target' (the specific unique column or constraint) to correctly form the ON CONFLICT clause.
D.It performs a deletion of the conflicting row followed by a fresh insertion to bypass constraint collisions entirely.
Correct Answer: It requires the workflow author to manually define the 'Conflict Target' (the specific unique column or constraint) to correctly form the ON CONFLICT clause.
Explanation:
PostgreSQL's native upsert functionality (INSERT ... ON CONFLICT) requires explicitly knowing which unique constraint triggers the conflict. n8n exposes this as the 'Update Key' or Conflict Target, which must be manually specified to execute the upsert properly.
Incorrect! Try again.
46A Webhook node is explicitly set to 'Respond: Using Respond to Webhook Node'. If the workflow successfully executes to completion but the routing logic completely bypasses the 'Respond to Webhook' node, what is the resulting behavior sent to the client?
Trigger nodes as manual, schedule, webhook
Hard
A.The webhook node immediately returns a 200 OK with an empty payload as a safe fallback mechanism.
B.The webhook abruptly returns a 500 Internal Server Error upon workflow completion, citing that no response was provided.
C.The webhook returns the JSON payload of the final executed node in the workflow as an automatic default response.
D.The webhook keeps the HTTP connection alive until the proxy times out, eventually returning a 504 Gateway Timeout.
Correct Answer: The webhook abruptly returns a 500 Internal Server Error upon workflow completion, citing that no response was provided.
Explanation:
If n8n is configured to wait for a 'Respond to Webhook' node and the workflow finishes executing without ever reaching one, n8n closes the connection with a 500 error indicating 'Workflow finished successfully but no response was provided'.
Incorrect! Try again.
47During complex workflow debugging, you 'Pin' data to a node. Which of the following accurately describes the behavior of that specific node upon subsequent manual executions of the workflow?
Debugging techniques
Hard
A.The node executes its underlying logic normally but performs a schema validation check against the pinned data, throwing an error on mismatch.
B.The node completely bypasses its native execution logic, instantly emitting the pinned static data to the subsequent connected nodes.
C.The node queries fresh data from its source, deeply merges it with the pinned data, and propagates the hybrid payload.
D.The entire workflow execution halts upon reaching the pinned node, entering a breakpoint state until manual user intervention occurs.
Correct Answer: The node completely bypasses its native execution logic, instantly emitting the pinned static data to the subsequent connected nodes.
Explanation:
Pinning data overrides the node's standard operation. Instead of fetching APIs or transforming data, the node simply acts as a static passthrough, outputting the exact pinned JSON without running its internal logic.
Incorrect! Try again.
48Which specific environment variable constitutes a critical security best practice in self-hosted n8n environments to prevent malicious workflow creators from accessing underlying operating system variables via Code nodes?
cloud vs self-hosted deployment
Hard
A.EXECUTIONS_DATA_SAVE_ON_ERROR=all
B.N8N_DISABLE_WEBHOOK_EXECUTION=true
C.N8N_BLOCK_ENV_ACCESS_IN_NODE=true
D.N8N_ENFORCE_SANDBOX_STRICT=true
Correct Answer: N8N_BLOCK_ENV_ACCESS_IN_NODE=true
Explanation:
By default, Node.js allows access to process.env. In a self-hosted n8n instance, setting N8N_BLOCK_ENV_ACCESS_IN_NODE=true restricts users from reading sensitive OS-level environment variables (like database passwords) via Code nodes.
Incorrect! Try again.
49When a workflow execution hits a node with multiple outgoing connections (a branch), how does n8n handle the execution order of these disparate parallel branches?
Execution order
Hard
A.It spawns distinct Node.js worker threads to execute all branches simultaneously in true parallel computing mode.
B.It immediately merges the data streams into an overarching matrix payload and executes downstream nodes collectively.
C.It executes the branches sequentially in a Depth-First Search (DFS) manner, fully completing the execution path of one branch before returning to initiate the next.
D.It progresses through the branches synchronously by executing one node from each branch in an alternating round-robin queue.
Correct Answer: It executes the branches sequentially in a Depth-First Search (DFS) manner, fully completing the execution path of one branch before returning to initiate the next.
Explanation:
n8n executes branching logic sequentially rather than in true parallel. It follows one connection path all the way to its conclusion (depth-first) before backtracking to the split point to execute the subsequent branch.
Incorrect! Try again.
50When using the HTTP Request node to interact with an API endpoint that mandates cursor-based pagination, what is the natively optimized approach to retrieve all pages within a single node boundary?
HTTP Request node as REST API methods
Hard
A.Utilize the Webhook response mode to listen for sequential API push events triggered by the cursor.
B.Wrap the HTTP node within a Split In Batches sub-workflow loop, manually re-assigning the cursor value to a global environment variable.
C.Configure the node's built-in 'Pagination' settings, select 'Cursor' as the pagination mode, and dynamically map the response's next cursor token to the subsequent request's query or body.
D.Write a recursive pre-request script in JavaScript to hijack the Axios call stack and return the aggregated arrays.
Correct Answer: Configure the node's built-in 'Pagination' settings, select 'Cursor' as the pagination mode, and dynamically map the response's next cursor token to the subsequent request's query or body.
Explanation:
The HTTP Request node includes native Pagination capabilities. Selecting the 'Cursor' mode allows n8n to automatically iterate the requests by extracting the cursor from the response and injecting it into the subsequent request until the cursor is empty or a limit is reached.
Incorrect! Try again.
51An external API secures its endpoints using a Bearer Token that expires every 15 minutes, necessitating a refresh via a distinct /auth endpoint. What is the most robust n8n architectural pattern to handle this lifecycle without workflow interruption?
Authentication mechanisms as API Key, Bearer Token
Hard
A.Hardcode an HTTP Request node querying the /auth endpoint directly inside the 'Pre-request Code' text block of every single downstream API call.
B.Configure the 'Error Trigger' node to intercept 401 Unauthorized errors, manually fetch a new token, and utilize a 'Go To' node to jump back to the failed request.
C.Implement an overarching Schedule Trigger workflow running every 14 minutes to write the new token to a local JSON file accessible by the main workflow.
D.Create a custom n8n OAuth2 credential configured with the 'Custom API' authentication flow, delegating token validation and autonomous refresh logic directly to n8n's credential manager.
Correct Answer: Create a custom n8n OAuth2 credential configured with the 'Custom API' authentication flow, delegating token validation and autonomous refresh logic directly to n8n's credential manager.
Explanation:
n8n's Credential system allows for custom OAuth2 implementations. By mapping the authentication and token endpoints directly inside the credential settings, n8n automatically intercepts expired tokens, fetches new ones, and seamlessly retries the request without requiring manual workflow logic.
Incorrect! Try again.
52Given the incoming payload { "sensor": { "readings": [10, 20, 30] } }, which expression inside a Set node correctly and safely calculates the mathematical average of the readings, gracefully handling scenarios where the array might be entirely missing or empty?
JSON data operations
Hard
A.{{ Math.average($json.sensor.readings) || 0 }}
B.{{ json.sensor.readings.count() }}
C.{{ (json.sensor.readings.reduce((a, b) => a + b, 0) / $json.sensor.readings.length) : 0 }}
D.{{ json.sensor.readings.length }}
Correct Answer: {{ (json.sensor.readings.reduce((a, b) => a + b, 0) / $json.sensor.readings.length) : 0 }}
Explanation:
This expression uses optional chaining (?.) to prevent exceptions if sensor or readings is undefined, and a ternary operator to prevent a Division by Zero error (NaN) if the array is empty, safely defaulting to 0.
Incorrect! Try again.
53When configuring a workflow to process massive files (e.g., a 2GB CSV archive) in n8n, why is it architecturally critical to leverage stream-based processing rather than passing standard binary data?
File processing
Hard
A.Standard binary data processing encrypts the payload implicitly, bottlenecking CPU cycles beyond the timeout limit.
B.Stream processing automatically splits files into physical chunks on the host's OS, preventing database locks during workflow commits.
C.Stream processing dynamically minifies the CSV content structure, optimizing string parsing for the downstream Code nodes.
D.Standard binary passing converts the entire file into a Base64-encoded string held entirely in memory, risking Memory Limit Exceeded (OOM) crashes in the V8 Node.js engine.
Correct Answer: Standard binary passing converts the entire file into a Base64-encoded string held entirely in memory, risking Memory Limit Exceeded (OOM) crashes in the V8 Node.js engine.
Explanation:
Loading a massive file as standard binary data loads the whole file into RAM (often as a Base64 string, adding ~33% memory overhead). Streams bypass this by processing chunks sequentially, keeping the memory footprint minimal and avoiding Node.js Out Of Memory errors.
Incorrect! Try again.
54API A provides an array of 500 distinct IDs. API B accepts one ID per request to return detailed profiles, but strictly enforces a rate limit of 10 requests per second. How should this integration be orchestrated to successfully retrieve all profiles without encountering HTTP 429 Too Many Requests errors?
Multi-API integration
Hard
A.Inject a Code node utilizing Atomics.wait() to pause the primary Node.js event loop for 100ms between implicit item iterations.
B.Route the execution through a Loop (Split In Batches) node configured to process 10 items per batch, succeeded by a Wait node pausing for 1 second before querying API B.
C.Set the 'Concurrency Limit' on API A's node to dynamically throttle the downstream flow into API B based on header extraction.
D.Enable 'Enable Rate Limiting' within the API B HTTP Request node, inputting '10' into the 'Requests per Second' parameter.
Correct Answer: Route the execution through a Loop (Split In Batches) node configured to process 10 items per batch, succeeded by a Wait node pausing for 1 second before querying API B.
Explanation:
To respect rate limits when expanding arrays into individual requests, you must batch the items. By looping 10 items at a time and invoking a 1-second Wait node at the end of each batch, you guarantee the API limit is never exceeded.
Incorrect! Try again.
55When utilizing a generic expression to reference a value from a node that executed several steps prior, what is the correct modern syntax to retrieve the exact item mapping corresponding to the current item's execution path, accounting for intermediate filtering or sorting?
Data transformation as expressions and Code node
Hard
Using $('Node Name').item ensures item-linking architecture correctly resolves the data from the previous node relative to the exact item currently being processed, avoiding misalignments caused by array filtering or sorting.
Incorrect! Try again.
56In the n8n canvas interface, if a regular transformational node situated directly between an HTTP Request node and a Postgres node is manually 'Disabled' (toggled off via the interface), what is the resulting execution behavior of that pathway?
N8N interface for canvas, nodes, connections
Hard
A.The disabled node automatically generates an empty JSON object {} and passes it to the subsequent nodes.
B.The workflow throws a critical 'Node Disabled' validation exception upon initialization and refuses to execute.
C.Execution halts silently at the disabled node, treating the branch as successfully completed but proceeding no further.
D.Execution bypasses the node's internal logic, passing the exact incoming payload directly to the next node as a transparent pass-through.
Correct Answer: Execution bypasses the node's internal logic, passing the exact incoming payload directly to the next node as a transparent pass-through.
Explanation:
When a node is disabled in n8n, it acts purely as a passthrough wire. It forwards the incoming data exactly as it received it directly to the subsequent node without executing any internal transformation or logic.
Incorrect! Try again.
57When an IF node processes a single execution containing 10 items, where 4 items evaluate to true and 6 evaluate to false, how does the node structure and route the resulting output?
Core nodes as Set, IF, Switch, Merge
Hard
A.It throws a multi-item execution error because IF logic can only strictly resolve against a single root boolean condition.
B.It resolves the boolean condition strictly against the first item in the array, routing all 10 items dynamically based on that single outcome.
C.It outputs the 4 matching items to the 'True' output and the 6 failing items to the 'False' output, simultaneously pushing two independent item arrays down separate execution branches.
D.It aggressively aggregates the items into two root JSON objects, one for true and one for false, resulting in exactly two total output items.
Correct Answer: It outputs the 4 matching items to the 'True' output and the 6 failing items to the 'False' output, simultaneously pushing two independent item arrays down separate execution branches.
Explanation:
The IF node processes conditions on an item-by-item basis. It splits the array, routing the items that pass the condition out of the 'True' connection and the items that fail out of the 'False' connection simultaneously.
Incorrect! Try again.
58Consider a canvas containing an interconnected workflow sequence starting with a Webhook trigger, alongside a completely isolated Schedule Trigger node with no drawn connections to the rest of the canvas. If the Webhook trigger fires, how does n8n handle the disconnected Schedule Trigger node?
Node connection patterns
Hard
A.Only the continuous path originating from the activating Webhook trigger executes; all nodes isolated from that path are strictly ignored during that execution.
B.Both nodes execute their respective logic branches independently in parallel memory blocks.
C.It throws a 'Disconnected Nodes' structural validation error, preventing the Webhook execution from initiating.
D.It dynamically establishes a phantom connection to execute the Schedule Trigger immediately after the Webhook sequence concludes.
Correct Answer: Only the continuous path originating from the activating Webhook trigger executes; all nodes isolated from that path are strictly ignored during that execution.
Explanation:
An execution in n8n only traverses the connected node paths starting from the specific trigger that initiated it. Any completely disconnected nodes or separate triggers on the canvas are ignored during that specific run.
Incorrect! Try again.
59What functional characteristic accurately describes the behavior of standard 'Output Nodes' (such as external service integrations) regarding workflow termination in n8n?
Node types as triggers, regular nodes, output nodes
Hard
A.They implicitly possess a hidden loop connection to the triggering node to validate transaction receipts.
B.They are functionally standard nodes designed to deliver data externally, but they do not automatically halt or prevent subsequent connected nodes from executing.
C.They require the workflow to natively run in 'Synchronous' blocking mode to establish bidirectional streams.
D.They intrinsically halt and terminate the entire workflow process immediately upon completion, killing any lingering parallel branches.
Correct Answer: They are functionally standard nodes designed to deliver data externally, but they do not automatically halt or prevent subsequent connected nodes from executing.
Explanation:
While semantically categorized as 'Output' nodes because they push data to external systems (e.g., sending an email or writing to a database), technically in n8n they are just regular nodes. If you connect another node after them, execution will continue normally.
Incorrect! Try again.
60Node A successfully outputs 3 distinct items. Node B (an HTTP Request node) is connected to Node A, and is explicitly configured with 'Split into Items' enabled. If the external API responds with a raw JSON array of 5 objects for each of the 3 API calls, how many total individual items are cumulatively outputted by Node B to Node C?
Data flow mechanics
Hard
A.5 items, because the final execution overwrites the aggregate stack from the previous items.
B.15 items, because the node processes 3 requests, extracts 5 objects per response, and flattens them into individual item arrays.
C.8 items, due to flat additive vector mapping.
D.3 items, representing the strict preservation of the incoming item count structure.
Correct Answer: 15 items, because the node processes 3 requests, extracts 5 objects per response, and flattens them into individual item arrays.
Explanation:
Because 'Split into Items' is enabled, Node B takes the JSON array returned by the API and breaks it into individual n8n items. 3 incoming requests returning 5 array objects each results in a flattened output array of individual items passing to Node C.