Oracle 1z0-100 Exam Practice Questions (P. 1)
- Full Access (141 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #1
Which two statements are true concerning the installation and configuration of the bootloader by the Anaconda installer, which is then used to boot Oracle Linux?
- AThe Linux Loader (LILO) bootloader may be chosen for installation.
- BThe bootloader must be password protected and Anaconda prompts for a password in all cases.
- CThe Grand Unified Bootloader (GRUB) is the only bootloader used by Oracle Linux.
- DIf previously installed operating systems are found on disk partitions that were not overwritten, then an attempt is made to configure the bootloader to be able to boot them.
- EThe bootloader is installed by default in the first partition of the disk.
Correct Answer:
AE
A (not C): Linux boot process from hard drive:
1. PC initializion phase - BIOS, POST.
2. PC starts boot loader - usually grub or lilo.
3. The bootloader locates kernel image on the hard drive.
4. The kernel decompresses and loads itself. Once finished it tries to mount the root filesystem. 5. When the root filesystem is mounted, /sbin/init is executed and continues booting the system using inittab and /etc/rc*.d scripts
AE
A (not C): Linux boot process from hard drive:
1. PC initializion phase - BIOS, POST.
2. PC starts boot loader - usually grub or lilo.
3. The bootloader locates kernel image on the hard drive.
4. The kernel decompresses and loads itself. Once finished it tries to mount the root filesystem. 5. When the root filesystem is mounted, /sbin/init is executed and continues booting the system using inittab and /etc/rc*.d scripts
send
light_mode
delete
Question #2
You want to display the value of a shell variable called service after assigning a value as shown:
SERVICE =ACCT S -
Which two settings will display the name of the variable and its value?
SERVICE =ACCT S -
Which two settings will display the name of the variable and its value?
- Aset | grep service
- Becho $SERVICE
- Cenv | grep SERVICE
- Denv $SERVICE
- Eset $SERVICE
Correct Answer:
BC
C: env - set the environment for command invocation
If no utility operand is specified, the resulting environment shall be written to the standard output, with one name= value pair per line.
BC
C: env - set the environment for command invocation
If no utility operand is specified, the resulting environment shall be written to the standard output, with one name= value pair per line.
send
light_mode
delete
Question #3
Which statements is true concerning Oracle Linux configuration files for users and groups?
- AThe /etc/passwd file contains hashed passwords for each user.
- BThe /etc/shadow file contains hashed passwords for each user.
- CThe GECOS field in /etc/passwd file may be empty.
- DThe /etc/group file contains the group name and the hashed group password.
Correct Answer:
B
/etc/shadow file stores actual password in encrypted (one-way hashed) format for user's account with additional properties related to user password i.e. it stores secure user account information
B
/etc/shadow file stores actual password in encrypted (one-way hashed) format for user's account with additional properties related to user password i.e. it stores secure user account information
send
light_mode
delete
Question #4
Examine these statements and their output taken right after successful install of Oracle Linux:
[root@FAROUT /] rpm q firstboot
Firstboot -1.110.10-1.0.2.e16.x86_64
[root @FAROUT /] # chkconfig - - list firstboot
Firstboot 0:off 2:off 3:off 4:off 5:off 6;off
[root@FAROUT /] # /etc/sysconfig/firstboot
RUN_FIRSTBOOT=NO -
What is the conclusion?
[root@FAROUT /] rpm q firstboot
Firstboot -1.110.10-1.0.2.e16.x86_64
[root @FAROUT /] # chkconfig - - list firstboot
Firstboot 0:off 2:off 3:off 4:off 5:off 6;off
[root@FAROUT /] # /etc/sysconfig/firstboot
RUN_FIRSTBOOT=NO -
What is the conclusion?
- AThe option to run firstboot was deselected during Oracle Linux installation.
- BThe system was installed with desktop graphical packages and rebooted and the firstboot utility ran successful.
- CFirstboot never ran in any run level because the service is turned off for all run levels.
- DThe system was installed without selecting desktop graphical packages, thereby disabling firstboot from running.
Correct Answer:
A
Firstboot is set to off for all levels.
Example:
The rm command below remove or delate the firstboot file in order to make sure the firstboot program running when we restart or reboot the Fedora machine.
[root@fedora ~]# rm /etc/sysconfig/firstboot
rm: remove regular file `/etc/sysconfig/firstboot'? y
[root@fedora ~]#
Then check and make sure that firstboot program or firstboot service is run when your Fedora startup/boot up.
Check firstboot services -
[root@fedora ~]# chkconfig --list firstboot
firstboot 0:off 1:off 2:off 3:off 4:off 5:off 6:off
[root@fedora ~]#
A
Firstboot is set to off for all levels.
Example:
The rm command below remove or delate the firstboot file in order to make sure the firstboot program running when we restart or reboot the Fedora machine.
[root@fedora ~]# rm /etc/sysconfig/firstboot
rm: remove regular file `/etc/sysconfig/firstboot'? y
[root@fedora ~]#
Then check and make sure that firstboot program or firstboot service is run when your Fedora startup/boot up.
Check firstboot services -
[root@fedora ~]# chkconfig --list firstboot
firstboot 0:off 1:off 2:off 3:off 4:off 5:off 6:off
[root@fedora ~]#
send
light_mode
delete
Question #5
Which three settings can be controlled by using the chage breemar command as the root user, to modify the parameters in the /etc/shadow file?
- AThe expiration date of the breemar account
- BThe number of days after the breemar account is locked, that it becomes expired
- CThe maximum number of days that must elapse between password changes by the user breemar before the password becomes invalid
- DThe number of days after the breemar account is locked, that it becomes unlocked
- EThe minimum number of days that must elapse between password changes by the user breemar
- FThe maximum number of failed login attempts on the breemar account before the account is locked
Correct Answer:
ACE
A: chage -E, --expiredate EXPIRE_DATE
Set the date or number of days since January 1, 1970 on which the user's account will no longer be accessible.
CE: You need to use chage command to setup password aging.
The chage command changes the number of days between password changes and the date of the last password change. This information is used by the system to determine when a user must change his/her password.
ACE
A: chage -E, --expiredate EXPIRE_DATE
Set the date or number of days since January 1, 1970 on which the user's account will no longer be accessible.
CE: You need to use chage command to setup password aging.
The chage command changes the number of days between password changes and the date of the last password change. This information is used by the system to determine when a user must change his/her password.
send
light_mode
delete
All Pages