Oracle WebLogic Server 12c: Advanced Administrator II 1z0-134 Question # 4 Topic 1 Discussion

Oracle WebLogic Server 12c: Advanced Administrator II 1z0-134 Question # 4 Topic 1 Discussion

1z0-134 Exam Topic 1 Question 4 Discussion:
Question #: 4
Topic #: 1

Examine the domain diagram:

1z0-134 Question 4

You are asked to write a WLST script that will print the current available heap size for server04.

Assuming:

    all servers are running

    you have just started an offline, interactive WLST session

    a domain-scoped node manager is running on each machine, listening oт port :5556

    the username/password “weblogic/Welcome1” maps to a valid domain administrator and Node Manager client

Which two code options will accomplish this task? (Choose two.)


A.

connect(‘weblogic’,‘Welcome1’,‘host00.acme.com:7001’)domainRuntime()x = getMBean(‘/ServerRuntimes/server04/JVMRuntime/server04’)print x.getHeapFreeCurrent()


B.

connect(‘weblogic’,‘Welcome1’,‘host02.acme.com:7201’)serverRuntime()x = getMBean(‘/JVMRuntime/server04’)print x.getHeapFreeCurrent()


C.

connect(‘weblogic’,‘Welcome1’,‘host00.acme.com:7001’)serverRuntime()x = getMBean(‘/JVMRuntime/server04’)print x.getHeapFreeCurrent()


D.

nmConnect(‘weblogic’,‘Welcome1’,‘host02.acme.com:5556’)serverRuntimes()x=getMBean(‘/server04/JVMRuntime/server04’)print x.getHeapFreeCurrent()


E.

nmConnect(‘weblogic’,‘Welcome1’,‘host00.acme.com:5556’)domainRuntime()x=getMBean(‘/ServerRuntimes/server04/JVMRuntime/server04’)print x.getHeapFreeCurrent()


Get Premium 1z0-134 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.