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

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


Options are :

  • None
  • /etc/cups, /etc/cups/ (Correct)

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

Which of the following are valid IPv4 network masks? (Choose TWO correct answers.)


Options are :

  • 255.255.0.0
  • 255.255.0.255
  • 255.255.255.65
  • A,E (Correct)
  • 255.255.255.248
  • 0.0.0.1

Answer : A,E

What is true regarding the time in a Linux system?


Options are :

  • Each application must convert the Unix time to the current time zone which is usually done by using standard libraries. (Correct)
  • When the system is on the network, each query for the current time leads to a new network connection to a time server.
  • The BIOS clock of a computer always indicates the current local time and time zone.
  • When the system time changes, running processes must be restarted in order to get the correct time.

Answer : Each application must convert the Unix time to the current time zone which is usually done by using standard libraries.

FC0-U41 CompTIA Strata IT Fundamentals Practice Test Set 7

Which port is the default server port for the HTTPS protocol? (Specify the port number using digits.)


Options are :

  • 443 (Correct)
  • None

Answer : 443

Which of the following statements is valid in the file /etc/resolv.conf?


Options are :

  • order hosts,bind
  • domain example.com (Correct)
  • hosts: files,dns
  • 192.168.168.4 dns-server

Answer : domain example.com

Which of the following is a correct entry in the /etc/hosts file?


Options are :

  • localhost 127.0.0.1 localhost.localdomain
  • localhost localhost.localdomain 127.0.0.1
  • localhost.localdomain localhost 127.0.0.1
  • 127.0.0.1 localhost.localdomain localhost (Correct)
  • localhost.localdomain 127.0.0.1 localhost

Answer : 127.0.0.1 localhost.localdomain localhost

Comptia A+ (220-801) Certification Exam Practice Test Set 3

Which of the following programs can be used to determine the routing path to a given destination?


Options are :

  • route
  • netstat
  • dig
  • ping
  • traceroute (Correct)

Answer : traceroute

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


Options are :

  • zoneinfo
  • hostname
  • dig (Correct)
  • dnsq
  • dnslookup

Answer : dig

How does the ping command work by default?


Options are :

  • It sends an ICMP Echo Request to a remote host and waits to receive an ICMP Echo Response in return. (Correct)
  • It sends an ARP request to a remote host and waits to receive an ARP response in return.
  • It sends a TCP SYN packet to a remote host and waits to receive an TCP ACK response in return.
  • It sends a broadcast packet to all hosts on the net and waits to receive, among others, a response from the target system.
  • It sends a UDP packet to port 0 of the remote host and waits to receive a UDP error response in return.

Answer : It sends an ICMP Echo Request to a remote host and waits to receive an ICMP Echo Response in return.

JK0-017 CompTIA E2C Project+ Certification Practice Exam Set 9

What is NTP?


Options are :

  • A routing aid for finding next hops on a network.
  • A protocol for synchronizing time on computers. (Correct)
  • A more secure protocol replacement for FTP.
  • A simple tunnelling protocol for computers behind firewalls.

Answer : A protocol for synchronizing time on computers.

Given the following routing table

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

192.168.178.0 0.0.0.0 255.255.255.0 U 9 0 0 wlan0

Why does the command route add default gw 192.168.1.1 fail?


Options are :

  • Because default routes must be set with ifconfig.
  • Because default routes can not be set manually.
  • Because there is already a default route.
  • Because only one route can exist at a time.
  • Because there is no route to 192.168.1.1. (Correct)

Answer : Because there is no route to 192.168.1.1.

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


Options are :

  • Postfix
  • SMTPd
  • Exim
  • A,C,D (Correct)
  • Sendmail
  • Procmail

Answer : A,C,D

CompTIA MB0-001 Mobility+ Certification Practice Exam Set 2

How many bits make up an IPv6 address?


Options are :

  • 256
  • 64
  • 128 (Correct)
  • 48
  • 32

Answer : 128

With syslog, what is a facility?


Options are :

  • Facilities describe categories or groups of messages such as mail or auth. (Correct)
  • From syslog's point of view, each Unix process that issues messages is a facility.
  • When using remote logging, the hostname of the server that generated a message is called facility.
  • Facilities are different connection interfaces to syslog. Each facility has its own device in /dev/syslog/.
  • Facilities describe the severity of a log message such as emerg or info.

Answer : Facilities describe categories or groups of messages such as mail or auth.

Which of the following files is consulted when programs like netstat try to match port numbers to names?


Options are :

  • /etc/portmapper
  • /etc/protocols
  • /etc/networks
  • /etc/resolv.conf
  • /etc/services (Correct)

Answer : /etc/services

CompTIA SY0-401 Security Certification Practice Exam Set 9

What of the following can be done by the command ifconfig? (Choose TWO correct answers.)


Options are :

  • Change the netmask used on a network interface.
  • A,D (Correct)
  • Allow regular users to change the network configuration of a network interface.
  • Specify the kernel module to be used with a network interface.
  • Set a network interface active or inactive.
  • Specify which network services are available on a network interface.

Answer : A,D

Why should an NTP client maintain connections to several NTP servers?


Options are :

  • To not overload the remote server in case the local NTP time cache is not enabled.
  • To improve the precision of the time by comparing responses from several servers. (Correct)
  • To receive NTP information every second as each server transmits NTP pings every five seconds only.
  • To not lose contact with all NTP servers in case the client changes networks.

Answer : To improve the precision of the time by comparing responses from several servers.

Given the following line from /etc/nsswitch.conf:

hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4

By default, which file will be queried first for hostname lookups? (Specify the full name of the file, including path.)


Options are :

  • /etc/hosts (Correct)
  • None

Answer : /etc/hosts

CV0-001 CompTIA Cloud+ Certification Practice Exam Set 8

Which of the following files holds the configuration for journald when running systemd?


Options are :

  • /etc/systemd/journalctl.conf
  • /etc/systemd/systemd-journald.conf
  • /etc/systemd/journald.conf (Correct)
  • /usr/lib/systemd/journalctl.conf
  • /etc/systemd/systemd-journalctl.conf

Answer : /etc/systemd/journald.conf

Which command is used to manually assign an IP address to a network interface? (Specify ONLY the command without any path or parameters.)


Options are :

  • None
  • ifconfig, /sbin/ifconfig, ip, /sbin/ip (Correct)

Answer : ifconfig, /sbin/ifconfig, ip, /sbin/ip

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


Options are :

  • Postfix
  • Sendmail
  • A,C,D (Correct)
  • SMTPd
  • Procmail
  • Exim

Answer : A,C,D

CompTIA JK0-022 E2C Security+ Threats & Vulnerabilities Exam Set 7

Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)


Options are :

  • 10.0.0.0/8
  • 169.255.0.0/16
  • 127.0.0.0/8
  • 192.168.0.0/16
  • B,D,E (Correct)
  • 172.16.0.0/12

Answer : B,D,E

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


Options are :

  • logger
  • logrotate (Correct)
  • striplog
  • rotatelog
  • syslogd --rotate

Answer : logrotate

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 :

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

Answer : ~/.alias

220-902 CompTIA A+ Certification Practice Exam Set 3

Which of the following commands pauses the CUPS printer LaserPrinter?


Options are :

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

Answer : cupsdisable LaserPrinter

What is true regarding the file ~/.forward?


Options are :

  • As it is owned by the MTA and not writable by the user, it must be edited using the editaliases command.
  • Using ~/.forward, root may configure any email address whereas all other users may configure only their own addresses.
  • After editing ~/.forward the user must run newaliases to make the mail server aware of the changes.
  • When configured correctly, ~/.forward can be used to forward each incoming mail to more than one other recipient. (Correct)

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

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


Options are :

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

Answer : A,B

CompTIA JK0-801 A+ Certification Certified Practice Exam Set 6

Which of the following is a valid IPv6 address?


Options are :

  • 2001:db8:3241::1 (Correct)
  • 2001.db8.819f..1
  • 2001::db8:4581::1
  • 2001:db8:0g41::1
  • 2001%db8%9990%%1

Answer : 2001:db8:3241::1

What is the purpose of the dig command?


Options are :

  • It can be used to look for open ports on a system.
  • It can be used as a tool for querying DNS servers. (Correct)
  • It can be used to ping all known hosts on the current subnet.
  • It can be used for searching through indexed file content.

Answer : It can be used as a tool for querying DNS servers.

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


Options are :

  • The name of the group.
  • The password of the group.
  • The description of the group.
  • The home directory of the group.
  • A,C,E (Correct)
  • The list of users that belong to the group.

Answer : A,C,E

CompTIA PD1-001 PDI+ Beta Certification Practice Exam Set 23

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions