exam questions

Exam 1z0-134 All Questions

View all questions & answers for the 1z0-134 exam

Exam 1z0-134 topic 1 question 56 discussion

Actual exam question from Oracle's 1z0-134
Question #: 56
Topic #: 1
[All 1z0-134 Questions]

You are monitoring a WebLogic JDBC data source and have decided to drop some connections because an earlier peak usage condition has now ended. In addition, this data source has not been enabled for automatic shrinking.
What will occur once you execute the shrink() method on that JDBCDataSourceRuntimeMBean?

  • A. The number of connections in the pool will be reduced to the greater of either the current number of connections in use or to the minCapacity property setting.
  • B. The number of connections in the pool will be reduced to the current number of connections in use regardless of the minCapacity property setting.
  • C. The number of connections in the pool will be reduced to the minCapacity property setting regardless of the current number of connections in use.
  • D. The number of unused connections in the pool will be reduced by half.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
When you shrink a data source, WebLogic Server reduces the number of connections in the pool to the greater of either the initial capacity or the number of connections currently in use.
Reference:
https://docs.oracle.com/cd/E13222_01/wls/docs92/jdbc_admin/manage.html#wp1048129

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
kathee
2 years, 3 months ago
Selected Answer: A
https://docs.oracle.com/cd/E13222_01/wls/docs92/jdbc_admin/manage.html
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago