LX0-104 CompTIA Linux+ [Powered by LPI] Exam Set 6

Depending on the host's configuration, which of the following files can be used to turn on and off network services running on a host? (Choose TWO correct answers.)


Options are :

  • C,D (Correct)
  • /etc/profile
  • /etc/services
  • /etc/xinetd.conf
  • /etc/host.conf
  • /etc/inetd.conf

Answer : C,D

Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?


Options are :

  • core
  • edquota
  • ulimit (Correct)
  • quota

Answer : ulimit

CompTIA Security+ SY0-501 Questions & Answers Set 1

Which of the following commands can be used to associate open TCP ports with the processes that opened the ports?


Options are :

  • debug
  • strace
  • Isof (Correct)
  • nessus
  • ptrace

Answer : Isof

Which configuration file would be edited to change the default options for outbound SSH sessions?


Options are :

  • /etc/ssh/ssh_config (Correct)
  • /etc/ssh/client
  • /etc/ssh/sshd_config
  • /etc/ssh/ssh
  • /etc/ssh/ssh_client

Answer : /etc/ssh/ssh_config

Which of the following details can be found in an entry of a user specific crontab? (Choose TWO correct answers.)


Options are :

  • The verbal description of the job.
  • The name of the user which should run the job.
  • C,D (Correct)
  • The time when the cron job should run.
  • The command that should be started by the cron job.
  • The syslog facility to where the output of the job should be sent.

Answer : C,D

CompTIA Security+ Cert. (SY0-501) Practice Tests Set 5

Which command will set the local machine's timezone to UTC?


Options are :

  • mv /usr/timezone/UTC /etc
  • ln -s /usr/share/zoneinfo/UTC /etc/localtime (Correct)
  • cat UTC > /etc/timezone
  • date --timezone=UTC

Answer : ln -s /usr/share/zoneinfo/UTC /etc/localtime

How is a display manager started?


Options are :

  • It is started like any other system service by the init system. (Correct)
  • It is started by a user using the command startx.
  • It is started by inetd when a remote hosts connects to the X11 port.
  • It is started automatically when a X11 user logs in to the system console.

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

Which of the following commands gets the GnuPG public key with the id 63B4835B from the keyserver example.com?


Options are :

  • gpg --keyserver hkp://example.com --recv-key 63B4835B (Correct)
  • gpg --keyserver gpg://example.com --key 63B4835B
  • gpg --search-key hkp://[email protected]
  • gpg --keyserver hkp://example.com --add-key 63B4835B
  • gpg --keyserver gpg://example.com --get-key 63B4835B

Answer : gpg --keyserver hkp://example.com --recv-key 63B4835B

JK0-019 CompTIA E2C Network + Certification Exam Set 10

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


Options are :

  • Add the specific user to /etc/at.allow file.
  • Run the following: atd --deny [user].
  • Add the specific user to nojobs group.
  • Add the specific user to /etc/at.deny file. (Correct)
  • Add the specific user to [deny] section in the /etc/atd.conf file.

Answer : Add the specific user to /etc/at.deny file.

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)?


Options are :

  • export LC_MESSAGES="pt" (Correct)
  • export LANGUAGE="pt"
  • export UI_MESSAGES="pt"
  • export MESSAGE="pt"
  • export ALL_MESSAGES="pt"

Answer : export LC_MESSAGES="pt"

What of the following statements is true regarding a display manager?


Options are :

  • Without a display manager, no graphical programs can be run.
  • The display manager is configured in the X11 configuration file xorg.conf.
  • After system startup, the display manager handles the login of a user. (Correct)
  • A display manager handles remote X11 logins only and has no purpose on a system that is not attached to a network.
  • There is only one display manager X11DM that must be started on all systems running X11.

Answer : After system startup, the display manager handles the login of a user.

220-701 A+ Essentials Certification Practice Exam Set 10

On a regular users workstation the route command takes a long time before printing out the routing table. Which of the following errors does that indicate?


Options are :

  • DNS resolution may not be working as route by default tries to resolve names of routers and destinations and may run into a timeout. (Correct)
  • One of the routers in the routing table is not available which causes the automatic router failure detection mechanism (ARF-D) to wait for a timeout.
  • There may accidentally be more than one default router in which case a default router election has to be done on the network in order to choose one router as the default.
  • The local routing information may be corrupted and must be re-validated using a routing protocol.

Answer : DNS resolution may not be working as route by default tries to resolve names of routers and destinations and may run into a timeout.

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?


Options are :

  • nessus
  • strace
  • Isof (Correct)
  • traceroute
  • debug

Answer : Isof

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


Options are :

  • 30 0-23 * * 0 myscript (Correct)
  • 30 * * * 6 myscript
  • 0 * * * 30 myscript
  • 30 0 * * 0 myscript
  • 0 0-23 * * 30 myscript

Answer : 30 0-23 * * 0 myscript

CompTIA JK0-015 E2C Security+ Certification Practice Test Set 16

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


Options are :

  • The batch command will run multiple times. The at command will only run once.
  • The commands of a batch job run sequentially one after another while the commands in at jobs may run in parallel. (Correct)
  • The at command e-mails results to the user. The batch command logs results to syslog.
  • The at command reads commands from standard input. The batch command requires a command line argument.

Answer : The commands of a batch job run sequentially one after another while the commands in at jobs may run in parallel.

Which of the following commands shows the current color depth of the X Server?


Options are :

  • cat /etc/X11
  • xcdepth (Correct)
  • xwininfo
  • xcolordepth
  • xcd

Answer : xcdepth

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


Options are :

  • Create an X11 configuration file for the current graphic devices and monitors.
  • A,C (Correct)
  • Start and prepare the desktop environment for the user.
  • Handle the login of a user.
  • Configure additional devices like new monitors or projectors when they are attached.
  • Lock the screen when the user was inactive for a configurable amount of time.

Answer : A,C

CompTIA MB0-001 Mobility+ Certification Practice Exam Set 6

Each entry in a crontab must end with what character?


Options are :

  • Tab
  • Backslash
  • Newline (Correct)
  • Space

Answer : Newline

What is true about groups in a Linux system? (Choose TWO correct answers.)


Options are :

  • Groups may have a password that allows users to join that group temporarily.
  • Each user may be a member of several groups. However, only one group is the user's primary group.
  • Groups can be nested meaning that one group can be a member of another group.
  • Group memberships are optional such that there may be users that do not belong to any group.
  • Each user can only be a member of one group at a time.
  • A,B (Correct)

Answer : A,B

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


Options are :

  • ~/.forward (Correct)
  • /etc/mail/forwarders
  • /etc/alias
  • ~/.alias

Answer : ~/.forward

CompTIA CySA+ (CS0-001)

With X11 forwarding in ssh, what environment variable is automatically set in the remote host shell that is not set when X11 forwarding is not enabled? (Specify only the environment variable without any additional commands or values.)


Options are :

  • None
  • DISPLAY, $DISPLAY (Correct)

Answer : DISPLAY, $DISPLAY

Which of the following commands shows the current color depth of the X Server?


Options are :

  • xcd
  • xcolordepth
  • xcdepth
  • xwininfo (Correct)
  • cat /etc/X11

Answer : xwininfo

Which of the following resources can be directly limited for a given user using ulimit? (Choose THREE correct answers.)


Options are :

  • A,B,C (Correct)
  • Maximum seconds of CPU time spent.
  • Maximum seconds of login duration per session.
  • Maximum number of open file descriptors.
  • Maximum number of concurrent login sessions.
  • Maximum number of processes available.

Answer : A,B,C

CompTIA JK0-801 A+ Certification Part - 2 Practice Exam Set 2

Which configuration file does sudo read when determining if a user is permitted to run applications with root privileges?


Options are :

  • /etc/supasswd
  • /etc/sudoers (Correct)
  • /etc/sudo.conf
  • /etc/security.conf

Answer : /etc/sudoers

Which command is used to add OpenSSH private keys to a running ssh-agent instance? (Specify the file name only without any path.)


Options are :

  • ssh-add, /usr/bin/ssh-add (Correct)
  • None

Answer : ssh-add, /usr/bin/ssh-add

Instead of using specific host names or IP addresses, which string can be used in /etc/hosts.allow entries to cover any remote host no matter of its name or address? (Specify the relevant string only without any additional options or arguments.)


Options are :

  • None
  • ALL (Correct)

Answer : ALL

JK0-016 CompTIA Network+ 2009 Edition Practice Exam Set 11

In an xinetd configuration file, which attribute specifies the network address that will be used to provide the service?


Options are :

  • None
  • bind, interface (Correct)

Answer : bind, interface

What is true regarding public and private SSH keys? (Choose TWO correct answers.)


Options are :

  • For each user account, there is exactly one key pair that can be used to log into that account.
  • To allow remote logins, the user's private key must be copied to the remote server.
  • B,D (Correct)
  • To maintain the private key's confidentiality, the SSH key pair must be created by its owner.
  • Several different public keys may be generated for the same private key.
  • The private key must never be revealed to anyone.

Answer : B,D

Which of the following statements is true regarding the /etc/shadow file?


Options are :

  • All users have full read and write access to /etc/shadow.
  • Only root is allowed to read and write /etc/shadow. (Correct)
  • /etc/shadow may not be readable or writable by user root.
  • All users have full read access to /etc/shadow.

Answer : Only root is allowed to read and write /etc/shadow.

CompTIA CySA+ (CS0-001) 5 Practice Certification Exams Set 7

Which of the following commands pauses the CUPS printer LaserPrinter?


Options are :

  • cupsreject LaserPrinter
  • cupsreject -d LaserPrinter
  • cupsdisable LaserPrinter (Correct)
  • cupsdisable -d LaserPrinter

Answer : cupsdisable LaserPrinter

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions