702-100

Review 53 702-100 practice questions with answer explanations and community insights.

Question 1

How often does ? match the preceding expression in a regular expression?

  1. Two or more times
  2. Exactly one time
  3. Any number of times
  4. Zero or one times
  5. One or more times

Question 2

Consider the following file legalfile: disclosure non-disclosure non disclosure Which line or lines in the file does the following command match? Note the space after the dash within the brackets. grep "non[- ]disclosure" legalfile

  1. disclosure only
  2. non-disclosure only
  3. non disclosure only
  4. disclosure and non-disclosure only
  5. non-disclosure and non disclosure only

Question 3

Which command shows all processes owned by the user bob?

  1. who -l bob
  2. pgrep -u bob
  3. ps -o -a bob
  4. top bob
  5. last -p bob

Question 4

Which of the following excerpts is a valid if condition in the Bourne shell?

Question 5

Which command finds all directories within the current user’s home directory?

  1. find ~ -type d
  2. find . -dir
  3. find / -d | home
  4. find -uid myname
  5. find -d home
We are moving to a new platform

CertificationTest is being migrated. Some pages may be slow or briefly unavailable; everything will be back to normal within a few hours. If you run into any issue, email support@certificationtest.net.