102-350 Exam Questions
127 real 102-350 exam questions with expert-verified answers and explanations. Page 1 of 3.
- Question #2
Which of the following words is used to restrict the records that are returned from a SELECT query based on a supplied criteria for the values in the records?
- Question #3
In the following command and its output, echo $$ 12942 What is 12942?
- Question #4
What output will the following command sequence produce? echo '1 2 3 4 5 6' | while read a b c; do echo result: $c $b $a; done
- Question #5
What output will the following command produce? seq 1 5 20
- Question #6
You are looking into a new script you received from your senior administrator. In the very first line you notice a #! followed by a file path. This indicates that:
- Question #7
What output will the command seq 10 produce?
- Question #8
Which of the following is the best way to list all defined shell variables?
- Question #9
Which command will print the exit value of the previous command to the screen in bash?
- Question #11
Within smb. conf, which security setting will NOT require that a client connect using a valid usernarne and password before connecting to a shared resource?
- Question #12
Which of the following lines would you find in the file /etc/nsswitch.conf?
- Question #13
Which command is used to display user resource limits?
- Question #14
Your department decided to change the Gnome Display Manager's greeting. What configuration file should you edit?
- Question #15
You want to make the directory /home/tess available via NFS. Which option do you have to use to grant read permission for the root user on the NFS mounted file system?
- Question #16
Which command allows you to make a shell variable visible to subshells?
- Question #17
Which of the following SQL statements will select the fields name and address from the contacts table?
- Question #19
What benefit does an alias in bash provide?
- Question #20
What keyword is missing from this code sample of a shell script? ____ i in *.txt; do echo $i done
- Question #22
For accessibility assistance, which of the following programs is an on-screen keyboard?
- Question #23
What is the purpose of the Sticky Keys feature in X?
- Question #24
On a system running the KDE Display Manager, when is the /etc/kde4/kdm/Xreset script automatically executed?
- Question #25
Why is the xhost program considered dangerous to use?
- Question #26
X is running okay but you'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?
- Question #27
Your senior administrator asked you to change the default background of his machine, which uses XDM. Which file would you edit to achieve this?
- Question #28
Which of the following lines is an example of a correct setting for the DISPLAY environment variable?
- Question #30
You have just set up the X Display Manager as your default display manager. What file should you edit to change the default background for it?
- Question #31
What is NOT contained in the locale setting of the operating system?
- Question #32
Of the ways listed, which is the best method to temporarily suspend a user's ability to interactively login?
- Question #33
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)
- Question #34
What is the main difference between the batch and at commands?
- Question #35
Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?
- Question #38
Which of the following can the chage command NOT change?
- Question #39
Which crontab entry could be used to set the system time at regular intervals?
- Question #40
Which of the following commands can be used to convert text files in one character encoding to another character encoding?
- Question #41
Which commands can you use to change a user's account aging information? (Choose THREE correct answers.)
- Question #42
A French user has installed the French language pack, but currencies are still being displayed with a leading '$' sign in his spreadsheets. What must be done to fix this?
- Question #43
The correct crontab entry to execute the script chklog three times per month between 3 p.m. and 5 p.m.:
- Question #44
Of the ways listed, which is the best way to temporarily suspend a single user's ability to interactively login?
- Question #45
Which command will set the local machine's timezone to UTC?
- Question #47
What is the conventional purpose of Linux UIDs that are lower than 100?
- Question #48
Why is /etc/shadow not world readable if the passwords are stored in an encrypted fashion?
- Question #49
To prevent a specific user from scheduling tasks with at, what should the administrator do?
- Question #50
Which TWO statements about crontab are true?
- Question #51
On a system using shadowed passwords, the most correct permissions for /etc/passwd are ___ and the most correct permissions for /etc/shadow are _________.
- Question #53
How is the file format of /etc/crontab different from a normal crontab file? (Select TWO correct answers)
- Question #55
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?
- Question #56
The legacy program, provided by CUPS for sending files to the printer queues on the command line is:
- Question #57
Which of the following commands is used on the command line to send messages to the syslog systems?
- Question #60
Which of the following is NOT a Mail Transport Agent?
- Question #64
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?
- Question #65
What entry can you add to syslog.conf file to have all syslog messages generated by your system go to virtual console 12?