Oracle Linux 21 a 30

Descripción

Test sobre Oracle Linux 21 a 30, creado por heriveltogabriel el 11/11/2015.
heriveltogabriel
Test por heriveltogabriel, actualizado hace más de 1 año
heriveltogabriel
Creado por heriveltogabriel hace más de 8 años
15
0

Resumen del Recurso

Pregunta 1

Pregunta
Which two conditions should be met in order to successfully configure an openssh client on Oracle Linux?
Respuesta
  • The openssh-server package must not be installed
  • The openssh package must be installed
  • The sshd daemon must not be started
  • The openssh-client package must be installed
  • The ssh-agent must be started
  • ssh keys must be generated by any user using the ssh client.

Pregunta 2

Pregunta
Which three settings are required to configure an openLdap to use directory service provided by Ldap.example.com?
Respuesta
  • Set the LDAP Search Base DN and the LDAP server address and post in /etc/openldap/ldap.conf to: dc=example, dc = com ldap://ldap.example.com:389
  • Set LDAP Search Base DN and the LDAP server address and port in /etc/ldap.conf to: dc=example, dc=com ldap://ldap.example.com:389
  • Ensure that /etc/nsswitch.conf correctly references authentication priorities: passed: files ldap shadow: files ldap group: files ldap
  • Ensure that the LDAP server name can be resolved.
  • Ensure that DNS is used to resolve the LDAP server name.

Pregunta 3

Pregunta
Refer to the Exhibit. [root@server1 ~ # 1s -1 /usr/bin/passwd -r-x—x—x 1 root root 21200 oct 7 21:01 /usr/bin/passwd [root@server1 ~] # 1s -1 /etc/shadow -r - - - - - - - - 1 root root 1818 Mar 7 10:31 /etc/shadow] [root@server1 ~]# A user smith is on your system complained that he is not able to change his password. As the administrator, you long-listed the passwd command and the /etc/shadow file. View the Exhibit that shows the output. What must you do to enable this user to change his password?
Respuesta
  • Set SGID on /usr/bin/passwd.
  • Set SUID on /usr/bin/passwd.
  • Set sticky bit on /usr/bin/passwd.
  • Set read and write permission for others on /etc/shadow.
  • Set permission on /etc/shadow to 600.

Pregunta 4

Pregunta
What happens if you reboot a Ksplice Uptrack-enabled system when the following conditions exist? 1. The Internet is unreachable due to a failing router. 2. The INSTALL_ON_REBOOT property is set to YES in /etc/uptrack/uptrack.conf.
Respuesta
  • The Ksplice updates are applied early in the boot sequence despite the fact that the Internet is unreachable.
  • The Ksplice updates are not applied during the boot sequence, but they will be applied as soon as the Internet becomes reachable again.
  • The updates are not applied during the boot sequence and will not be applied after the Internet has become reachable again.
  • The system waits in the boot sequence for the internet to become reachable again.
  • The system boots to single-user mode.

Pregunta 5

Pregunta
Which two statements are true about administering the use of the Sudo command in Oracle Linux?
Respuesta
  • visudo will never save the /etc/sudoers file if there are syntax errors in the file after editing.
  • visudo prompts for an action if there are syntax errors in the /etc/sudoers file after editing.
  • Using vi to edit /etc/sudoers opens the file read only.
  • Multiple administrators may edit the /etc/sudoers file simultaneously using visudo but only one may save the edited result.
  • Multiple administrators may edit the /etc/sudoers file simultaneously using vi but only one may save the edited result.

Pregunta 6

Pregunta
Which four statements are about the use of these files and directories by UPSTART?
Respuesta
  • /etc/rc.d/rc is executed each time the /sbin/init command us used, to change services appropriately for the target run level.
  • /etc/rc.d/rc.local is executed at boot time, before the run level processing takes place.
  • /etc/rc.d/rc is executed at boot time, to start the appropriate services for the run level defined in /etc/initab.
  • /etc/rc.d/rc.sysinit is executed once at boot time, regardless of which run level is set.
  • /etc/rc.d/rc.sysint is executed each time the /sbin/init command is used to change the run level.
  • /etc/rc.d/rc3.d contains links to scripts in /etc/init.d.
  • /etc/rc.d/rc is executed after /etc/rc.d/rc.local.

Pregunta 7

Pregunta
Examine these details from the sysctl.conf file and from the proc file system: [root@FAROUT fs]# grep aio-max-nr /etc/sysctl.conf # oracle-rdbms-server-11gR2-preinstall setting for fs.aio-mx-nr is 1048576 fs.aio-max-nr = 1048576 [root@FAROUT fs] # cat /proc/sys/fs/aio-max-nr 1048576 [root@FAROUT fs] # rpm –q libaio Libaio-0.0.107-10.e16.x86_64 Libaio-0.3.107-10.e76.i686 Which statement is true about the setting created by oracle-rdbms-server-11gR2-preinstall?
Respuesta
  • It allows a process to request an I/O without waiting for reply.
  • It allows two or more processes to request I/O simultaneously while running on different CPUs.
  • It allows a process to request a single I/O without awaiting for a reply. However, if a second I/O is requested, then the process must wait.
  • It allows two or more processes to request I/Os and then to both be notified when both of them complete.

Pregunta 8

Pregunta
You use the chkconfig command to administer one of the services on your Oracle Linux system: [root@FAROUT ~]# chkconfig vncserver off [root@FAROUT ~] # No changes have been made to the init script for the service. Which two statements are true regarding the effects of Issuing this command?
Respuesta
  • The vncserver service is shut down.
  • The vncserver service configuration is disabled only for those run levels for which it is currently enabled.
  • The vncserver service configuration is disabled for run levels 2, 3, 4 and 5.
  • The vncserver service remains in the same state it was in before the command was issued.
  • The vncserver service configuration is disabled for run levels 3 and 5 only.

Pregunta 9

Pregunta
Examine the commands used by root to create the chrooted environments in the /jail directory: # mkdir /jail/bin/jail/lib64 # cp /bin/bash/jail/bin linux-vdso.so.1 => (0x00007fff68dff000) libtinfo.so.5 => /lib64/libtinfo.so.5 (0x00000033e00000) lid1.so.2 => /lib64/libc.so.6 (0x00000033e1600000) /lib64/id-linix-86-64.so.2 (0x00000033e0e00000) # cp /lib64/libtinfo.so.5/jail/lib64 # cp /lib64/libd1.so.6 /jail/lib64 # cp /lib64/libc.so.6 /jail/lib64 # cp /lib64/id-linux-x86-64.so.2 /jail/lib64 The user root then issues this command: # chroot /jail What is the output from the cd, pwd, and 1s commands?
Respuesta
  • bash-4.1# cd bash-4.1# pwd /root bash-4.1# 1s bash” 1s: command not found
  • bash-4.1# cd bash: cd: /root: No such file or directory bash-4.1# pwd / bash-4.1 # 1s bash: 1s: command not found
  • bash-4.1# cd bash: cd: command not found bash: pwd: command not found bash-4.1# 1s
  • bash: 1s; # cd bash: cd: /root: unable to access chrooted file or directory /root bash-4.1# pwd / bash-4.1 # 1s bin lib64
  • bash-4.1# cd bash: cd: /root: No such file or directory bash-4.1# pwd / bash-4.1# 1s bin lib64

Pregunta 10

Pregunta
Examine the partition table: Disk /dev/sdd: 107 MB Sector size (logical/physical): 512B/512B Partition Table: msdos Number StartEndSizeTypeFileSystemFlags 11049KB79.7MB78.6MBPrimary Which program cannot be used to add another partition on this device?
Respuesta
  • fdisk
  • cfdisk
  • parted
  • kpartx
Mostrar resumen completo Ocultar resumen completo

Similar

Oracle Linux 1 a 10
heriveltogabriel
Oracle Linux 11 a 20
heriveltogabriel
PROCESADORES DE TEXTO
rm-asociados
Temario de la Selectividad para Extranjeros (UNED)
maya velasquez
Lenguas que influyen en el español
dorydan01
CUADRO SINOPTICO DEL DESARROLLO SUSTENTABLE
Correa Comajoi
TEMA 1.2. LA ESPECIALIDAD FUNDAMENTAL TRANSMISIONES, PRESENTE Y FUTURO
antonio del valle
Contrato de trabajo y modalidades
eva garrido
Circulación de cabeza y cuello
Antonio Vera
LA CELULA
oscar otavo
TÍTULO DE LA LECTURA
Senaju Perú