[Q64-Q88] Tested Material Used To 102-500 Test Engine Exam Questions in here [Sep-2021]

Share

Tested Material Used To 102-500 Test Engine Exam Questions in here [Sep-2021]

Penetration testers simulate 102-500 exam PDF

NEW QUESTION 64
Which of the following comparison operators for test work on elements in the file system? (Choose two.)

  • A. -eq
  • B. -z
  • C. -f
  • D. -d
  • E. -lt

Answer: C,D

 

NEW QUESTION 65
How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?

  • A. env -u FOOBAR./myscript
  • B. set -a FOOBAR="";./myscript
  • C. unset -v FOOBAR;./myscript
  • D. env -i FOOBAR./myscript

Answer: A

 

NEW QUESTION 66
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?

  • A. cat /etc/X11
  • B. xwininfo
  • C. xcd
  • D. xcolordepth
  • E. xcdepth

Answer: B

 

NEW QUESTION 67
Which of the following statements is true if the UID of a regular user is identical to the GID of a group?

  • A. The user as well as the group are not available to avoid ambiguity due to the ID conflict.
  • B. The user is the only member of the group, even if the group configuration contains other members.
  • C. UID have precedence over GIDs, therefore the user is available while the group doesn't.
  • D. UIDs and GIDs are independent of each other, therefore the user as well as the group are still available.
  • E. GIDs have precedence over UIDs, therefore the group is available while the user isn't.

Answer: D

 

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

Answer:

Explanation:
none

 

NEW QUESTION 69
Which of the following commands lists all defines variables and functions within Bash?

  • A. export
  • B. env
  • C. echo $ENV
  • D. env -a
  • E. set

Answer: E

 

NEW QUESTION 70
When trying to unmount a device it is reported as being busy. Which of the following commands could be used to determine which process is causing this?

  • A. debug
  • B. traceroute
  • C. strace
  • D. nessus
  • E. lsof

Answer: E

 

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

  • A. A normal crontab file allows for environment variable substitution.
  • B. The /etc/crontab file has a user field for commands.
  • C. A normal crontab file must be installed with the crontab command.
  • D. The /etc/crontab file can specify a year field.

Answer: B,C

 

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

  • A. Run the command chsh -s /bin/false with the user name.
  • B. Create a .nologin file in the user's home directory.
  • C. Remove the user from the group staff.
  • D. Set the UID for the user to 0.
  • E. Add the user to /etc/noaccess.

Answer: A

 

NEW QUESTION 73
Given the following excerpt of the sudo configuration:
jane ANY=NOPASSWD: /bin/kill, /bin/id, PASSWD: /sbin/fdisk
Which of the following statements are true? (Choose three.)

  • A. Jane can run /sbin/fdisk after specifying her password.
  • B. Jane can run /bin/id without specifying her password.
  • C. Jane can run /bin/id only after specifying her password.
  • D. Jane can run /bin/kill without specifying a password.
  • E. Jane can run /sbin/fdisk after specifying root's password.

Answer: A,B,D

 

NEW QUESTION 74
Which command is used to set the hostname of the local system? (Specify ONLY the command without any path or parameters.)

Answer:

Explanation:
hostname

 

NEW QUESTION 75
By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.)

Answer:

Explanation:
/etc/skel

 

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

  • A. printers.conf
  • B. printcap.conf
  • C. cupsd.conf
  • D. snmp.conf
  • E. cups-devices.conf

Answer: A

 

NEW QUESTION 77
How do shadow passwords improve the password security in comparison to standard no-shadow password?

  • A. Shadow passwords are stored in plain text and can be checked for weak passwords.
  • B. Shadow passwords are always combined with a public key that has to match the user's private key.
  • C. Regular users do not have access to the password hashes of shadow passwords.
  • D. The system's host key is used to encrypt all shadow passwords.
  • E. Every shadow password is valid for 45 days and must be changed afterwards.

Answer: C

 

NEW QUESTION 78
Which standardized TCP port is used by HTTPS services?

  • A. 0
  • B. 1
  • C. 2
  • D. 3
  • E. 4

Answer: B

 

NEW QUESTION 79
Which file contains the date of the last change of a user's password?

  • A. /etc/passwd
  • B. /etc/gshadow
  • C. /etc/pwdlog
  • D. /var/log/shadow
  • E. /etc/shadow

Answer: E

 

NEW QUESTION 80
Which of the following commands finds all files owned by root that have the SetUID bit set?

  • A. find / -owner root -setuid
  • B. find / -user root -perm -4000
  • C. find / -user 0 -mode +s
  • D. find / --filter uid=1 --filter pers=u+s
  • E. find / -owner 0 -permbits 0x100000000

Answer: B

 

NEW QUESTION 81
What is a purpose of an SSH host key?

  • A. It authenticates any user that logs into a remote machine from the key's host.
  • B. It provides the server's identity information to connecting SSH clients.
  • C. It is used by system services like cron, syslog or a backup job to automatically connect to remote hosts.
  • D. It is root key by which all user SSH keys must be signed.
  • E. It must be sent by any SSH client in addition to a user key in order to identify the client's host.

Answer: B

 

NEW QUESTION 82
FILL BLANK
Which parameter is missing in the command
ip link set ____ dev eth0
to activate the previously inactive network interface eth0? (Specify the parameter only without any command, path or additional options.)

Answer:

Explanation:
up

 

NEW QUESTION 83
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.)

Answer:

Explanation:
/etc/cron.allow

 

NEW QUESTION 84
Which of the following entries in /etc/syslog.confwrites all mail related events to the file /var/log/ maillogand sends all critical events to the remote server logger.example.com?
mail.* /var/log/maillog

  • A. mail.crit syslog://logger.example.org
    mail /var/log/maillog
  • B. mail,crit @logger.example.org
    mail.* /var/log/maillog
  • C. mail.crit @logger.example.org
    mail * /var/log/maillog
  • D. mail crit @logger.example.org
  • E. mail.crit @logger.example.org
    mail.* /var/log/maillog

Answer: C

 

NEW QUESTION 85
Which of the following can the chage command NOT change?

  • A. The number of days since January 1, 1970 after which the user's account will no longer be accessible.
  • B. The number of days since January 1, 1970 since the password was last changed.
  • C. The maximum number of days during which a password is valid.
  • D. The number of days of inactivity after a password has expired before the account is locked.
  • E. The number of days since January 1, 1970 after which the password can change.

Answer: E

 

NEW QUESTION 86
Given the following excerpt of the sudoconfiguration:
jane ANY=NOPASSWD: /bin/kill, /bin/id, PASSWD: /sbin/fdisk
Which of the following statements are true? (Choose three.)

  • A. Jane can run /bin/killwithout specifying a password.
  • B. Jane can run /bin/idonly after specifying her password.
  • C. Jane can run /sbin/fdiskafter specifying her password.
  • D. Jane can run /sbin/fdisk after specifying root's password.
  • E. Jane can run /bin/idwithout specifying her password.

Answer: A,C,E

 

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

  • A. The user bob is removed from the system's user database.
  • B. All files owned by bob are remove from all mounted filesystems.
  • C. The locate database is updated to drop files owned by bob.
  • D. In case bob was the last member of a group, that group is deleted.
  • E. The user bob's home directory is removed.

Answer: A,E

 

NEW QUESTION 88
......

Authentic Best resources for 102-500 Online Practice Exam: https://www.itexamdownload.com/102-500-valid-questions.html

Get the superior quality 102-500 Dumps with explanations waiting just for you, get it now: https://drive.google.com/open?id=17QelO079yKQ9ekFPCy20l0cs_fI4VOtR