IPT Reviewer 1

¡Supera tus tareas y exámenes ahora con Quizwiz!

Which flag is used to specify a custom user agent when making a request with `curl`?

-A

What flag is used with `curl` to send a GET request to a URL?

-G

How can you save the output of a `curl` request to a file?

-o

What is a load balancer in a server environment?

A device that distributes network traffic across multiple servers

What is a client-server architecture?

A model where devices have distinct roles

How can you set the URL to which a cURL request will be sent using the `curl_setopt()` function in PHP?

CURLOPT_URL

Which server role is responsible for storing and managing files for network users?

Client

What does "cURL" stand for?

Client-URL

Which model involves multiple servers working together to provide high availability and scalability?

Cluster model

Which protocol is used for transferring files between a client and a server over a network?

FTP

Which protocol is commonly used for secure communication between a client and a server?

HTTPS

What does HTTP stand for in the context of web communication?

Hypertext Transfer Protocol

What is the purpose of the `curl_init()` function in PHP?

Initialize a new cURL session

Which of the following is true about cURL?

It supports various protocols beyond HTTP.

Which of the following is a role of a proxy server?

Managing network traffic

Which programming language is used to write the `curl` command-line tool?

C

Which type of server stores and manages databases, allowing clients to retrieve and update data?

Database server

Which of the following is an example of a server-side scripting language?

PHP

Which of the following is not a characteristic of a client?

Provides resources

In a client-server architecture, what is the role of the client?

Request and consume resources

What is the primary purpose of a DNS server?

Resolving domain names to IP addresses

Which of the following is not a valid use case for `curl`?

Running shell scripts remotely

What type of server stores and manages email messages?

SMTP server

What is a common use of the `-d` flag with the `curl` command?

Sending data in an HTTP POST request

What is the primary purpose of the `curl` command-line tool?

Transferring data over various protocols

What function is used to close a cURL session in PHP?

curl_close()

In PHP, which function is used to perform HTTP requests similar to the `curl` command-line tool?

curl_exec()

Which of the following is used to execute a cURL session and return the output in PHP?

curl_exec()


Conjuntos de estudio relacionados

Differential and Selective Media

View Set

Psychology Chapter 9- Human development

View Set

Chapter 16 Organizational Culture

View Set