Free EX200 Exam Braindumps (page: 12)

Page 11 of 35

SIMULATION
Configure your Host Name, IP Address, Gateway and DNS.

Host name: dtop5.dn.ws.com
IP Address: 172.28.10.5/4
Gateway: 172.28.10.1
DNS: 172.28.10.1

  1. See Explanation section for answer.

Answer(s): A

Explanation:

1. Configure Host Name
vim /etc/sysconfig/network NETWORKING=yes HOSTNAME=dtop5.dn.ws.com GATEWAY=172.28.10.1
2. Configure IP Address, Gateway and DNS Configure the network by Network Manager:



Note: Please remember to choose two options:
Connect automatically
Available to all users

Click "Apply", save and exit, and restart your network services:
# Service network restart
3. Validate these profiles:
a) Check gateway: # vim / etc / sysconfig / network

NETWORKING=yes
HOSTNAME=dtop5.dn.ws.com
GATEWAY=172.28.10.1

b) Check Host Name: # vim /etc/hosts


c) Check DNS: # vim /etc/resolv.conf
# Generated by NetworkManager
Search dn.ws.com
Nameserver 172.28.10.1

d) Check Gateway: # vim /etc/sysconfig/network-scripts/ifcfg-eth0



SIMULATION
Create a 2G swap partition which take effect automatically at boot-start, and it should not affect the original swap partition.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

# fdisk /dev/sda
p
(check Partition table)
n
(create new partition: press e to create extended partition, press p to create the main partition, and the extended partition is further divided into logical partitions)
Enter
+2G t 8 I
82
W
partx -a /dev/sda
partprobe
mkswap /dev/sda8
Copy UUID
swapon -a
vim /etc/fstab
UUID=XXXXX swap swap defaults 0 0
(swapon -s)



SIMULATION
Please open the ip_forward, and take effect permanently.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

vim /etc/sysctl.conf net.ipv4.ip_forward = 1
sysctl –w (takes effect immediately)

If no “sysctl.conf” option, use these commands:

sysctl –a |grep net.ipv4
sysctl –P net.ipv4.ip_forward = 1
sysctl -w



SIMULATION
Open kmcrl value of 5 , and can verify in /proc/ cmdline

  1. See Explanation section for answer.

Answer(s): A

Explanation:

# vim /boot/grub/grub.conf
kernel/vmlinuz-2.6.32-71.el6.x86_64 ro root=/dev/mapper/GLSvg-GLSrootrd_LVM_LV=GLSvg/GLSroot rd_LVM_LV=GLSvg/GLSswaprd_NO_LUKSrd_NO_MDrd_NO_DM
LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet kmcrl=5

Restart to take effect and verification:

# cat /proc/cmdline
ro root=/dev/mapper/GLSvg-GLSroot rd_LVM_LV=GLSvg/GLSroot rd_LVM_LV=GLSvg/GLSswap rd_NO_LUKS rd_NO_MD rd_NO_DM
LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet kmcrl=5






Post your Comments and Discuss RedHat EX200 exam with other Community members: