Free Oracle 1Z0-134 Exam Braindumps (page: 6)

You have a multithreaded application that looks up the WebLoqic JMS ConnectionFactory object from the JNDI tree.
Which statement is correct in this scenario? (Choose the best answer.)

  1. It is not permitted. A multithreaded application cannot access the ConnectionFactory object.
  2. The access to ConnectionFactory object MUST be synchronized.
  3. The ConnectionFactory object can be referenced in a multithreaded application without any special considerations.
  4. Multiple threads trying to use the ConnectionFactory object simultaneously will throw an exception.
  5. In a multithreaded scenario, connection objects cannot be safely created from the ConnectionFactory.

Answer(s): B

Explanation:

A connection factory supports concurrent use, enabling multiple threads to access the object simultaneously.
A session and its message producers and consumers can only be accessed by one thread at a time (i.e. the access must be synchronized). Their behavior is undefined if multiple threads access them simultaneously.
Incorrect Answers:
A, E: A connection factory supports concurrent use, enabling multiple threads to access the object simultaneously.
C, D: A session and its message producers and consumers can only be accessed by one thread at a time. Their behavior is undefined if multiple threads access them simultaneously.


Reference:

http://docs.oracle.com/cd/E12840_01/wls/docs103/jms/fund.html



You are planning to use WebLogic JMS for implementing my enterprise messaging architecture. Which messaging paradigm is invalid in this context? (Choose the best answer.)

  1. Point to Point messaging
  2. Publish Subscribe messaging
  3. Datagram messaging
  4. Persistent messaging

Answer(s): C

Explanation:

Incorrect Answers:
A, B: JMS supports two messaging models: point-to-point (PTP) and publish/subscribe (pub/sub).
D: As per the "Message Delivery Mode" section of the JMS Specification, messages can be specified as persistent or non-persistent.


Reference:

http://docs.oracle.com/cd/E12840_01/wls/docs103/jms/fund.html



What are two differences between a group and a role? (Choose two.)

  1. Groups are static and roles are dynamic and conditional.
  2. Roles can be scoped to applications and groups are only global.
  3. Roles are static and groups are dynamic and conditional.
  4. Groups can be scoped to applications and roles are only global.
  5. Groups can contain roles but roles cannot contain groups.

Answer(s): A,B

Explanation:

A security role is a privilege granted to users or groups based on specific conditions. Like groups, security roles allow you to restrict access to WebLogic resources for several users at once. Security roles differ from groups as follows:
* Security roles are computed and granted to users or groups dynamically, based on conditions such as user name, group membership, or the time of day. Groups are static.
* Security roles can be scoped to specific WebLogic resources within a single application in a WebLogic Server domain (unlike groups, which are always scoped to an entire WebLogic Server domain).


Reference:

https://docs.oracle.com/cd/E13222_01/wls/docs81/secwlres/secroles.html



A Web Module needs specific tuning. The Development team fine tunes the module in the deployment descriptor (weblogic.xml) as follows:


Which two are true? (Choose two.)

  1. MyWorkManager is an application-scoped Work Manager.
  2. Add the line <wl-dispatch-policy>MyWorkManager</wl-dispatch-policy> before <work-manager> tags in weblogic.xml to make the Web Module use the Work Manager MyWorkManager.
  3. MyWorkManager is a Global Work Manager.
  4. MyWorkManager is a Default Work Manager.
  5. Once the application is deployed and started on a Managed WebLogic Server, MyWorkManager will appear under Environment/Work Managers on the WebLogic Console.

Answer(s): A,B

Explanation:

A: You can create Work Managers that are available only to a specific application or module. You can define application-scoped Work Managers in the WebLogic
Server Administration Console and in the following descriptors:
weblogic-application.xml
weblogic-ejb-jar.xml
weblogic.xml

B: A method is assigned to a Work Manager, using the <dispatch-policy> element in the deployment descriptor.
Incorrect Answers:
E: Environment/Work Managers displays the Global work managers.


Reference:

https://docs.oracle.com/cd/E24329_01/web.1211/e24432/self_tuned.htm#CNFGD129



Viewing page 6 of 32
Viewing questions 21 - 24 out of 176 questions



Post your Comments and Discuss Oracle 1Z0-134 exam prep with other Community members:

1Z0-134 Exam Discussions & Posts