nerdexam
Oracle

1Z0-807 · Question #34

You are implementing an online music that will store and play a user's collection of songs. You want users to rate their songs and view the top songs from friends. All queries must complete in four…

The correct answer is B. Java class that uses an optimized stored procedure. See the full explanation below for the reasoning.

Question

You are implementing an online music that will store and play a user's collection of songs. You want users to rate their songs and view the top songs from friends. All queries must complete in four seconds or less. Which approach would meet the response time requirement with minimal overhead?

Options

  • AJava class that uses JDBC with embedded SQL
  • BJava class that uses an optimized stored procedure
  • CJPA entity class with a lazy fetching strategy
  • DJPA entity class with an eager fetching strategy

How the community answered

(22 responses)
  • A
    9% (2)
  • B
    77% (17)
  • C
    5% (1)
  • D
    9% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-807 Practice