Jvm Based Memory Management Quiz

10 Questions | Total Attempts: 428

SettingsSettingsSettings
Please wait...
Jvm Based Memory Management Quiz

.


Questions and Answers
  • 1. 
    Which company JVM has Allocate->Survivor->Tenured process??
    • A. 

      IBM

    • B. 

      Oracle

    • C. 

      JRockit

    • D. 

      All the above

  • 2. 
    When a Java program starts, ----- gets some memory from Operating System?
    • A. 

      JDK

    • B. 

      JRE

    • C. 

      JVM

    • D. 

      None of the above

  • 3. 
    What is the default ratio for eden to old for Oracle JVM??
    • A. 

      1:2

    • B. 

      2:3

    • C. 

      3:1

    • D. 

      2:1

  • 4. 
    ------ JVM allocates large objects directly in tenured space?
    • A. 

      Oracle

    • B. 

      IBM

    • C. 

      JRockit

    • D. 

      All the above

  • 5. 
    Which company JVM follows "Generational Heap Strategy" concept??
    • A. 

      IBM

    • B. 

      Oracle

    • C. 

      JRockit

    • D. 

      All the above

  • 6. 
    If the stack size is too big, what kind of error it will throw?
    • A. 

      Java.lang.StackLargeError

    • B. 

      Java.lang.OutOfMemoryError

    • C. 

      Java.lang.StackOverflowError

    • D. 

      Java.lang.StackBigError

  • 7. 
    Which JVM has no PermGen Concept?
    • A. 

      Oracle & IBM

    • B. 

      JRockit & Oracle

    • C. 

      IBM & JRockit

    • D. 

      None of the above

  • 8. 
    Which segments does the JVM memory consists of?
    • A. 

      JVM Code

    • B. 

      Non-Heap Memory

    • C. 

      Heap Memory

    • D. 

      All the above

  • 9. 
    In general, ---- Value should be lower than ---- Value.
    • A. 

      XMS and XMX

    • B. 

      XMS and XMN

    • C. 

      XMN and XMX

    • D. 

      XMN and XSS

  • 10. 
    Which JVM option is used for configuring up the Young generation?
    • A. 

      XMN

    • B. 

      Newratio

    • C. 

      XSS

    • D. 

      XMX

Back to Top Back to top