ExamQuestions.com

Register
Login
Oracle WebLogic Server 12c Advanced Administrator II Exam Questions

Oracle

Oracle WebLogic Server 12c Advanced Administrator II

3 / 36

Question 3:

You want to create a WebLogic Server (WLS) Work Manager with a Response Time Request Class of one second. You start to create the following WLST script: 
image
Which two can replace the missing sequence to finish this script? (Choose two.) 

Answer options:

A. cmo.addTarget(getMBean(`/Servers/ManagedServer`)) cd(`edit:/SelfTuning/wls_domain/WorkManagers/MyWorkManager`) cmo.setResponseTimeRequestClass(getMBean (`/SelfTuning/wls_domain/ResponseTimeRequestClasses/MyResponseTime`))
B. managedServer=getMBean(`/Servers/ManagedServer`) cmo.addTarget(managedServer) cmo.setWorkManaqer(getMBean(`/SelfTuning/wls_domain/WorManagers/MyWorkManager`))
C. cd(`edit:/Servers/ManagedServer`) cmo.addTarget(getMBean (`/SelfTuning/wls_domain/ResponseTimeRequestClasses/MyResponseTime`)) cmo.addTarget (getMBean(`/SelfTuning/wls_domain/WorkManagers/MyWorkManager`))
D. managedServer=getMBean(`/Servers/ManagedServer`) cmo.addTarget(managedServer) cd(`edit:/SelfTuning/wls_domain/WorkManagers/MyWorkManager`) cmo.setResponseTimeRequestClass(getMBean (`/SelfTuning/wls_domain/ResponseTimeRequestClasses/MyResponseTime`))
E. cmo.addTarqet(`/Servers/ManagedServer`) cd(`/SelfTuning/wls_domain/WorkManagers/MyWorkManager`) cmo.setResponseTimeRequestClass (`/SelfTuning/wls_domain/ResponseTimeRequestClasses/MyResponseTime`)