Categories
102-500 Dumps

102-500 Real Exam Dumps Questions and answers 101-110

Get Full Version of the Exam
http://www.EnsurePass.com/102-500.html

Question No.101

On a dual boot system, every time the system is booted back into Linux the time has been set backward by one day. Which of the following commands will correct the problem?

  1. date -d #39; 1 day#39;

  2. hwclock systohc localtime

  3. ntpdate pool.ntp.org

  4. time hwclock

Correct Answer: B

Question No.102

Which of the following tasks can be accomplished using the command date? (Choose TWO correct answers.)

  1. Synchronize the hardware and system clocks.

  2. Output date and time in different formats.

  3. Set the system clock.

  4. Set the hardware clock.

  5. Update the time via NTP.

Correct Answer: BC

Question No.103

What is pool.ntp.org?

  1. A deprecated feature for maintaining system time in the Linux kernel

  2. A website which provides binary and source packages for the OpenNTPD project

  3. A virtual cluster of various timeservers

  4. A community website used to discuss the localization of Linux

Correct Answer: C

Question No.104

Why is the correct configuration of a system#39;s time zone important?

  1. Because the conversion of Unix timestamps to local time relies on the time zone configuration.

  2. Because the time zone is saved as part of the modification times of files and cannot be changed after a file is created.

  3. Because the environment variables LANG and LC_MESSAGES are, by default, set according to the time zone.

  4. Because NTP chooses servers nearby based on the configured time zone.

Correct Answer: A

Question No.105

Which of the following commands is used to rotate, compress, and mail system logs?

  1. rotatelog

  2. striplog

  3. syslogd rotate

  4. logrotate

  5. logger

Correct Answer: D

Question No.106

Which file, when using Sendmail or a similar MTA system, will allow a user to redirect all their mail to another address and is configurable by the user themselves?

  1. /etc/alias

  2. ~/.alias

  3. /etc/mail/forwarders

  4. ~/.forward

  5. ~/.vacation

Correct Answer: D

Question No.107

What is true regarding the file ~/.forward?

  1. As it is owned by the MTA and not writable by the user, it must be edited using the editaliases command.

  2. After editing ~/.forward the user must run newaliases to make the mail server aware of the changes.

  3. Using ~/.forward, root may configure any email address whereas all other users may configure only their own addresses.

  4. When configured correctly, ~/.forward can be used to forward each incoming mail to more than one other recipient.

Correct Answer: D

Question No.108

Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose TWO correct answers.)

  1. from=

  2. since=

  3. until=

  4. upto=

  5. date=

Correct Answer: BC

Question No.109

After adding a new email alias to the configuration, which command must be run in order to ensure the MTA knows about it? (Specify the command without any path but including all required parameters.)

Correct Answer: newaliases, sendmail -bi

Question No.110

Please specify the top directory containing the configuration files for the CUPS printing system. (Specify the full path to the directory.)

Correct Answer: /etc/cups, /etc/cups/

Get Full Version of 102-500 Dumps

Categories
102-500 Dumps

102-500 Real Exam Dumps Questions and answers 111-120

Get Full Version of the Exam
http://www.EnsurePass.com/102-500.html

Question No.111

Which command, available with all MTAs, is used to list the contents of the MTA#39;s mail queue? (Specify ONLY the command without any path or parameters.)

Correct Answer: mailq, /usr/bin/mailq, sendmail -bp, /usr/sbin/sendmail -bp, /usr/lib/sendmail -bp, sendmail, /usr/sbin/sendmail, /usr/lib/sendmail

Question No.112

Which file inside the CUPS configuration directory contains the definition of the printers?

  1. cups-devices.conf

  2. snmp.conf

  3. printcap.conf

  4. printers.conf

  5. cupsd.conf

Correct Answer: D

Question No.113

What entry can you add to syslog.conf file to have all syslog messages generated by your system go to virtual console 12?

  1. *.* /dev/tty12

  2. /var/log/messages | /dev/tty12

  3. | /dev/tty12

  4. syslog tty12

  5. mail.* /dev/tty12

Correct Answer: A

Question No.114

Which of the following are syslog facilities? (Choose TWO correct answers.)

  1. local7

  2. mail

  3. advanced

  4. postmaster

  5. remote

Correct Answer: AB

Question No.115

Which command is used to sync the hardware clock to the system clock? (Specify ONLY the command without any path or parameters.)

Correct Answer: hwclock, /sbin/hwclock, /usr/sbin/hwclock

Question No.116

After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print. What command can be used to display the status of the printer#39;s queue? (Specify ONLY the command without any path or parameters.)

Correct Answer: lpq, /usr/bin/lpq, lpstat, /usr/bin/lpstat

Question No.117

Which option in the /etc/ntp.conf file specifies an external NTP source to be queried for time information? (Specify ONLY the option without any values or parameters.)

Correct Answer: server

Question No.118

Which of the following tools used for DNS debugging, reports not only the response from the name server but also details about the query?

  1. dnsq

  2. dig

  3. hostname

  4. dnslookup

  5. zoneinfo

Correct Answer: B

Question No.119

Which of the following keywords can be used in the file /etc/nsswitch.conf to specify a source for host name lookups? (Choose TWO correct answers.)

  1. resolv

  2. dns

  3. remote

  4. files

  5. hosts

Correct Answer: BD

Question No.120

What is true regarding TCP port 23?

  1. Port 23 is the well known port for the telnet service which is a plain text protocol that should no longer be used.

  2. Port 23 is the well known port for the SSH service which provides secure logins.

  3. Port 23 is the well known port for the rlogin service which is SSL secured by default.

  4. Port 23 is the well known port for the system login services which are encrypted when the user runs the starttls command in his login shell.

Correct Answer: A

Get Full Version of 102-500 Dumps

Categories
102-500 Dumps

102-500 Real Exam Dumps Questions and answers 91-100

Get Full Version of the Exam
http://www.EnsurePass.com/102-500.html

Question No.91

What is the purpose of the command mailq?

  1. It fetches new emails from a remote server using POP3 or IMAP.

  2. It is a multi-user mailing list manager.

  3. It is a proprietary tool contained only in the qmail MTA.

  4. It queries the mail queue of the local MTA.

  5. It is a command-line based tool for reading and writing emails.

Correct Answer: D

Question No.92

What command can be used to generate syslog entries of any facility and priority? (supply just the command name without a path)

Correct Answer: logger

Question No.93

To exclude all log messages of a given logging facility, you should use a logging priority of .

Correct Answer: none

Question No.94

What command should be used to print a listing of email in the system#39;s mail queue?

  1. lpq

  2. mailq

  3. mlq

  4. sendmail -l

Correct Answer: B

Question No.95

Which of the following are commonly used Mail Transfer Agent (MTA) applications? (Choose THREE correct answers.)

  1. Postfix

  2. Procmail

  3. Sendmail

  4. Exim

  5. SMTPd

Correct Answer: ACD

Question No.96

Which of the following is a legacy program provided by CUPS for sending files to the printer queues on the command line?

  1. lpd

  2. lpp

  3. lpq

  4. lpr

Correct Answer: D

Question No.97

What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12?

  1. *.* /dev/tty12

  2. /var/log/messages | /dev/tty12

  3. | /dev/tty12

  4. syslog tty12

  5. mail.* /dev/tty12

Correct Answer: A

Question No.98

What is true regarding the command sendmail?

  1. With any MTA, the sendmail command must be run periodically by the cron daemon.

  2. All MTAs, including Postfix and Exim, provide a sendmail command.

  3. The sendmail command prints the MTAs queue history of which mails have been sent successfully.

  4. It is only available when the sendmail MTA is installed.

Correct Answer: B

Question No.99

What is true about the ntpdate command?

  1. It is the primary management command for the NTP time server.

  2. It updates the local system#39;s date (i.e. day, month and year) but not the time (i.e. hours, minutes, seconds).

  3. It queries one or more NTP time servers and adjusts the system time accordingly.

  4. It sends the local system time to one or many remote NTP time servers for redistribution.

  5. It can be used by any user to set the user clock independently of the system clock.

Correct Answer: C

Question No.100

Which of the following is observed and corrected by a NTP client?

  1. The skew in time between the system clock and the hardware clock.

  2. The skew in time between the system clock and the reference clock.

  3. Changes in the time zone of the current computer#39;s location.

  4. Adjustments needed to support Daylight Saving Time.

Correct Answer: B

Get Full Version of 102-500 Dumps

Categories
102-500 Dumps

102-500 Real Exam Dumps Questions and answers 61-70

Get Full Version of the Exam
http://www.EnsurePass.com/102-500.html

Question No.61

Which command can be used to delete a group from a Linux system?

  1. groupdel

  2. groupmod

  3. groups

  4. groupedit

Correct Answer: A

Question No.62

Of the ways listed, which is the best way to temporarily suspend a single user#39;s ability to interactively login?

  1. Add the user name to /etc/nologin.

  2. Change the user#39;s password.

  3. Change the user name in /etc/passwd.

  4. Use change to expire the user account.

  5. Place the command logout in the user#39;s profile.

Correct Answer: D

Question No.63

What is the purpose of the iconv command?

  1. It converts bitmap images from one format to another such as PNG to JPEG.

  2. It verifies that the root directory tree complies to all conventions from the Filesystem Hierarchy Standard (FHS).

  3. It displays additional meta information from icon files ending in .ico.

  4. It changes the mode of an inode in the ext4 file system.

  5. It converts files from one character encoding to another.

Correct Answer: E

Question No.64

Why is /etc/shadow not world readable if the passwords are stored in an encrypted fashion?

  1. The encrypted passwords are still subject to brute force attacks.

  2. This is just for historical reasons.

  3. There is other information in the file that needs to be kept secret.

  4. The passwords can be decrypted by anyone with root access.

Correct Answer: A

Question No.65

What is true about the file /etc/localtime?

  1. It is a plain text file containing a string such as Europe/Berlin

  2. It is created and maintained by the NTP service based on the location of the system#39;s IP address.

  3. It is a symlink to /sys/device/clock/ltime and always contains the current local time.

  4. After changing this file, newtzconfig has to be run to make the changes effective.

  5. It is either a symlink to or a copy of a timezone information file such as

/usr/share/zoneinfo/Europe/Berlin.

Correct Answer: E

Question No.66

Which of the following fields are available in both the global /etc/crontab file as well as in user- specific crontab files? (Select TWO correct answers)

  1. Year

  2. Minute

  3. Username

  4. Command

Correct Answer: BD

Question No.67

Which crontab entry could be used to set the system time at regular intervals?

A. 1 0 * * * date $d $t $24

  1. 1 0 * * * ntpdate ntp1.digex.net

  2. 1 0 * * * date ntp1.digex.net

  3. 1 0 * * * runcron date ntp1.digex.net

  4. 1 0 * * * settime $d $t $24

Correct Answer: B

Question No.68

The correct crontab entry to execute the script chklog three times per month between 3 p.m. and 5 p.m.:

A. * 3,4,5 1 * * chklog B. 3 3,4,5 1 * * chklog

C. 3 15,16,17 * * * chklog D. 0 15,16,17 1 * * chklog E. * 15,16,17 1 * * chklog

Correct Answer: D

Question No.69

To prevent a specific user from scheduling tasks with at, what should the administrator do?

  1. Add the specific user to /etc/at.allow file.

  2. Add the specific user to [deny] section in the /etc/atd.conf file.

  3. Add the specific user to /etc/at.deny file.

  4. Add the specific user to nojobs group.

  5. Run the following: atd deny [user].

Correct Answer: C

Question No.70

What command will display the group names and GIDs to which a user belongs? (Provide only the command name with or without path information)

Correct Answer: id, /usr/bin/id

Get Full Version of 102-500 Dumps

Categories
102-500 Dumps

102-500 Real Exam Dumps Questions and answers 71-80

Get Full Version of the Exam
http://www.EnsurePass.com/102-500.html

Question No.71

Which commands can you use to change a user#39;s account aging information? (Choose THREE correct answers.)

  1. usermod

  2. passwd

  3. chattr

  4. chage

  5. chsh

Correct Answer: ABD

Question No.72

In case neither cron.allow nor cron.deny exist in /etc/, which of the following is true?

  1. Without additional configuration, no users may have user specific crontabs.

  2. Without additional configuration, all users may have user specific crontabs.

  3. The cron daemon will refuse to start and report missing files in the system#39;s logfile.

  4. When a user creates a user specific crontab the system administrator must approve it explicitly.

Correct Answer: A

Question No.73

What is NOT contained in the locale setting of the operating system?

  1. currency symbol

  2. language

  3. timezone

  4. thousands separator

Correct Answer: C

Question No.74

The command is used to add a group to the system.

Correct Answer: groupadd, /usr/sbin/groupadd

Question No.75

Which command should be added to /etc/bash_profile to change the language of messages from an internationalised program to Portuguese (pt)? (Select TWO correct answers)

  1. export LANGUAGE=quot;ptquot;

  2. export MESSAGE=quot;ptquot;

  3. export LANG=quot;ptquot;

  4. export LC_MESSAGES=quot;ptquot;

  5. export ALL_MESSAGES=quot;ptquot;

Correct Answer: CD

Question No.76

Which command will set the local machine#39;s timezone to UTC?

  1. cat UTC gt; /etc/timezone

  2. ln -s /usr/share/zoneinfo/UTC /etc/localtime

  3. date timezone=UTC

  4. mv /usr/timezone/UTC /etc

Correct Answer: B

Question No.77

Where are user specific crontabs stored?

  1. In the database file /etc/crontab.db which is shared by all users.

  2. As individual per-user files within /var/spool/cron.

  3. As individual per-user files in /etc/cron.user.d.

  4. In the .crontab file in the user#39;s home directory.

  5. In the file /var/cron/user-crontab which is shared by all users.

Correct Answer: B

Question No.78

What is true regarding the command userdel force remove bob? (Choose TWO correct answers.)

  1. The user bob is removed from the system#39;s user database.

  2. The user bob#39;s home directory is removed.

  3. The locate database is updated to drop files owned by bob.

  4. All files owned by bob are remove from all mounted filesystems.

  5. In case bob was the last member of a group, that group is deleted.

Correct Answer: AB

Question No.79

Which of the following commands can be used to convert text files in one character encoding to another character encoding?

  1. cat

  2. convert

  3. dd

  4. iconv

  5. utf2utf

Correct Answer: D

Question No.80

Which command is used to add an empty group to the system? (Specify ONLY the command without any path or parameters.)

Correct Answer: groupadd, /usr/sbin/groupadd

Get Full Version of 102-500 Dumps

Categories
102-500 Dumps

102-500 Real Exam Dumps Questions and answers 81-90

Get Full Version of the Exam
http://www.EnsurePass.com/102-500.html

Question No.81

Which TWO statements about crontab are true?

  1. Every user may have their own crontab.

  2. Changing a crontab requires a reload/restart of the cron daemon.

  3. The cron daemon reloads crontab files automatically when necessary.

  4. hourly is the same as quot;0 * * * *quot;.

  5. A cron daemon must run for each existing crontab.

Correct Answer: AC

Question No.82

What is the conventional purpose of Linux UIDs that are lower than 100?

  1. They are reserved for super user accounts.

  2. They are reserved for the system admin accounts.

  3. They are reserved for system accounts.

  4. They are unused, aside from 0, because they are targets of exploits.

  5. They are used to match with GIDs in grouping users.

Correct Answer: C

Question No.83

A user was not given permission to use the CRON scheduling system. What file needs to be modified to provide that access? (Please specify the full path to the file)

Correct Answer: /etc/cron.allow

Question No.84

Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.)

  1. The list of users that belong to the group.

  2. The home directory of the group.

  3. The name of the group.

  4. The description of the group.

  5. The password of the group.

Correct Answer: ACE

Question No.85

Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?

  1. 0 * * * 30 myscript

  2. 30 * * * 6 myscript

  3. 30 0 * * 0 myscript

  4. 30 0-23 * * 0 myscript

  5. 0 0-23 * * 30 myscript

Correct Answer: D

Question No.86

Which environment variable should be set in order to change the time zone for the commands run from within the environment variable#39;s scope? (Specify the variable name only.)

Correct Answer: TZ

Question No.87

What is the main difference between the batch and at commands?

  1. The batch command will run multiple times.The at command will only run once.

  2. The batch command will run when system load is low. The at command runs at a specific time.

  3. The at command reads commands from standard input. The batch command requires a command line argument.

  4. The at command e-mails results to the user. The batch command logs results to syslog.

Correct Answer: B

Question No.88

How is the file format of /etc/crontab different from a normal crontab file? (Select TWO correct answers)

  1. The /etc/crontab file can specify a year field.

  2. A normal crontab file must be installed with the crontab command.

  3. A normal crontab file allows for environment variable substitution.

  4. The /etc/crontab file has a user field for commands.

Correct Answer: BD

Question No.89

On a system using shadowed passwords, the most correct permissions for /etc/passwd are and the most correct permissions for /etc/shadow are .

A. -rw-r-, -r

B. -rw-rr, -rrr

C. -rw-rr, -r

D. -rw-rrw-, -r-r

E. -rw-, -r

Correct Answer: C

Question No.90

You need to pause the CUPS printer HPLaserjet4, and you want to cancel all print jobs with a message, quot;helloquot;. Which command will do this?

  1. cupsreject -c -r hello HPLaserjet4

  2. cupsreject -p -m hello HPLaserjet4

  3. cupsdisable -c -r hello HPLaserjet4

  4. cupsdisable -p -m hello HPLaserjet4

Correct Answer: C

Get Full Version of 102-500 Dumps

Categories
102-500 Dumps

102-500 Real Exam Dumps Questions and answers 31-40

Get Full Version of the Exam
http://www.EnsurePass.com/102-500.html

Question No.31

The X11 configuration file xorg.conf is grouped into sections. How is the content of the section SectionName associated with that section?

  1. It is placed in curly brackets as in Section SectionName { … }.

  2. It is placed between a line containing Section quot;SectionNamequot; and a line containing EndSection.

  3. It is placed between the tags lt;Section name=quot;SectionNamequot;gt; and lt;/Sectiongt;

  4. It is placed after the row [SectionName].

  5. It is placed after an initial unindented Section quot;SectionNamequot; and must be indented by exactly one tab character.

Correct Answer: B

Question No.32

An administrator wants to determine the geometry of a particular window in X, so she issues the

-metric command and then clicks on the window.

Correct Answer: /usr/bin/xwininfo, xwininfo

Question No.33

Your senior administrator asked you to change the default background of his machine, which uses XDM. Which file would you edit to achieve this?

  1. /etc/X11/xdm/Xsetup

  2. /etc/X11/xdm.conf

  3. /etc/X11/xdm/Defaults

  4. /etc/X11/defaults.conf

Correct Answer: A

Question No.34

X is running okay but you#39;re concerned that you may not have the right color depth set. What single command will show you the running color depth while in X?

  1. xcd

  2. xcdepth

  3. xwininfo

  4. xcolordepth

  5. cat /etc/X11

Correct Answer: C

Question No.35

Why is the xhost program considered dangerous to use?

  1. It makes it difficult to uniquely identify a computer on the network.

  2. It allows easy access to your X server by other users.

  3. It logs sensitive information to syslog.

  4. It makes your computer share network resources without any authentication.

  5. It is a graphical DNS tool with known exploits.

Correct Answer: B

Question No.36

Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)

Correct Answer: /usr/bin/xwininfo, xwininfo

Question No.37

What is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path.)

Correct Answer: xorg.conf

Question No.38

Which file used by XDM specifies the default wallpaper?

  1. /etc/X11/xdm/Xsetup

  2. /etc/X11/xdm.conf

  3. /etc/X11/xdm/Defaults

  4. /etc/X11/defaults.conf

Correct Answer: A

Question No.39

How is a display manager started?

  1. It is started by a user using the command startx.

  2. It is started like any other system service by the init system.

  3. It is started by inetd when a remote hosts connects to the X11 port.

  4. It is started automatically when a X11 user logs in to the system console.

Correct Answer: B

Question No.40

What is the purpose of the Sticky Keys feature in X?

  1. To assist users who have difficulty holding down multiple keys at once

  2. To prevent repeated input of a single character if the key is held down

  3. To ignore brief keystrokes according to a specified time limit

  4. To repeat the input of a single character

Correct Answer: A

Get Full Version of 102-500 Dumps

Categories
102-500 Dumps

102-500 Real Exam Dumps Questions and answers 41-50

Get Full Version of the Exam
http://www.EnsurePass.com/102-500.html

Question No.41

Which of the following are tasks handled by a display manager like XDM or KDM? (Choose TWO correct answers.)

  1. Start and prepare the desktop environment for the user.

  2. Configure additional devices like new monitors or projectors when they are attached.

  3. Handle the login of a user.

  4. Lock the screen when the user was inactive for a configurable amount of time.

  5. Create an X11 configuration file for the current graphic devices and monitors.

Correct Answer: AC

Question No.42

What is the purpose of a screen reader?

  1. It reads text displayed on the screen to blind or visually impaired people.

  2. It reads the parameters of the attached monitors and creates an appropriate X11 configuration.

  3. It displays lines and markers to help people use speed reading techniques.

  4. It manages and displays files that contain e-books.

Correct Answer: A

Question No.43

On a system running the KDE Display Manager, when is the /etc/kde4/kdm/Xreset script automatically executed?

  1. When KDM starts

  2. When a user#39;s X session exits

  3. When KDM crashes

  4. When X is restarted

  5. When X crashes

Correct Answer: B

Question No.44

Which of the following lines is an example of a correct setting for the DISPLAY environment variable?

  1. hostname:displayname

  2. hostname:displaynumber

  3. hostname/displayname

  4. hostname/displaynumber

  5. hostname

Correct Answer: B

Question No.45

For accessibility assistance, which of the following programs is an on-screen keyboard?

  1. xkb

  2. atkb

  3. GOK

  4. xOSK

Correct Answer: C

Question No.46

What is the name of the simple graphical login manager that comes with a vanilla X11 installation? (Specify ONLY the command without any path or parameters.)

Correct Answer: xdm

Question No.47

Of the ways listed, which is the best method to temporarily suspend a user#39;s ability to interactively login?

  1. Use passwd -d username to give the user an empty password.

  2. Use chage to expire the user account.

  3. Change the user#39;s password.

  4. Add the command exit to the user#39;s .login file.

Correct Answer: B

Question No.48

In which file, if present, must all users be listed that are allowed to use the cron scheduling system? (Specify the full name of the file, including path.)

Correct Answer: /etc/cron.allow

Question No.49

Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?

  1. *

  2. s

  3. x

Correct Answer: D

Question No.50

Which of the following commands can remove a user from a group?

  1. grouprm

  2. groupmod

  3. passwd

  4. usergroups

  5. usermod

Correct Answer: E

Get Full Version of 102-500 Dumps

Categories
102-500 Dumps

102-500 Real Exam Dumps Questions and answers 51-60

Get Full Version of the Exam
http://www.EnsurePass.com/102-500.html

Question No.51

Which of the following commands should be added to /etc/bash_profile in order to change the language of messages for an internationalized program to Portuguese (pt)?

  1. export LANGUAGE=quot;ptquot;

  2. export MESSAGE=quot;ptquot;

  3. export UI_MESSAGES=quot;ptquot;

  4. export LC_MESSAGES=quot;ptquot;

  5. export ALL_MESSAGES=quot;ptquot;

Correct Answer: D

Question No.52

Which of the following files assigns a user to its primary group?

  1. /etc/pgroup

  2. /etc/shadow

  3. /etc/group

  4. /etc/passwd

  5. /etc/gshadow

Correct Answer: D

Question No.53

Which of the following can the chage command NOT change?

  1. The number of days since January 1, 1970 after which the user#39;s account will no longer be accessible.

  2. The number of days since January 1, 1970 after which the password can change.

  3. The number of days since January 1, 1970 since the password was last changed.

  4. The maximum number of days during which a password is valid.

  5. The number of days of inactivity after a password has expired before the account is locked.

Correct Answer: B

Question No.54

Which file specifies the user accounts that can NOT submit jobs via at or batch? (Provide the full path and filename)

Correct Answer: /etc/at.deny

Question No.55

Each entry in a crontab must end with what character?

  1. Tab

  2. Space

  3. Backslash

  4. Newline

Correct Answer: D

Question No.56

Which file contains the date of the last change of a user#39;s password?

  1. /etc/gshadow

  2. /etc/passwd

  3. /etc/pwdlog

  4. /etc/shadow

  5. /var/log/shadow

Correct Answer: D

Question No.57

The system#39;s timezone may be set by linking /etc/localtime to an appropriate file in which directory? (Provide the full path to the directory, without any country information)

Correct Answer: /usr/share/zoneinfo/

Question No.58

Which commands can be used to change a user#39;s account aging information? (Choose THREE

correct answers.)

  1. usermod

  2. passwd

  3. chattr

  4. chage

  5. chsh

Correct Answer: ABD

Question No.59

A French user has installed the French language pack, but currencies are still being displayed with a leading #39;$#39; sign in his spreadsheets. What must be done to fix this?

  1. Alter the locale.

  2. Set the timezone correctly.

  3. Edit /etc/currency.

  4. Reinstall the French language pack.

Correct Answer: A

Question No.60

Which of the following steps prevents a user from obtaining an interactive login session?

  1. Run the command chsh -s /bin/false with the user name.

  2. Set the UID for the user to 0.

  3. Remove the user from the group staff.

  4. Add the user to /etc/noaccess.

  5. Create a .nologin file in the user#39;s home directory.

Correct Answer: A

Get Full Version of 102-500 Dumps

Categories
102-500 Dumps

102-500 Real Exam Dumps Questions and answers 1-10

Get Full Version of the Exam
http://www.EnsurePass.com/102-500.html

Question No.1

Which command allows you to make a shell variable visible to subshells?

  1. export $VARIABLE

  2. export VARIABLE

  3. set $VARIABLE

  4. set VARIABLE

  5. env VARIABLE

Correct Answer: B

Question No.2

What output will the command seq 10 produce?

  1. A continuous stream of numbers increasing in increments of 10 until stopped.

  2. The numbers 1 through 10 with one number per line.

  3. The numbers 0 through 9 with one number per line.

  4. The number 10 to standard output.

Correct Answer: B

Question No.3

Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Choose THREE correct answers.)

  1. The user issuing the command must be in the group script.

  2. The script file must be found in the $PATH.

  3. The script file must have the executable permission bit set.

  4. The script must begin with a shebang-line (#!) that points to the correct interpreter.

  5. The file system on which the script resides must be mounted with the option scripts.

Correct Answer: BCD

Question No.4

Which of the following commands lists all defined variables and functions within Bash?

  1. env

  2. set

  3. env -a

  4. echo $ENV

Correct Answer: B

Question No.5

Which command makes the shell variable named VARIABLE visible to subshells?

  1. export $VARIABLE

  2. export VARIABLE

  3. set $VARIABLE

  4. set VARIABLE

  5. env VARIABLE

Correct Answer: B

Question No.6

What output will the following command sequence produce? echo #39;1 2 3 4 5 6#39; | while read a b c; do

echo result: $c $b $a; done

  1. result: 3 4 5 6 2 1

  2. result: 1 2 3 4 5 6

  3. result: 6 5 4

  4. result: 6 5 4 3 2 1

  5. result: 3 2 1

Correct Answer: A

Question No.7

Which of the following words is used to restrict the records that are returned from a SELECT SQL query based on a supplied criteria for the values in the records?

  1. CASE

  2. FROM

  3. WHERE

  4. IF

Correct Answer: C

Question No.8

Which of the following is the best way to list all defined shell variables?

  1. env

  2. set

  3. env -a

  4. echo $ENV

Correct Answer: B

Question No.9

Which directory in /etc is used to keep a sample copy of files and directories for when a new user has a home directory created? (Please provide the full path)

Correct Answer: /etc/skel, /etc/skel/

Question No.10

After issuing:

function myfunction { echo $1 $2 ; } in Bash, which output does:

myfunction A B C Produce?

  1. A B

  2. A B C

  3. A C

  4. B C

  5. C B A

Correct Answer: A

Get Full Version of 102-500 Dumps