¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

DevOps Final Exam

EUJEAN MARIE HERNANDEZ 40 preguntas

Hacer el test

Preguntas del test (40)

  1. 1What Linux command is used to display the contents of the current directory?
    1. AIn
    2. Bpwd
    3. Ccat
    4. Dls
  2. 2What command is used to rename a file in a Linux system?
    1. Arm
    2. Bmv
    3. Ccp
    4. Ddd
  3. 3A user issues a Linux command and the result is shown.

    total 40
    drwxr-xr-x 2 devasc devasc 4096 Apr 15 19:09 Videos
    drwxr-xr-x 2 devasc devasc 4096 Apr 15 19:09 Templates
    drwxr-xr-x 5 devasc devasc 4096 Mar 30 21:24 snap
    drwxr-xr-x 2 devasc devasc 4096 Apr 15 19:09 Public
    drwxr-xr-x 2 devasc devasc 4096 Apr 15 19:09 Pictures
    drwxr-xr-x 2 devasc devasc 4096 Apr 15 19:09 Music
    drwxr-xr-x 5 devasc devasc 4096 Mar 30 21:21 labs
    drwxr-xr-x 2 devasc devasc 4096 Apr 15 19:09 Downloads
    drwxr-xr-x 2 devasc devasc 4096 Apr 15 19:09 Documents
    drwxr-xr-x 2 devasc devasc 4096 Mar 30 21:25 Desktop
    devasc@labvm:~$

    Which Linux command is used to display the contents of the current directory as shown?
    1. Als -a
    2. Bls -l
    3. Cls -lr
    4. DIn
  4. 4A system administrator of a Linux server is searching the passwd file for the username taylor that appears at the beginning of the line. Which grep command should the administrator use?
    1. Agrep '.taylor' /etc/passwd
    2. Bgrep '[taylor]' /etc/passwd
    3. Cgrep taylor /etc/passwd
    4. Dgrep '^taylor' /etc/passwd
  5. 5A user issues the apt-get upgrade command to update system files in a Ubuntu Linux system and receives an error message of "permission denied." What should the user do to complete the task?
    1. AIssue the apt-get install --allow command
    2. BIssue the sudo apt-get install command
    3. CIssue the sudo apt-get upgrade command
    4. DIssue the allow apt-get upgradecommand
  6. 6A student is learning Python using the interactive interpreter mode. The student issues the commands:


    What is the result?
    Imagen de la pregunta 6
    1. A['SW4', 'SW1', 'SW2', 'SW3']
    2. B['SW1', 'SW2', 'SW3', 'SW4']
    3. C['SW4', 'SW3', 'SW2', 'SW1']
    4. D['SW4']
    5. E['SW1', 'SW2', 'SW3']
  7. 7A student is learning Python in the interactive interpreter mode. The student issues the commands:

    >>> devicenames=[\"RT1\", \"RT2\", \"SW1\", \"SW2\"]
    >>> devicenames[-1]

    What is the result?
    1. ASW1
    2. BSW2
    3. C['RT2', 'SW1', 'SW2']
    4. DRT1
    5. Ean error message
  8. 8A developer needs to check the version of the running Python package. Which command should the developer use?
    1. Apython3 -i
    2. Bpython3 -V
    3. Cpython3 -q
    4. Dpython3 --v
  9. 9A student is learning Python in the interactive interpreter mode. The student issues the command:
    >>> type(True)

    What is the data type reported by Python?
    1. ABoolean
    2. Bfloat
    3. Cstring
    4. Dinteger
  10. 10Which Python programming function is used to display output?
    1. Aif
    2. Bprint
    3. Cfor
    4. Dwhile

Información

Descripción
college Devops - Module1-2 Test sobre DevOps Final Exam, creado por EUJEAN MARIE HERNANDEZ el 09/12/2024.
Idioma
English
Visitas
0
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?