Summer Certification Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Salesforce Certified JavaScript Developer (JS-Dev-101) JavaScript-Developer-I Question # 41 Topic 5 Discussion

Salesforce Certified JavaScript Developer (JS-Dev-101) JavaScript-Developer-I Question # 41 Topic 5 Discussion

JavaScript-Developer-I Exam Topic 5 Question 41 Discussion:
Question #: 41
Topic #: 5

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 server = require( ' secure-server ' );


B.

const tls = require( ' tls ' );


C.

const http = require( ' http ' );


D.

const https = require( ' https ' );


Get Premium JavaScript-Developer-I Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.