JS-Dev-101 practice question 22 of 25
A developer is leading the creation of a new web server for their team that will fulfill API requests from an existing client. The team wants a web…
Full set: 148 questionsThe requirement is for a "seasoned back-end framework that runs on Node.js" to build a web server for API requests. Next.js is a popular, well-established framework built on top of Node.js and React. While it is a full-stack framework, its API Routes feature is specifically designed for building back-end APIs, making it a suitable choice. It has a large and active community. The options "Next" and "Next.js" refer to the same framework.
A. Angular is a front-end framework used for building client-side applications and does not function as a Node.js back-end server framework.
C. Gatsby is a static site generator for the front end. It is not designed for creating dynamic, request-fulfilling API servers.
1. Next.js Official Documentation, "API Routes: Introduction". Vercel. Accessed May 2024. The documentation states, "API routes provide a solution to build your API with Next.js." This confirms its use as a back-end framework.
2. Salesforce JavaScript Developer I Certification Guide. Salesforce. Accessed May 2024. The guide lists "server-side JavaScript frameworks such as Express and Next.js" as relevant topics, officially sanctioning Next.js as a back-end framework in the context of this exam.
Keep practicing
Take the free JS-Dev-101 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other JS-Dev-101 practice questions
- Question 1A developer executes: document.cookie; document.cookie = 'key=John Smith'; What is the be…
- Question 2A developer is required to write a function that calculates the sum of elements in an arr…
- Question 3Given the code below: 01 const delay = async delay => { 02 return new Promise((resolve, r…
- Question 401 function Animal(size, type) { 02 this.type = type || 'Animal'; 03 this.canTalk = false…
- Question 5Refer to the code snippet: 01 let array = [1, 2, 3, 4, 4, 5, 4, 4]; 02 for (let i = 0; i …
- Question 6Code: 01 let array = [1, 2, 3, 4, 4, 5, 4, 4]; 02 for (let i = 0; i < array.length; i++) …
