310-202 · Question #144
The production server needs additional swap space due to lack of physical memory. The system has only one disk and is partitioned as follows: Part Tag Flag Cylinders Size Blocks 0 root wm 1041…
The correct answer is B. create a 512 megabyte swap file on the root disk: D. repartition the disk so that slice 3 contains the unused cylinders 38492 through 39532, and then add. See the full explanation below for the reasoning.
Question
The production server needs additional swap space due to lack of physical memory. The system has only one disk and is partitioned as follows:
Part Tag Flag Cylinders Size Blocks 0 root wm 1041 - 38491 18.00GB (37451/0/0) 37750608 1 swap wu 0 - 1040 512.37MB (1041/0/0) 1049328 2 backup wm 0 - 39532 19.00GB (39533/0/0) 39849264 3 unassigned wm 0 0 (0/0/0) 0 4 unassigned wm 0 0 (0/0/0) 0 5 unassigned wm 0 0 (0/0/0) 0 6 unassigned wm 0 0 (0/0/0) 0 7 unassigned wm 0 0 (0/0/0) 0 Sun 310-202 Exam There is one swap slice configured and active:
swap -l swapfile dev swaplo blocks free /dev/dsk/c0t0d0s1 136,1 16 1049312 0 The root file system is a flat file system:
df -k / Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t0d0s0 18575269 9549546 9025723 53% / Which two methods can be used to temporarily add swap space? (Choose two.)
Options
- Aadd slice 2 as swap:
- Bcreate a 512 megabyte swap file on the root disk:
- Cremove the existing swap and read it using swap compression:
- Drepartition the disk so that slice 3 contains the unused cylinders 38492 through 39532, and then add
- Euse NFS to mount a file system from the development server, and then create and use a swap file on
How the community answered
(61 responses)- A18% (11)
- B70% (43)
- C3% (2)
- E8% (5)
Community Discussion
No community discussion yet for this question.