0

architecture Online Quiz - 70

Description: architecture Online Quiz - 70
Number of Questions: 28
Created by:
Tags: architecture
Attempted 0/28 Correct 0 Score 0

Are web-services SOA ?

  1. True

  2. False


Correct Option: B
  1. it is a set of principles of governing concepts used during phases of systems development and integration

  2. Software development tool

  3. Programming language

  4. Compiler


Correct Option: A

List out the benefits of SOA?

  1. CORBA

  2. SOAP

  3. RPC

  4. Java


Correct Option: A,B,C

What are the benefits of SOA

  1. Improve Business Visibility

  2. Achieve Business Flexibility

  3. Gain Business Efficiency

  4. None of the above


Correct Option: A,B,C

SOA equals web and distributed services.

  1. True

  2. False


Correct Option: B

What are the SOA Characteristics?

  1. Loosely coupled-minimizes dependencies between services.

  2. Contractual-adhere to agreement on service descriptions

  3. Autonomous- control the business logic they encapsulate.

  4. None of the above


Correct Option: A,B,C,D

What is ESB(Enterprise service bus) ?

  1. It is a infrastructure software to build SOA

  2. It is a concept to build SOA

  3. It is a programming language to build SOA

  4. None of the above


Correct Option: A

What are the ESB software’s available in market?

  1. CORBA

  2. IBM MQSeries

  3. IBM WPS

  4. None of the above


Correct Option: A,B,C

Manages connection with data source to get and store data

  1. View Helper

  2. DAO

  3. Service to Worker

  4. Composite Entity


Correct Option: B

Provide a unified interface to set of interfaces in a subsystem .Defines a higher level interface that makes the subsystem easier to use

  1. Composite

  2. Bridge

  3. Adaptor

  4. Facade


Correct Option: D

Specify the kind of objects to create using a clone able instance and create new objects by copying this instance

  1. Prototype

  2. Factory method

  3. Abstract factory

  4. Proxy


Correct Option: A

Encapsulate request as object thereby letting you parameterize clients with different requests, queue or log requests and support undoable operations

  1. Command

  2. Context

  3. Flyweight

  4. Builder


Correct Option: A

Allow and object to change its state when it’s internal state changes. The object will appear to change its class.

  1. Decorator

  2. Observer

  3. State

  4. Strategy


Correct Option: C

Allow and object to change its state when it’s internal state changes. The object will appear to change its class.

  1. Decorator

  2. Observer

  3. State

  4. Strategy


Correct Option: C

Define a family of algorithms, encapsulate each one, and make them interchangeable. Lets the algorithm vary independently

  1. Strategy

  2. Memento

  3. Mediator

  4. State


Correct Option: A

Convert the interface of a class into another interface clients expect

  1. Meditator

  2. Template method

  3. Adaptor

  4. Bridge


Correct Option: C

Attach additional responsibilities to an object dynamically, provide a flexible alternative to sub classing for extended functionality

  1. Mediator

  2. Memento

  3. Strategy

  4. Decorator


Correct Option: D

Define an object that encapsulates how a set of objects interact. Promotes loose coupling by keeping objects from referring to each other explicitly and lets you vary their interaction independently

  1. Visitor

  2. Momento

  3. Mediator

  4. Bridge


Correct Option: C

Use sharing of data to support large number of fine grained objects effectively

  1. Flyweight

  2. Mediator

  3. Momento

  4. Bridge


Correct Option: A

AI Explanation

To support a large number of fine-grained objects effectively, we can use the concept of sharing data. This means that instead of each object having its own copy of data, they can share a common data structure. This helps in reducing memory usage and improving performance.

Among the given options, the design pattern that supports sharing of data effectively is the Flyweight pattern.

Option A) Flyweight - This option is correct because the Flyweight pattern is specifically designed to efficiently support a large number of fine-grained objects by sharing data. It achieves this by separating the intrinsic (shared) state and extrinsic (non-shared) state of objects. The intrinsic state is shared among multiple objects, while the extrinsic state is unique to each object.

Option B) Mediator - This option is incorrect because the Mediator pattern is used to define an object that encapsulates communication and coordination between multiple objects. It is not directly related to sharing data among objects.

Option C) Memento - This option is incorrect because the Memento pattern is used to capture and restore an object's internal state. It is not directly related to sharing data among objects.

Option D) Bridge - This option is incorrect because the Bridge pattern is used to decouple an abstraction from its implementation, allowing them to vary independently. It is not directly related to sharing data among objects.

Therefore, the correct answer is Option A) Flyweight, as it supports the sharing of data to effectively handle a large number of fine-grained objects.

Avoid coupling of sender of a request to its receiver by giving more than one object a chance to handle the request .Link the receiving object and pass the request along the list until an object handles it

  1. Visitor

  2. Façade

  3. Bridge

  4. Chain of responsibility


Correct Option: D

Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation.

  1. Bridge

  2. Iterator

  3. Adaptor

  4. Momento


Correct Option: B

AI Explanation

To access the elements of an aggregate object sequentially without exposing its underlying representation, you can use the Iterator design pattern.

Option A) Bridge - The Bridge pattern is used to decouple an abstraction from its implementation.

Option B) Iterator - This option is correct. The Iterator pattern provides a way to access the elements of an aggregate object sequentially without exposing its underlying representation. It allows you to iterate over the elements of a collection without knowing the specific structure of the collection.

Option C) Adapter - The Adapter pattern is used to convert the interface of one class into another interface that clients expect.

Option D) Memento - The Memento pattern is used to capture and restore an object's internal state.

The correct answer is B) Iterator. This option is correct because the Iterator pattern is specifically designed to access the elements of an aggregate object sequentially without exposing its underlying representation.

Used to model, represent, and manage a set of interrelated persistent objects rather than representing them as individual fine-grained beans.

  1. Composite Entity

  2. Service to Worker

  3. Domain store

  4. Value list handler


Correct Option: A

Which pattern hides the underlying implementation details of the business service, such as lookup and access details of the EJB architecture.

  1. Business Delegate

  2. Service Locator

  3. Facade

  4. View Helper


Correct Option: A
  1. next generation oss

  2. new generation oss

  3. n generation oss

  4. None of the above


Correct Option: B

eTOM Frame work is

  1. System integration

  2. Enterprise wide

  3. Business process

  4. None of the above


Correct Option: C
- Hide questions