Oracle Linux 21 a 30

Beschreibung

Quiz am Oracle Linux 21 a 30, erstellt von heriveltogabriel am 11/11/2015.
heriveltogabriel
Quiz von heriveltogabriel, aktualisiert more than 1 year ago
heriveltogabriel
Erstellt von heriveltogabriel vor etwa 9 Jahre
19
0

Zusammenfassung der Ressource

Frage 1

Frage
Which two conditions should be met in order to successfully configure an openssh client on Oracle Linux?
Antworten
  • 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.

Frage 2

Frage
Which three settings are required to configure an openLdap to use directory service provided by Ldap.example.com?
Antworten
  • 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.

Frage 3

Frage
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?
Antworten
  • 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.

Frage 4

Frage
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.
Antworten
  • 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.

Frage 5

Frage
Which two statements are true about administering the use of the Sudo command in Oracle Linux?
Antworten
  • 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.

Frage 6

Frage
Which four statements are about the use of these files and directories by UPSTART?
Antworten
  • /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.

Frage 7

Frage
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?
Antworten
  • 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.

Frage 8

Frage
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?
Antworten
  • 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.

Frage 9

Frage
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?
Antworten
  • 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

Frage 10

Frage
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?
Antworten
  • fdisk
  • cfdisk
  • parted
  • kpartx
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Oracle Linux 1 a 10
heriveltogabriel
Oracle Linux 11 a 20
heriveltogabriel
18) Kunststoffe
Mary Wonderland
04_Kommanditgesellschaft
Stefan Kurtenbach
NEU: Das Mindmap-Tool auf ExamTime
barbara91
Deutsche Redewendungen und Umgangssprache / Quiz 02 / deutschlernerblog.de
deutschlernerblog.de
Ökologie fürs Abitur - Lernfolien
disubbidienza
Differenzialrechnung (Analysis) Zusammenfassung
Antonia C
GPSY ALPS
Malte Ni
Vetie - Histo & Embryo II 2017
Fioras Hu
Vetie - Tierzucht & Genetik - Key Learning Questions
Fioras Hu