Summary of WEB Architecture Related Test Questions - System Architect Exam

Second half of 2017

Question 2
Read the following description about software system design, and answer questions 1 to 3 on the answer sheet.
[Explanation]
A software company was entrusted by the provincial education department to build a digital education and teaching resource sharing platform for colleges and universities to realize crowdfunding and crowdcreation. The way is to organize ordinary colleges and universities in the province to jointly carry out the construction of educational and teaching resources, so as to realize the integration and sharing of high-quality teaching resources in the province. The main functional modules of the resource sharing platform include:
(1) Unified identity authentication module: providing a unified authentication entry, providing functions such as user management, identity authentication, authority classification, and single sign-on for other core business modules of the platform; (2)
Sharing Resource management module: Provide teaching resource declaration process services, including resource declaration, classification customization, data upload, resource review, resource release and other functions; (3) Shared resource display module: Provide
display services for educational and teaching shared resources, including resource navigation , video on demand, resource retrieval, classified display, resource evaluation and recommendation, etc.;
(4) Resource metamodel management module: Provide description attributes, content attributes and display attributes of shared resources according to resource types, including shared resource uniform standards and norms, Functions such as resource processing and online editing tools, digital watermark and template customization;
(5) System comprehensive management module: provide system management and maintenance services, including system configuration, data backup and recovery, resource import and export, statistical analysis and other functions.
After analysis and discussion, the project team decided to adopt the MVC pattern based on Java EE to design the software architecture of the resource sharing platform, as shown in Figure 2-1.
insert image description here
Figure 2-1 Resource sharing platform software architecture
[Question 1] (9 points)
What three elements are included in the MVC architecture, and what are their functions? , JavaBean, and DAO are filled in the empty positions (1)~(5) respectively.
【Question 2】(6 points)
Wang Gong, the architect of the project team, proposed to add EJB components to the architecture design shown in Figure 2-1, and adopt the enterprise-level JavaEE architecture to develop a resource sharing platform. Please explain the three types of beans (components) in EJB components, and the responsibilities of each type of bean.
[Question 3] (10 points)
If you adopt the enterprise JavaEE architecture proposed by Wang Gong, please explain which of the business function components given in (a)-(e) below include stateful and stateless components.

Answer:
[Question 1] The MVC architecture includes: View, Controller, Model
View (View): View is the interface that users see and interact with. A view displays relevant data to the user and can receive input from the user, but it does not perform any actual business processing.
Controller (Controller): The controller accepts user input and calls the model and view to complete the user's needs. This part is the interface between the user interface and the Model. On the one hand, it interprets the input from the view and interprets it into an object that the system can understand. At the same time, it also recognizes user actions and interprets them as calls to model-specific methods; on the other hand, it processes events from the model. And the results of model logic execution, call the appropriate view to provide feedback to the user.
Model (Model): The model is the main part of the application. Models represent business data and business logic. A model can provide data for multiple views.
(1) JSP (2) Servlet (3) Service (4) JavaBean (5) DAO
[Question 2] There are three types of beans in EJB: session beans, entity beans and message-driven beans.
The responsibility of the session bean is: maintain a short-lived session
The responsibility of the entity beans is: maintain a row of persistent and stable data
The responsibility of the message-driven bean is: receive messages asynchronously
[Question 3]
Stateful: (a), (d)
Stateless: (b), (c), (e)

Second half of 2018

Question 5
Read the following description about Web system design, and answer questions 1 to 3 on the answer sheet.
[Description]
A bank intends to fully integrate the bank information system with branches as the main body into a bank information system managed and maintained by the head office to realize unified user account management, transfer and remittance, self-service payment, wealth management investment, loan management, and online payment , financial statement analysis and other business functions. However, in the original bank information system with branches as the main body, multiple business systems use heterogeneous platforms, databases and middleware, and the message exchange standards and communication protocols used are not the same. It is impossible to realize flexible interaction and integration among heterogeneous systems under the new business model. Therefore, in order to integrate the existing banking business systems based on different technologies with minimal system improvement, the bank intends to adopt an ESB-based Service-Oriented Architecture (SOA) integration solution to achieve business integration.
[Question 1] (7 points)
Please explain what is Service-Oriented Architecture (SOA) and the role and characteristics of ESB in SOA.
[Question 2] (12 points)
Based on the actual needs of the information system integration, the project team completed the SOA-based banking information system architecture design. The system architecture diagram is shown in Figure 5-1:
insert image description here
Please select the corresponding content from (a)~(j) and fill in (1)~(6) in Figure 5-1 to supplement and perfect the architecture design diagram.
(a) data layer
(b) interface layer
(c) business layer
(d) bind
(e) enterprise service bus ESB
(f) XML
(g) security verification and quality management
(h) publish
(i) UDDI
(j) components Layer
(k) BPEL
[Question 3] (6 points)
In view of the data interaction security requirements of the bank information system, list 3 measures that can realize the security guarantee of the information system.
Answer:
[Question 1]
SOA is a component model that links different functional units (called services) of an application through well-defined interfaces and contracts between these services. The interface is defined in a neutral way, it should be independent of the hardware platform, operating system and programming language that implements the service. This allows services built into various such systems to interact in a unified and common way.
Features of ESB:
1. An implementation of SOA, ESB plays the role of a bus in a service-oriented architecture, connecting and integrating various services; 2.
Describe service metadata and service registration management;
3 , Transfer data between service requesters and providers, and the ability to convert these data, and support some patterns summarized in practice such as synchronous mode, asynchronous mode, etc.; 4. Discovery, routing, matching and
selection Ability to support dynamic interaction between services, decoupling service requesters and service providers. Advanced capabilities include support for security, quality of service assurance, manageability, and load balancing.
[Question 2]
(1) (c) business layer (2) (i) UDDI (3) (h) publish
(4) (e) enterprise service bus ESB (4) (g) security verification and quality management (6) (j) Component layer
[Question 3]
1. Introduce https protocol or use encryption technology to encrypt data before transmission
2. Use information summary technology to verify the integrity of important information
3. Use digital signature mechanism for transaction sensitive information

Guess you like

Origin blog.csdn.net/weixin_42163707/article/details/127584522