多选题Which the two are characteristics of the Service Locator pattern?()AIt encapsulates component lookup proceduresBIt increases source code duplication and decreases reuseCIt improves client performance by caching context and factory objectsDIt degrades n

题目
多选题
Which the two are characteristics of the Service Locator pattern?()
A

It encapsulates component lookup procedures

B

It increases source code duplication and decreases reuse

C

It improves client performance by caching context and factory objects

D

It degrades network performance due to increased access to distributed lookup services


相似考题
更多“多选题Which the two are characteristics of the Service Locator pattern?()AIt encapsulates component lookup proceduresBIt increases source code duplication and decreases reuseCIt improves client performance by caching context and factory objectsDIt degrades n”相关问题
  • 第1题:

    Which two are characteristics of the Service Locator pattern?()

    • A、It encapsulates component lookup procedures.
    • B、It increases source code duplication and decreases reuse.
    • C、It improves client performance by caching context and factory objects.
    • D、It degrades network performance due to increased access to distributed lookup services.

    正确答案:A,C

  • 第2题:

    Which of the following performance tools will work with optimized code and also provides source statement profiling?()

    • A、 prof
    • B、 gprof
    • C、 kprof
    • D、 tprof

    正确答案:D

  • 第3题:

    A developer is designing a web application that makes many fine-grained remote data requests for each client request. During testing, the developer discovers that the volume of remote requests significantly degrades performance of the application. Which design pattern provides a solution for this problem?()

    • A、 Flyweight
    • B、 Transfer Object
    • C、 Service Locator
    • D、 Dispatcher View
    • E、 Business Delegate
    • F、 Model-View-Controller

    正确答案:B

  • 第4题:

    Which two are characteristics of the Transfer Object design pattern?()

    • A、It reduces network traffic by collapsing multiple remote requests into one.
    • B、It increases the complexity of the remote interface by removing coarse-grained methods.
    • C、It increases the complexity of the design due to remote synchronization and version control issues.
    • D、It increases network performance introducing multiple fine-grained remote requests which return verysmall amounts of data.

    正确答案:A,C

  • 第5题:

    单选题
    A developer is designing a web application that makes many fine-grained remote data requests for each client request. During testing, the developer discovers that the volume of remote requests significantly degrades performance of the application. Which design pattern provides a solution for this problem?()
    A

     Flyweight

    B

     Transfer Object

    C

     Service Locator

    D

     Dispatcher View

    E

     Business Delegate

    F

     Model-View-Controller


    正确答案: C
    解析: 暂无解析

  • 第6题:

    多选题
    Which two statements are true about Oracle ActiveCache ?()
    A

    it supports very large data-sets such as the result-sets from large search queries to be held in memory

    B

    it provides a set of management tools that enables automation of configuration

    C

    it provides enhanced visibility across the entire application infrastructure

    D

    it significantly increases the performance of Web-based applications with no code change


    正确答案: C,D
    解析: 暂无解析

  • 第7题:

    多选题
    You are designing a DNS Name resolution strategy for the client computer in the customer service department.  What are the two possible ways to achieve the goal?()
    A

    Create a reverse lookup zone in DNS for each new Domain.

    B

    Add a WINS lookup record to the DNS forward lookup zone.

    C

    Add a WINS reverse record to the DNS reverse lookup zone.

    D

    Enable Dynamic updates for DownLevel client computers on each DHCP server.

    E

    Install the Active Directory Client on All Computers in the Customer service department.


    正确答案: C,D
    解析: 暂无解析

  • 第8题:

    多选题
    Which two statements are true about Oracle Real Applications Insight ?()
    A

    it provides enhanced visibility across the entire application infrastructure

    B

    it provides a set of management tools that enable automation of configuraion

    C

    it significantly increases the performance of Web-based applications with no code change

    D

    it dramatically reduces costs associated with diagnostics, configuration, and deployment on production servers


    正确答案: B,A
    解析: 暂无解析

  • 第9题:

    多选题
    Which two are characteristics of the Transfer Object design pattern?()
    A

    It reduces network traffic by collapsing multiple remote requests into one.

    B

    It increases the complexity of the remote interface by removing coarse-grained methods.

    C

    It increases the complexity of the design due to remote synchronization and version control issues.

    D

    It increases network performance introducing multiple fine-grained remote requests which return verysmall amounts of data.


    正确答案: C,A
    解析: 暂无解析

  • 第10题:

    多选题
    Which two are characteristics of the Service Locator pattern?()
    A

    It encapsulates component lookup procedures.

    B

    It increases source code duplication and decreases reuse.

    C

    It improves client performance by caching context and factory objects.

    D

    It degrades network performance due to increased access to distributed lookup services.


    正确答案: B,D
    解析: 暂无解析

  • 第11题:

    单选题
    Which is characteristic of the Business Delegate pattern?()
    A

     It decreases complexity by removing a layer of proxy classes.

    B

     It reduces coupling between tiers by hiding implementation details.

    C

     It decreases performance due to the lack of caching of remote data.

    D

     It forces business-tier expectations to be dealt with in the presentation-tier.


    正确答案: D
    解析: 暂无解析

  • 第12题:

    多选题
    Which two are NOT characteristics of the OSPF routing protocol?()
    A

    It confines network instability to a single area of network.

    B

    It increases the routing overhead of the network

    C

    It supports VLSM

    D

    It routes between Autonomous Systems.

    E

    It allows extensive control of routing updates


    正确答案: B,E
    解析: 暂无解析

  • 第13题:

    According to Ohm’s Law, which of the following is correct?()

    • A、As voltage increases, resistance decreases
    • B、As amperage decreases, resistance decreases
    • C、As resistance decreases, amperage increases
    • D、As resistance increases, voltage increases

    正确答案:C

  • 第14题:

    Company.com has decided to use the FUBAR Application Server to host their web application. Unfortunately, the FUBAR Application Server uses the server machine’s file system for its JNDI namespace. Every JNDI lookup performed in the web application is translated into a file 1/0 operation, which results in very poor performance.  Which J2EE pattern can help with this performance issue?()

    • A、 Transfer Object
    • B、 Service Locator
    • C、 Intercepting Filter
    • D、 Model-View-Controller

    正确答案:B

  • 第15题:

    Which the two are characteristics of the Service Locator pattern?()

    • A、 It encapsulates component lookup procedures
    • B、 It increases source code duplication and decreases reuse
    • C、 It improves client performance by caching context and factory objects
    • D、 It degrades network performance due to increased access to distributed lookup services

    正确答案:A,C

  • 第16题:

    You are designing a DNS Name resolution strategy for the client computer in the customer service department. What are the two possible ways to achieve the goal?()

    • A、Create a reverse lookup zone in DNS for each new Domain.
    • B、Add a WINS lookup record to the DNS forward lookup zone.
    • C、Add a WINS reverse record to the DNS reverse lookup zone.
    • D、Enable Dynamic updates for DownLevel client computers on each DHCP server.
    • E、Install the Active Directory Client on All Computers in the Customer service department.

    正确答案:B,D

  • 第17题:

    多选题
    Which two are characteristics of the Intercepting Filter pattern?()
    A

    it provides centralized request handling for incoming requests.

    B

    It forces resource authentication to be distributed across web components.

    C

    It reduces coupling between presentation-tier clients and underlying business services.

    D

    It can be added and removed unobtrusively, without requiring changes to existing  code.

    E

    It allows preprocessing and postprocessing on the incoming requests and outgoing  responses.


    正确答案: C,A
    解析: 暂无解析

  • 第18题:

    多选题
    Which three tasks can be performed by using the performance Schema?()
    A

    Finding queries that are not using indexes

    B

    Finding rows that are locked by InnoDB

    C

    Finding client connection attributes

    D

    Finding the part of a code in which a single query is spending time

    E

    Finding the size of each table


    正确答案: C,E
    解析: 暂无解析

  • 第19题:

    多选题
    In an n-tier application, which two invocations are typically remote, not local?()
    A

    JSP to Transfer Object

    B

    Service Locator to JNDI

    C

    Controller to request object

    D

    Transfer Object to Entity Bean

    E

    Controller to Business Delegate


    正确答案: B,A
    解析: 暂无解析

  • 第20题:

    多选题
    You have a Bridged 1483 service offering where each ATM PVC is assigned a /30 subnet. What are two characteristics of this configuration?()
    A

    It burns IP addresses.

    B

    It conserves IP addresses.

    C

    Both the client and the ERX Edge Router have IP addresses.

    D

    The client has an IP address, but the ERX Edge Router uses an unnumbered address.


    正确答案: A,D
    解析: 暂无解析

  • 第21题:

    单选题
    Which of the following performance tools will work with optimized code and also provides source statement profiling?()
    A

     prof

    B

     gprof

    C

     kprof

    D

     tprof


    正确答案: D
    解析: 暂无解析

  • 第22题:

    单选题
    According to Ohm’s Law, which of the following is correct?()
    A

    As voltage increases, resistance decreases

    B

    As amperage decreases, resistance decreases

    C

    As resistance decreases, amperage increases

    D

    As resistance increases, voltage increases


    正确答案: C
    解析: 暂无解析

  • 第23题:

    多选题
    Which two are characteristics of the Front Controller pattern?()
    A

    It simplifies remote interfaces to distributed objects.

    B

    It promotes cleaner application partitioning and encourages reuse.

    C

    It provides an initial point of contact for handling all related requests.

    D

    It reduces maintainability due to the increased complexity of the design.

    E

    It provides loosely coupled handlers that can be combined in various permutations.


    正确答案: C,B
    解析: 暂无解析