Pregunta de selección múltiple Pregunta Which HTTP method(s) is/are used to request data from a specified resource? (Select all that apply) Respostas Opción 1 POST Opción 2 GET Opción 3 DELETE Opción 4 PUT Retroalimentación Solución Selección incorrecta Selección correcta Selección incorrecta Selección incorrecta Pregunta Node.js is primarily used for: (Select all that apply) Respostas Opción 1 Creating CSS stylesheets Opción 2 Developing server-side and networking applications Opción 3 Executing JavaScript code on the server-side Opción 4 Managing databases Retroalimentación Solución Selección incorrecta Selección correcta Selección correcta Selección incorrecta Pregunta Axios can be used to: (Select all that apply) Respostas Opción 1 Make HTTP requests from both the browser and Node.js. Opción 2 Handle promises for asynchronous code. Opción 3 Parse HTML documents on the server-side. Opción 4 Manipulate DOM elements. Retroalimentación Solución Selección correcta Selección correcta Selección incorrecta Selección incorrecta Pregunta In the context of HTTP URLs, what does https indicate? (Select all that apply) Respostas Opción 1 The connection to the server is encrypted using TLS or SSL. Opción 2 Hypertext Transfer Protocol Secure Opción 3 The website is using the HTTP protocol. Opción 4 Secure Hyperlink Text Protocol Retroalimentación Solución Selección correcta Selección correcta Selección incorrecta Selección incorrecta Pregunta Which of the following are true about creating a server in Node.js using the HTTP module? (Select all that apply) Respostas Opción 1 It requires the http module. Opción 2 It can serve HTML files to clients. Opción 3 It automatically supports HTTPS protocol. Opción 4 It can handle requests and send responses. Retroalimentación Solución Selección correcta Selección correcta Selección incorrecta Selección correcta Pregunta HTTP POST requests are used for: (Select all that apply) Respostas Opción 1 Uploading data to the server. Opción 2 Requesting sensitive data from the server. Opción 3 Submitting form data. Opción 4 Updating existing resources. Retroalimentación Solución Selección correcta Selección incorrecta Selección correcta Selección correcta Pregunta Which features make Axios a popular choice for HTTP communication in web development? (Select all that apply) Respostas Opción 1 Automatic transformation of JSON data. Opción 2 Ability to intercept request and response. Opción 3 Integration with React Native. Opción 4 Native support for WebSockets. Retroalimentación Solución Selección correcta Selección correcta Selección correcta Selección incorrecta Pregunta When setting up a mock server in Postman, which of the following can you define? (Select all that apply) Respostas Opción 1 Request methods and response bodies. Opción 2 Custom status codes for different responses. Opción 3 Simulation of network latency. Opción 4 Automatic generation of API documentation. Retroalimentación Solución Selección correcta Selección correcta Selección incorrecta Selección incorrecta Pregunta Considering secure communication between a client and server, which of the following are recommended practices? (Select all that apply) Respostas Opción 1 Using HTTPS instead of HTTP. Opción 2 Storing sensitive data in plain text. Opción 3 Implementing OAuth for API authentication. Opción 4 Encrypting data payloads in POST requests. Retroalimentación Solución Selección correcta Selección incorrecta Selección correcta Selección correcta Pregunta For implementing real-time data exchange in a Node.js application, which approaches can be considered? (Select all that apply) Respostas Opción 1 Polling the server at regular intervals using Axios. Opción 2 Setting up WebSockets for a two-way communication channel. Opción 3 Using Server-Sent Events (SSE) for sending updates from server to client. Opción 4 Relying solely on HTTP GET requests for fetching new data. Retroalimentación Solución Selección correcta Selección correcta Selección correcta Selección incorrecta