单选题In a Java EE messaging application, one MDB is consuming a lot of memory at high traffic.    What configuration should you use to prevent possible out-of-memory error at high traffic and at the same time not losing messages?()A Configure a Work Manager

题目
单选题
In a Java EE messaging application, one MDB is consuming a lot of memory at high traffic.    What configuration should you use to prevent possible out-of-memory error at high traffic and at the same time not losing messages?()
A

Configure a Work Manager for the MDB with a Maximum Thread Constraint.

B

Configure a Work Manager for the MDB with a Minimum Thread Constraint.  

C

Configure a Work Manager for the MDB with a Maximum Thread Constraint and a Capacity  Constraint. 

D

Configure a Work Manager for the MDB with a Minimum Thread Constraint and a Capacity Constraint. 

E

Configure a Work Manager for the MDB with both a Maximum Thread Constraint and Minimum Thread Constraint.

参考答案和解析
正确答案: E
解析: 暂无解析
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  You host the Web application in Microsoft Internet Information Services (IIS) 6.0. You browse theapplication and receive the following error message:  Server Application Unavailable  The web application you are attempting to access on this web server is currently unavailable.Please hit the "Refresh" button in your web browser to retry your request.  You view the Application event log and discover the following message:  It is not possible to run two different versions of ASP.NET in the same IIS process. Please use theIIS Administration Tool to reconfigure your server to run the application in a separate process.  To ensure productivity you need to solve this problem as quick as possible.  What should you do?()

  • A、You should change the IIS isolation mode.
  • B、You should assign the application to another application pool.
  • C、You should configure all applications that are part of your application's application pool in orderto use the same version of ASP.NET.
  • D、You should run the Aspnet_regiis.exe Tool.
  • E、You should restart the application pool that hosts the application.

正确答案:B,C

第2题:

You work as an application developer at Certkiller .com. You are developing an application that makes use of a Queue class object named MyQueue. This Queue class object will be used to store messages sent by the user during application run time. The application that you are developing provides an interface for administrators and an interface for users to create message reports.You want to ensure that all user messages stored in the MyQueue object are removed when an administrator selects the reset option.What should you do?()

  • A、 Use the Enqueue method of the MyQueue object.
  • B、 Use the Clear method of the MyQueue object.
  • C、 Use the Dequeue method of the MyQueue object.
  • D、 Use the TrimToSize method of the MyQueue object.

正确答案:B

第3题:

Users at the Charleville Company began experiencing high network delays when Internet connectivity was enabled for all users. After investigating the traffic flow, you determine that peerto-peer traffic from a music download site is consuming a large amount of bandwidth. Which QoS mechanism can you implement to improve the network response time?()

A. Use CBWFQ to queue the peer-to-peer traffic into the default traffic class.

B. Use class-based WRED to randomly drop the peer-to-peer traffic during network congestions.

C. Use class-based policing to limit the peer-to-peer traffic rate.

D. Use class-based shaping to delay any excessive peer-to-peer traffic. Answer: C


参考答案:C

第4题:

You need to design an access control strategy for the marketing application. You solution must minimize impact on server and network performance. What should you do?()

  • A、Require client computers to connect to the marketing application by using a VPN connection
  • B、Use IPSec to encrypt communications between the servers in the New York and Atlanta offices
  • C、Require the high security setting on Terminal Services connections to the marketing application
  • D、Configure all marketing application Web pages to require SSL

正确答案:D

第5题:

You work as a database administrator at Certkiller .com. In your production database, you observe that users’ transactions are consuming a lot of resource and you plan to impose resource restrictions by using Resource Manager. For which three resources can you enable usage restrictions by using Resource Manager? ()

  • A、 CPU usage
  • B、 degree of parallelism
  • C、 number of open cursors
  • D、 number of sorts performed
  • E、 idle time for blocking sessions
  • F、 number of disk I/O operations performed
  • G、 number of memory I/O operations performed

正确答案:A,B,E

第6题:

You work as an application developer at Certkiller .com. You are developing an application that makes use of a Queue class object named MyQueue. This Queue class object will be used to store messages sent by the user during application run time.You would like to access the message at the beginning of the queue, prior to processing the user messages, without removing it. What should you do?()

  • A、 Use the Enqueue method of the MyQueue object.
  • B、 Use the Contains method of the MyQueue object.
  • C、 Use the Dequeue method of the MyQueue object.
  • D、 Use the Peek method of the MyQueue object.

正确答案:D

第7题:

A customer needs to ensure that the number of threads servicing an application does not exceed the number of database connections available to the application. What step must you take to address this situation?()

  • A、Configure a Max Threads Constraint and add your application to the list of applications for the  Constraint.
  • B、Configure a Work Manager with a Maximum Threads Constraint tied to the Connection Pool and  configuration your application to use the Work Manager.
  • C、Configure a Work Manager with a Minimum Threads Constraint tied to the Connection Pool and  configure your application to use the Work Manager.
  • D、Configure a global MaxThreads constraint and target it to the server or clusters where your  application is deployed.
  • E、Configure the startup parameter "-Dwls-maxThreads" to be the same as the number of  database connections configured.

正确答案:B

第8题:

An airline is building a booking system for its premium and general customers. The goal is to ensure premium members are given higher access priority when user traffic is high.    What configuration will achieve this goal?()

  • A、Configure a Work Manager for premium users with a Minimum Thread Constraint.
  • B、Configure a Work Manager for premium users with a higher fair-share-request-class.
  • C、Configure a Work Manager for premium users with a higher response-time-request-class.
  • D、Configure a Work Manager general users with a Maximum Thread Constraint.
  • E、Configure a Work Manager for premium users with a custom request-class.

正确答案:B

第9题:

In a Java EE messaging application, one MDB is consuming a lot of memory at high traffic.    What configuration should you use to prevent possible out-of-memory error at high traffic and at the same time not losing messages?()

  • A、Configure a Work Manager for the MDB with a Maximum Thread Constraint.
  • B、Configure a Work Manager for the MDB with a Minimum Thread Constraint.  
  • C、Configure a Work Manager for the MDB with a Maximum Thread Constraint and a Capacity  Constraint. 
  • D、Configure a Work Manager for the MDB with a Minimum Thread Constraint and a Capacity Constraint. 
  • E、Configure a Work Manager for the MDB with both a Maximum Thread Constraint and Minimum Thread Constraint.

正确答案:B

第10题:

A Windows Communication Foundation (WCF) application exposes a service as a SOAP endpoint for consumption by cross-platform clients.During integration testing, you find that one of the clients is not generating the correct messages to the WCF application.In order to debug the issue and fix the communication, you need to configure the service to log messages received from the client.What should you do?()

  • A、Set an etwTracking behavior on the service and configure a listener for the System.ServiceModel trace source.
  • B、Set an etwTracking behavior on the service and configure a listener for the System.ServiceModel.MessageLogging trace source.
  • C、Enable messageLogging in the System.ServiceModel diagnostics element configuration and configure a listener for the System.ServiceModel.MessageLogging trace source.
  • D、Enable messageLogging in the System.ServiceModel diagnostics element configuration and configure a listener for the System.ServiceModel trace source.

正确答案:C

更多相关问题