Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - 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
2 months 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
Latanya
13 days ago
Great, let's move on to the next question now.
upvoted 0 times
...
Kent
23 days ago
Option B seems to be the best choice here. Let's go with that.
upvoted 0 times
...
Roslyn
1 months ago
I think option A is close, but it's missing something important.
upvoted 0 times
...
...
Stefan
2 months 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
Precious
6 days ago
F is a red herring, B is the correct option for configuring heap dump on OOM.
upvoted 0 times
...
Lynelle
16 days ago
Definitely not F, that's a typo for sure. B is the way to go for saving heap dump on OOM.
upvoted 0 times
...
Joseph
17 days ago
Yeah, F is just trying to confuse us. B makes more sense for enabling heap dump on OOM.
upvoted 0 times
...
Bethanie
1 months ago
I agree, option F seems like a distraction. B looks like the correct choice.
upvoted 0 times
...
...
Herminia
2 months 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
2 months 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
Clay
1 months ago
Yes, I agree. Adding -XX:+HeapDumpOnOutOfMemoryError and -XX:HeapDumpPath=D:\\hprof-dumps in the Java HotSpot startup command should do the trick.
upvoted 0 times
...
Renato
1 months ago
Great, so we all agree that option B is the correct choice for modifying the Java HotSpot Startup command in this scenario.
upvoted 0 times
...
Arlene
1 months ago
I agree. The -XX:HeapDumpPath=D:\\hprof-dumps specifies the directory where the dump file will be saved.
upvoted 0 times
...
Nikita
2 months ago
Yes, you're right. The -XX:+HeapDumpOnOutOfMemoryError flag is essential for this feature to work.
upvoted 0 times
...
Laura
2 months ago
I think you're right, option B is the correct answer. It enables the heap dump on OOM and specifies the directory for the dump file.
upvoted 0 times
...
Benton
2 months 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
2 months ago
Hmm, I see your point. Let's wait for others to share their opinions before we finalize our answer.
upvoted 0 times
...
Robt
2 months ago
I disagree, I believe the answer is D) Add-xx:+HeapdumponoutofMemory-xx:HeapDumppath=D:\\hprof-dumps.
upvoted 0 times
...
Clare
2 months 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