Herramientas de usuario

Herramientas del sitio


informatica:sistemas_operativos:cursos:docker_avanzado:tests

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisión
Revisión previa
informatica:sistemas_operativos:cursos:docker_avanzado:tests [2023/10/17 20:31] – [Preguntas de certificación] tempwininformatica:sistemas_operativos:cursos:docker_avanzado:tests [2023/10/19 18:39] (actual) – [Preguntas de certificación] tempwin
Línea 23: Línea 23:
   * A. ''docker run --del -v /foo busybox''   * A. ''docker run --del -v /foo busybox''
   * B. ''docker run --read-only -v /foo busybox''   * B. ''docker run --read-only -v /foo busybox''
-  * C. ''docker run --rm -v /foo busybox'' (**Correcta**)+  * C. ''docker run --rm -v /foo busybox'' 
   * D. ''docker run --remove -v /foo busybox''   * D. ''docker run --remove -v /foo busybox''
  
-**A container named "analytics" that stores results in a volume called "data" was created** (''docker run -d --name=analytics -v data:/data app1''). **How are the results accessed in "data" with another container called "app2"?**+No hay ninguna opción correcta ya que en todos los casos es incorrecta la sintaxis de los volúmenes. 
 + 
 +**A container named "analytics" that stores results in a volume called "data" was created** (''docker run -d %%--%%name=analytics -v data:/data app1''). **How are the results accessed in "data" with another container called "app2"?**
  
   * A. ''docker run -d --name=reports --volume=data app2''   * A. ''docker run -d --name=reports --volume=data app2''
Línea 51: Línea 53:
  
   * A. A resource limit and a resource reservation can be used interchangeably.   * A. A resource limit and a resource reservation can be used interchangeably.
-  * B. A resource limit is a soft limit for your service, while a reservation is hard limit and the docker engine will do its best to keep your service at the limit. (**Correcta**)+  * B. A resource limit is a soft limit for your service, while a reservation is hard limit and the docker engine will do its best to keep your service at the limit. 
   * C. A resource limit is used to find a host with adequate resources for scheduling a hard limit for your service, while a reservation is hard limit for your service.   * C. A resource limit is used to find a host with adequate resources for scheduling a hard limit for your service, while a reservation is hard limit for your service.
   * D. A resource limit is hard limit for your service, while a reservation is used to find a host with   * D. A resource limit is hard limit for your service, while a reservation is used to find a host with
-adequate resources for scheduling.+adequate resources for scheduling. (**Correcta**)
  
 **Which of the following namespaces is disabled by default and must be enabled at Docker engine runtime in order to be used?** **Which of the following namespaces is disabled by default and must be enabled at Docker engine runtime in order to be used?**
Línea 62: Línea 64:
   * C. net   * C. net
   * D. mnt   * D. mnt
 +
 +<WRAP center round info 60%>
 +Útil para acceder por ejemplo a LDAP
 +</WRAP>
  
 **Which of the following statements is true about secrets?** **Which of the following statements is true about secrets?**
  
-  * A. Secrets can be created from any node in the cluster.+  * A. Secrets can be created from any node in the cluster. 
   * B. Secrets can be modified after they are created.   * B. Secrets can be modified after they are created.
-  * C. Secret are stored unencrypted on manager nodes.+  * C. Secrets are stored unencrypted on manager nodes.
   * D. Secrets can be created using standard input (STDIN) and a file. (**Correcta**)   * D. Secrets can be created using standard input (STDIN) and a file. (**Correcta**)
 +
 +<WRAP center round info 60%>
 +Existe el comando ''docker secret create''
 +</WRAP>
  
 **Following the principle of least privilege, which of the following methods can be used to securely grant access to the specific user to communicate to a Docker engine? (Choose two.)** **Following the principle of least privilege, which of the following methods can be used to securely grant access to the specific user to communicate to a Docker engine? (Choose two.)**
  
   * A. Utilize the ''%%--%%host 0.0.0.0:2375'' option to the Docker daemon to listen on port 2375 over TCP on all interfaces   * A. Utilize the ''%%--%%host 0.0.0.0:2375'' option to the Docker daemon to listen on port 2375 over TCP on all interfaces
-  * B. Utilize openssl to create TLS client and server certificates, configuring the Docker engine to use with mutual TLS over TCP.+  * B. Utilize openssl to create TLS client and server certificates, configuring the Docker engine to use with mutual TLS over TCP. (**Correcta**)
   * C. Utilize the ''%%--%%host 127.0.0.1:2375'' option to the Docker daemon to listen on port 2375 over TCP on localhost   * C. Utilize the ''%%--%%host 127.0.0.1:2375'' option to the Docker daemon to listen on port 2375 over TCP on localhost
   * D. Give the user root access to the server to allow them to run Docker commands as root.   * D. Give the user root access to the server to allow them to run Docker commands as root.
   * E. Add the user to the 'docker' group on the server or specify the grouè with the '--group' Docker daemon option. (**Correcta**)   * E. Add the user to the 'docker' group on the server or specify the grouè with the '--group' Docker daemon option. (**Correcta**)
informatica/sistemas_operativos/cursos/docker_avanzado/tests.1697567489.txt.gz · Última modificación: por tempwin