Tất Cả Khoá Học
Frontend
Học HTML5 - CSS3
Học Bootstrap
Học JS
Học JQuery
AngularJS
ReactJS
Java
Java Basic
Java Advanced
JSP Servlet
Java Web + EJB (EAD)
Java Web + WebService
Java Web + EA
Spring MVC
Mobile
Lập Trình Android Java
Lập Trình Flutter
CSDL
SQL Server/MySQL
Khác
Lập Trình C
C Sharp
Học PHP
Học Laravel
Git/Github
Blog
Phỏng Vấn
Jobs & Lập Trình Thời AI
Tin Tức & Công Nghệ
Review Công Nghệ
Phần Mềm & Tiện Ích
Trắc Nghiệm & Học Sinh
Thông Tin Hữu Ích
Quiz
Tools
Nhận Dự Án
Liên Hệ
Đăng nhập
QL - Bài Tập & Khoá Học
Tiếp Thị Liên Kết
Thoát
Light
Dark
Auto
Menu
Bài Tập
Sử dụng SAX Parser phân tích tài liệu xml - danh sách môn học
WebServ - Sax Parser - Quản lý lớp học
Tạo dự án web service - Quản lý sinh viên
Quản lý tài khoản ngân hàng - SOAP Web Service - Java Swing
PHÁT TRIỂN ỨNG DỤNG DOANH NGHIỆP (JAVA WEB & WEB SERVICES)
Phát triển ứng dụng quản lý sinh viên (SOAP WEB SERVICE)
Web Service - Quản lý thư viên sách
Xây dựng hệ thống quản lý dự án
Xây dựng hệ thống quản lý dự án - Sử dụng web service + web service client
Xây dựng Web Service – Quản lý Máy Tính - Web Service
QUẢN LÝ FEED (WEB SERVICE - CRUD)
Trắc Nghiệm
[Trắc Nghiệm] Ôn tập kiến thức về web service - SOAP API - Lập trình Java Backend
[Trắc Nghiệm] Ôn tập lý thuyết Web Service - SOAP API - Phần 2
Ôn tập tổng hợp lý thuyết Web Service - Trắc nghiệm tổng hợp Web Service
Java Web + WebService
Ôn tập tổng hợp lý thuyết Web Service - Trắc nghiệm tổng hợp Web Service
Previous
Next
Câu hỏi 1: What is the primary characteristic of Web services regarding their integration?
A: They are tightly coupled and always active
B: They are loosely coupled and integrated only when required
C: They require a specific programming language for integration
D: They must be hosted on the same server to communicate
Đáp án: B
Câu hỏi 2: Which architecture provides location and implementation transparency by building an infrastructure of services?
A: Model-View-Controller (MVC)
B: Client-Server Architecture
C: Service Oriented Architecture (SOA)
D: Monolithic Architecture
Đáp án: C
Câu hỏi 3: In the SOA model, which component is responsible for publishing information about organizations and their services?
A: Service Provider
B: Service Consumer
C: Service Broker
D: Service Endpoint
Đáp án: C
Câu hỏi 4: Which type of Web service is offered using the SOAP standard and XML message formats?
A: RESTful Web services
B: Big Web services
C: A2A Integration services
D: JAX-RS services
Đáp án: B
Câu hỏi 5: What are the two primary parts of a SOAP message enclosed within an envelope?
A: Request and Response
B: Header and Body
C: WSDL and UDDI
D: XML and HTTP
Đáp án: B
Câu hỏi 6: Which Java API is specifically used to access XML registries like UDDI and ebXML?
A: JAX-WS
B: JAXP
C: JAXR
D: SAAJ
Đáp án: C
Câu hỏi 7: Which parser processes XML sequentially as a series of events?
A: DOM
B: SAX
C: JAXB
D: StAX
Đáp án: B
Câu hỏi 8: Which tool is used to create the WSDL file and mapping file during Web service development?
A: javac
B: wscompile
C: regedit
D: XMLReader
Đáp án: B
Câu hỏi 9: Which annotation is used to mark a Java class as a Web service in JAX-WS?
A: @WebMethod
B: @WebService
C: @WebResult
D: @RemoteService
Đáp án: B
Câu hỏi 10: What is the function of 'Marshalling' in the context of JAXB?
A: Converting XML to Java object
B: Converting Java object to XML
C: Validating XML schema
D: Compiling Java code
Đáp án: B
Câu hỏi 11: Which protocol does SOAP use as a primary transport mechanism?
A: FTP
B: SMTP
C: HTTP
D: TCP
Đáp án: C
Câu hỏi 12: Which element in a WSDL document describes the operations provided by the service?
A: types
B: message
C: portType
D: binding
Đáp án: C
Câu hỏi 13: What does UDDI stand for?
A: Universal Data Description Interface
B: Universal Description, Discovery, and Integration
C: Unified Document Delivery Infrastructure
D: Universal Deployment and Discovery Interface
Đáp án: B
Câu hỏi 14: Which messaging mode is used to transmit method calls and return values in SOAP?
A: Document/Literal
B: RPC/Literal
C: Binary/Encoded
D: Text/Plain
Đáp án: B
Câu hỏi 15: Errors in SOAP messages are sent as which type of messages over HTTP?
A: Error messages
B: Exception messages
C: Fault messages
D: Warning messages
Đáp án: C
Câu hỏi 16: Which element is the root element of a SOAP message?
A: Header
B: Body
C: Envelope
D: Fault
Đáp án: C
Câu hỏi 17: Which WSDL element defines the data types used by the web service?
A: types
B: message
C: binding
D: service
Đáp án: A
Câu hỏi 18: The ebXML registry is similar to which other registry?
A: DNS
B: UDDI
C: Active Directory
D: Windows Registry
Đáp án: B
Câu hỏi 19: Which SOAP part is used for carrying application-specific data?
A: Envelope
B: Header
C: Body
D: Attachment
Đáp án: C
Câu hỏi 20: What is the function of the 'binding' element in WSDL?
A: Defines data types
B: Specifies protocol and data format for a portType
C: Defines the service address
D: Describes individual operations
Đáp án: B
Câu hỏi 21: What is a Web service endpoint?
A: A client application
B: A program that implements and carries out Web service requests
C: A network protocol
D: An XML database
Đáp án: B
Câu hỏi 22: Which annotation can be used instead of @WebService for service providers?
A: @WebMethod
B: @WebServiceProvider
C: @WebResult
D: @Endpoint
Đáp án: B
Câu hỏi 23: What is the recommended file format for packaging Web service files for deployment?
A: JAR
B: EAR
C: WAR
D: ZIP
Đáp án: C
Câu hỏi 24: In JAX-WS development, what comes after coding the implementation class?
A: Deploying the WAR file
B: Compiling the implementation class
C: Coding the client class
D: Running the client
Đáp án: B
Câu hỏi 25: Which method of the Service class is used to instantiate the Web service in a client?
A: init()
B: Service()
C: create()
D: start()
Đáp án: B
Câu hỏi 26: Which method is used to initialize the port for the Web service in a JSP client?
A: getPort()
B: getService()
C: connect()
D: open()
Đáp án: A
Câu hỏi 27: A Web service is available to clients only after which process?
A: Coding
B: Packaging and Deployment
C: Testing
D: Compilation
Đáp án: B
Câu hỏi 28: What is the primary role of a Web service endpoint URL?
A: To identify the developer
B: The address where the service can be accessed by the client
C: To store the source code
D: To define the database schema
Đáp án: B
Câu hỏi 29: Which type of bean can be extended into a Web service in Java EE?
A: Stateful Session Bean
B: Stateless Session Bean
C: Entity Bean
D: Message Driven Bean
Đáp án: B
Câu hỏi 30: Design guidelines simplify the process of creating what?
A: Databases
B: Endpoints
C: Network cables
D: UI Components
Đáp án: B
Câu hỏi 31: Which client type enables invoking methods unknown at compile time?
A: Static Stub client
B: Dynamic Proxy client
C: Dynamic Invocation Interface (DII) client
D: Standalone client
Đáp án: C
Câu hỏi 32: Which object is used in DII to dynamically invoke a Web service?
A: Service object
B: Call object
C: Stub object
D: Proxy object
Đáp án: B
Câu hỏi 33: What is a drawback of using DII clients?
A: It is less portable
B: It does not support one-way invocation
C: The developer needs to develop very complicated code
D: It is slower than static stubs
Đáp án: C
Câu hỏi 34: Which client creates a proxy of the service interface to access methods?
A: Standalone client
B: DII client
C: Dynamic Proxy client
D: Swing client
Đáp án: C
Câu hỏi 35: What is a benefit of Dynamic Proxy clients?
A: Requires no coding
B: Makes client applications more portable
C: Only supports one-way invocation
D: Does not require a WSDL
Đáp án: B
Câu hỏi 36: What class is used to create an instance for the generated interface in DII?
A: Service
B: QName
C: Port
D: WSDL
Đáp án: B
Câu hỏi 37: A web-based application using JSP or servlets to access services is called what?
A: Dynamic client
B: Standalone client
C: Native client
D: Legacy client
Đáp án: A
Câu hỏi 38: DII is the only method that supports what type of invocation?
A: Synchronous
B: Asynchronous
C: One-way invocation
D: Two-way invocation
Đáp án: C
Câu hỏi 39: Which Java API can be used by a DII client for lookup?
A: JAX-WS
B: JAX-RS
C: JAXR
D: SAAJ
Đáp án: C
Câu hỏi 40: Which mode of communication allows clients to access Web services through stubs?
A: Dynamic
B: Static
C: Direct
D: Remote
Đáp án: B
Câu hỏi 41: JAX-WS architecture is based on the generation of which instance?
A: Static class
B: Dynamic proxy class
C: XML template
D: Servlet
Đáp án: B
Câu hỏi 42: Which technology is JAX-WS data binding based on?
A: SAX
B: DOM
C: JAXB
D: JSP
Đáp án: C
Câu hỏi 43: What is the 'Provider' interface in JAX-WS used for?
A: Creating clients
B: Service endpoint implementation
C: Parsing WSDL
D: Managing UDDI
Đáp án: B
Câu hỏi 44: Which client type in JAX-WS supports asynchronous invocation?
A: Static stub
B: Dispatch client
C: SOAP client
D: Browser
Đáp án: B
Câu hỏi 45: Java EE platform uses which objects for easier development of Web services?
A: EJBs only
B: POJOs (Plain Old Java Objects)
C: Servlets only
D: Applets
Đáp án: B
Câu hỏi 46: What type of Web service is JAX-RS used for?
A: SOAP-based
B: RESTful
C: WSDL-based
D: Big Web services
Đáp án: B
Câu hỏi 47: JAX-WS parsing is based on JAXB and which other technology?
A: SAX
B: DOM
C: StAX
D: XSLT
Đáp án: C
Câu hỏi 48: The JEE platform provides what for Web services?
A: Only storage
B: The right environment for easy development and deployment
C: Only testing tools
D: A database server
Đáp án: B
Câu hỏi 49: What are the two types of service endpoint implementations in JAX-WS?
A: Servlet and JSP
B: Standard JavaBeans and Provider interface
C: EJB and POJO
D: XML and SOAP
Đáp án: B
Câu hỏi 50: What does JAX-WS stand for?
A: Java API for XML-based Web Services
B: Java Architecture for XML Web Services
C: Java API for XSLT Web Services
D: Java Advanced XML Web Services
Đáp án: A
Câu hỏi 51: What is REST an acronym for?
A: Representational State Transfer
B: Remote Enterprise Service Technology
C: Resource Exchange Standard Template
D: Representational Service Transfer
Đáp án: A
Câu hỏi 52: Which HTTP method is used to create a new resource in REST?
A: GET
B: POST
C: PUT
D: DELETE
Đáp án: B
Câu hỏi 53: Which HTTP method is used to update an existing resource in REST?
A: GET
B: POST
C: PUT
D: DELETE
Đáp án: C
Câu hỏi 54: Which HTTP method is used to retrieve a resource in REST?
A: GET
B: POST
C: PUT
D: DELETE
Đáp án: A
Câu hỏi 55: RESTful Web services are based on which protocol?
A: SOAP
B: HTTP
C: FTP
D: SMTP
Đáp án: B
Câu hỏi 56: What is the JAX-RS specification used for?
A: Creating SOAP services
B: Creating RESTful services using annotations
C: Validating XML
D: Managing UDDI
Đáp án: B
Câu hỏi 57: What are the two types of resources JAX-RS API allows creating?
A: Client and Server
B: Root resource class and Sub resources
C: XML and JSON
D: Static and Dynamic
Đáp án: B
Câu hỏi 58: What are HTTP methods also known as in REST?
A: Nouns
B: Verbs
C: Adjectives
D: Propositions
Đáp án: B
Câu hỏi 59: Which action does the DELETE HTTP method perform?
A: Retrieve a resource
B: Update a resource
C: Delete a resource
D: Create a resource
Đáp án: C
Câu hỏi 60: Which architecture style designs systems consisting of protocols, data components, hyperlinks, and clients?
A: SOAP
B: REST
C: RPC
D: EDI
Đáp án: B
DEV
My Quiz
Developer Toolbox
×
INPUT AREA
➜
⬅
OUTPUT AREA
TEXT CASE
UPPER
lower
Capitalize
Title Case
FORMAT & CLEAN
Trim
Slug
Strip HTML
Reverse
ENCODE & DECODE
B64 Enc
B64 Dec
URL Enc
URL Dec
JSON & CRYPTO
JSON Beauty
JSON Mini
MD5
SHA256
Nhấn ESC để thoát
Đã sao chép!!!