Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-106 Topic 7 Question 20 Discussion

Actual exam question for Oracle's 1Z0-106 exam
Question #: 20
Topic #: 7
[All 1Z0-106 Questions]

You must add an additional swap device and you add this entry to /etc/fstab:

/.swapfile none swap defaults 0 0

Examine these commands and output:

# dd if=/dev/zero of=/.swapfile bs=1024 count=1048576

1048576+0 records in

1048576+0 records out

1073741824 bytes (1.1 GB, 1.0 GiB) copied, 4.32499 s, 248 MB/s

# swapon -a

swapon: /.swapfile: insecure permissions 0644, 0600 suggested.

swapon: /.swapfile: read swap header failed

Which two actions must you perform to add this swap device?

Show Suggested Answer Hide Answer
Suggested Answer: A, C

Contribute your Thoughts:

Linwood
11 days ago
This is a classic 'choose two' question. A and D seem like the right moves to me.
upvoted 0 times
...
Freida
11 days ago
I agree with Eladia. We also need to change the permissions to 0600.
upvoted 0 times
...
Artie
18 days ago
Nah, I think E is the way to go. Gotta label that swapfile first before turning it on.
upvoted 0 times
...
Eladia
19 days ago
I think we need to initialize the .swapfile file using the mkswap command.
upvoted 0 times
...
Glendora
29 days ago
Hmm, looks like the permissions on the swapfile are the issue here. I'd go with option A - initialize the file with mkswap.
upvoted 0 times
Sage
23 days ago
Option A) Initialize the .swapfile file by using the mkswap command.
upvoted 0 times
...
...

Save Cancel