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-133 Topic 13 Question 110 Discussion

Actual exam question for Oracle's 1Z0-133 exam
Question #: 110
Topic #: 13
[All 1Z0-133 Questions]

One Managed Server that is part of a large domain throws jav

a.lang.out of Memory error (OOM) occasionally.

You have been monitoring this server with the jvisualVM tool but that didn't help because the issue occurs infrequently and not a specific scenario. So you decided to force the server to dump the heap memory as soon as an OOM gets thrown in order to analyze the dump file later.

How do you modify the Java HotSpot Startup command to enable this feature and save the dump in the directory D:\hprof-dumps\?

Show Suggested Answer Hide Answer
Suggested Answer: B, D, E

Contribute your Thoughts:

Nan
13 hours ago
Options A and C seem to have the right idea, but they're missing a key detail. B looks like the clear winner here. Time to move on to the next question!
upvoted 0 times
...
Stefan
6 days ago
Haha, option F is definitely a trick question. 'OutOfMemoryExecepttion'? Really? What kind of exam is this, a spelling test? I'm going with B.
upvoted 0 times
...
Herminia
9 days ago
I was thinking option D, but now I'm not so sure. The wording on these options can be tricky, and I don't want to overthink it. I'll stick with B just to be safe.
upvoted 0 times
...
Brittney
18 days ago
I'm pretty sure option B is the correct answer. The Java HotSpot startup command should include the -XX:+HeapDumpOnOutOfMemoryError flag to enable the heap dump on OOM, and the -XX:HeapDumpPath=D:\\hprof-dumps to specify the directory where the dump file should be saved.
upvoted 0 times
Benton
6 days ago
I think option B is correct. It includes the necessary flags to enable heap dump on OOM and specify the directory for the dump file.
upvoted 0 times
...
...
Clare
19 days ago
Hmm, I see your point. Let's wait for others to share their opinions before we finalize our answer.
upvoted 0 times
...
Robt
21 days ago
I disagree, I believe the answer is D) Add-xx:+HeapdumponoutofMemory-xx:HeapDumppath=D:\\hprof-dumps.
upvoted 0 times
...
Clare
24 days ago
I think the correct answer is B) Add-xx:+HeapDumponoutofmemoryError-xx:Heapdumppath=D:\\hprof-dumps.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77