Posts tagged: Comptia Network Study Guide N10004

Network Test, Comptia Network Study Guide Exam

QUESTION NO: 1
A database application requires a maximum shared memory segment (shmmax) of 2GB (2147483648 Bytes). Which configuration file should be modified, to set this kernel parameter permanently? Please enter the complete path to the file. Network Test

Answer: /ETC/SYSCTL.CONF

QUESTION NO: 2

Which of the following commands should be used in a bash script that needs a variable containing the IP address of the eth0 interface? The output for the command ifconfigeth0 is shown below:
Eth0 Link encap:Ethernet HWaddr 00:0C:29:CB:FA:30
inet addr:192.168.246.11 Bcast:192.168.246.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrlel
RX packets:4721 errorsrO dropped:0 overruns:0 frame:0
TX packets:3216errors:0dropped:0overruns:0 carrier:0
collisions^) txqueuelen:1000
RX bytes:445184 (434.7 Kb) TX bytes:512968 (500.9 Kb)
lnterrupt:185 Base address:0xl080

A. IP=LANG= ifconfig ethO | awk' cut-d:-f2)

Answer: D

QUESTION NO: 3
Which file contains configuration data for automount? Please enter the complete path.

Answer: /ETC/AUTO.MASTER
Explanation:
autofs will consult a configuration file /etc/auto.master .

The auto.master map is consulted when the autofs script is invoked to set up the necessary mount points for the automounter. Each line in this file describes a mount point and points to another

file describing the file systems to be mounted under this mountpoint. The access to those maps is governed by a key.

QUESTION NO: 4
Please enter the command with all parameters and arguments, that could be used by root to list the cron jobs for the user John.

Answer: CRONTAB-UJOHN-L

QUESTION NO: 5
Which command, with options, could be used to change an ext2 file system on /dev/hda1 to an ext3 file system?

Answer: TUNE2FS-J/DEV/HDA1
Explanation:
tune2fs allows the system administrator to adjust various tunable filesystem parameters on Linux ext2/ext3 filesystems.
-j Add an ext3 journal to the filesystem. If the -J option is not specified, the default journal parameters will be used to create an appropriately sized journal stored within the filesystem. Note that you must be using a kernel which has ext3 support in order to actually make use of the journal. Network Plus Certification

QUESTION NO: 6
What command can be used to configure the baud rate on a serial port?

A. ttyconfig
B. serialconfig
C. serialmode
D. setty
E. setserial

Answer: E