CSE460-UNIT6

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

In a generic microservice architecture, which are considered key components? Select all that apply. 1-Event bus 2-Microservices 3-API gateway 4-Database A-1-2-3 B-2-3-4 C-1-3-4 D-1-2-4

A

In the evolution of programming language paradigms towards software-oriented-computing (SOC), which specifications are added by the *multi-threading programming* paradigm? Select all that apply. 1-Resource sharing 2-Synchronization 3-Parallel processing 4-Encapsulation A-1-2-3 B-2-3-4 C-1-3-4 D-1-2-4

A

In which type of programming approaches are functionalities grouped into services and exposed as web accessible methods (APIs)? A-Service-oriented programming B-Software-oriented programming C-Data-oriented programming D-Object-oriented programming

A

What are software monolith characteristics? Select all that apply. 1-Horizontal partitioning of modules 2-One technology stack 3-One build and deployment unit 4-Small code base A-1-2-3 B-2-3-4 C-1-3-4 D-1-2-4

A

What are some basic ideas behind the microservice architecture? Select all that apply. 1-Applying vertical partitioning. 2-Applying horizontal partitioning. 3-Refactoring conventional SOA into fine-grained SOA. 4-Partitioning based on the functionality. A-1-2-3 B-2-3-4 C-1-3-4 D-1-2-4

A

What are the key considerations for Amazon to adopt microservices architecture? Select all that apply. 1-Performance 2-Recoverability 3-Scalability 4-Security A-1-3 B-2-3-4 C-1-2-4 D-1-2-4

A

What indicates the characteristic of services in vertical partitioning towards microservices? Select all that apply. 1-Independent development of services from each other. 2-Focusing on one major functionality. 3- Each service manages its own data. 4- Sharing data among services. A-1-2-3 B-2-3-4 C-3-4 D-1-2-4

A

What is the specific disadvantage of horizontal partitioning in software monolith? A-Difficult to scale B-Modifiability is challenging C-Deployment is complex D-Code management is complex

A

Which is among the reasons for better availability in microservice architecture? A-Large team sizes B-Separate management of each microservice C-High dependency among teams D-Complex downtime handling procedure

A

Which one of the following architectures has emerged to solve some of the key issues (e.g. complex deployment) in software monolith? A-Microservice B-Client-server C-Object-oriented D-Service-oriented

A

Consider the following web API definition [OperationContract] [WebInvoke(Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, UriTemplate = "/getAccount/{number}/{balance}")] What is the return type of the above web API call? A-XML B-JSON C-Text D-HTTP

B

In design and implementation of SOAP web services, what is correspondent to "built-in Internet Information Services (IIS) server in Visual Studio for testing purposes"? A-Creating a web service project. B- Deploying the web service on a server. C- Defining the web service interface. D- Implementing the web service interface.

B

In design and implementation of SOAP web services, which are key steps in developing SOAP web services? Select all that apply. 1-Listing the WSDL in the browser. 2-Implementing web service methods. 3-Defining the web service interface. 4-Defining data contracts if needed. A-1-2-3 B-2-3-4 C-1-3-4 D-1-2-4

B

Partitioning of modules based on the functionally is applied in microservice architectures. Which type of partitioning is based on the functionality? A-Object-oriented partitioning B-Vertical partitioning C-Logical partitioning D-Horizontal partitioning

B

Review Figure 6.8. Traditional client server applications are examples of software monolith. Figure 6.8 illustrates the client server architecture. Which type of functionality does the third tier handle? A-Database server functionality B-Server functionality C-Client functionality D-Developer functionality

B

Select the correct statement about the following web service operation contract definition [OperationContract] int sum(int x, int y); A-This is not a correct REST or SOAP web service method definition B-This method definition can be for a REST or a SOAP web service C-This a method definition for a SOAP web service D-This is a method definition for a REST web service

B

What roles are involved in the three party model of service-oriented software development? Select all that apply. 1-Service manager 2-Service developer 3-Service broker 4-Service requester A-1-2-3 B-2-3-4 C-1-2-4 D-1-4

B

Which quality factor is directly enhanced due to architectural characteristics of the microservice architecture? A-Privacy B-Modifiability C-Usability D-Testability

B

In microservice architecture, which quality factor has improved due to the opportunity of incorporating fault tolerant mechanism in-case of a failure by each microservice? 1-Team management 2-Reliability 3-Privacy 4-Availability A-1-2-3 B-2-3-4 C-1-2-4 D-1-2-4

C

Which are top motives of growing microservice adoption in industry? Select all that apply. 1-Security 2-Performance 3-Agility 4-Scalability A-1-2-3 B-2-3-4 C-3-4 D-1-2-4

C

Which component in a generic microservice architecture, represents a collection of API endpoints provided by microservices? A-API interface B-Data center C-API gateway D-Event bus

C

Which option is among the reasons of better team management in microservice architecture? A-High dependency among teams B-Managing microservices together C-Self-contained teams D-Large team sizes

C

n the three party model of service-oriented software development, which role is handled by software engineers who understand the application domain? A-Service provider B-Service broker C-Application builder D-Service organizer

C

In JavaScript object notation processing, which statement are *true* about the JSON language? Select all that apply. 1-Strings are among supported data types. 2-Data is represented as key/value pairs. 3-Curly braces represent arrays. 4-Multiple values are separated by commas. A-1-2-3 B-2-3-4 C-3-4 D-1-2-4

D

In JavaScript object notation processing, which statements are *true* about the JSON data structures? Select all that apply. 1-JSON is called JavaScript object notation. 2-JSON is often used in REST web APIs. 3-JSON is dependent to language and platform. 4-JSON is a light-weight data exchange format. A-1-2-3 B-2-3-4 C-1-3-4 D-1-2-4

D

In the evolution of programming language paradigms towards software-oriented-computing (SOC), each paradigm has its own specifications. *Automatic discovering and binding* is provided by which paradigm? A-Multi-threading programming B-Logic programming C-Distributed computing D-Service-oriented computing

D

In the three party model of service-oriented software development, which tasks belong to service providers? Select all that apply. 1-Class testing 2-Service hosting 3-Service discovery 4-Service wrapping A-1-2-3 B-2-3-4 C-1-3-4 D-1-2-4

D

In web services and their technology trends, which statement applies to REST web services? A- REST uses XML based WSDL for interface definition. B- REST operates on top of HTTP for communication. C- REST applications are more closely connected systems. D- REST use HTTP methods for communication.

D

In web services and their technology trends, which statements are *true* about REST web services? Select all that apply. 1-REST uses HTTP methods for communication. 2-REST is suitable for mobile and web applications. 3-REST uses XML-based WSDL for interface definition. 4-REST uses API for interface definition. A-1-2-3 B-2-3-4 C-1-3-4 D-1-2-4

D

Which companies demonstrate successful usage of microservices in industry? Select all that apply. 1-Amazon 2-Comcast Cable 3-Apple TV 4-Netflix A-1-2-3 B-2-3-4 C-1-3-4 D-1-2-4

D

n design and implementation of REST web services, what is the first generic step toward creating a web service? A-Creating a web service project. B-Defining the web service interface. C-Deploying the web service on a server. D-Requirement analysis and interface definition of the web service.

D

string ur; = @"http://websrar909.fulton.asu.edu/page1/MathService.svc/absValue?x=-10"; HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);WebResponse response = reques.GetResponse(); Stream responseStream = response.GetResponseStream(); StreamReader reader = new StreamReader(responseStream); Review Figure 6.7. In the REST web service usage example, which step in the usage scenario is mainly handled by the block of code in Figure 6.7? A-Creating a client project. B-Process JSON result of the API call. C-Retrieving parameters for the API call from the user. D-Creating an HTTP web request object with the REST API URL.

D


Set pelajaran terkait

Substance-Related and Addictive Disorders-DSM 5

View Set

Fluid and Electrolyte NCLEX Questions

View Set

Arithmetic and Geometric Sequences

View Set

Adult Health Chapter 18: Management of Patients with Upper Respiratory Tract Disorders

View Set