ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 45 - Certified JavaScript Developer I discussion

Report
Export

A developer wants to set up a secure web server with Node.js. The developer creates a directory locally called app-server, and the first file is app-server/index.js Without using any third-party libraries, what should the developer add to index.js to create the secure web server?

A.
const https =require('https');
Answers
A.
const https =require('https');
B.
const server =require('secure-server');
Answers
B.
const server =require('secure-server');
C.
const tls = require('tls');
Answers
C.
const tls = require('tls');
D.
const http =require('http');
Answers
D.
const http =require('http');
Suggested answer: A
asked 23/09/2024
ivaylo Skechleiev
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first