In REST, how are different resources typically accessed?
- Through HTML (Hypertext Markup Language)
- Through SOAP (Simple Object Access Protocol)
- Through TCP (Transmission Control Protocol)
- Through URIs (Uniform Resource Identifiers)
RESTful resources are typically accessed through URIs, providing a standardized way to identify and interact with resources.
_______ is a security vulnerability where an attacker can execute unauthorized commands.
- Cross-Site Request Forgery (CSRF)
- Cross-Site Scripting (XSS)
- Man-in-the-Middle (MitM)
- SQL Injection
SQL Injection is a security vulnerability where an attacker can execute unauthorized commands by injecting SQL code into input fields.
In a case where a website allows user comments, which security measure is vital to prevent XSS through user inputs?
- CSRF protection
- Database normalization
- HTTPS implementation
- Input sanitization
To prevent XSS through user inputs, it's crucial to implement input sanitization, which involves cleaning and validating user input to mitigate potential script injection.
Which regulation primarily deals with data protection and privacy in the European Union?
- CCPA (California Consumer Privacy Act)
- FERPA (Family Educational Rights and Privacy Act)
- GDPR (General Data Protection Regulation)
- HIPAA (Health Insurance Portability and Accountability Act)
GDPR is the primary regulation in the European Union that focuses on data protection and privacy.
GraphQL uses a _______ to execute and deliver data to the client.
- Command
- Query
- Request
- Transaction
GraphQL uses a query to define the data requirements and execute requests to retrieve the necessary data.
In performance testing, what does the term 'latency' refer to?
- The amount of data that can be processed simultaneously
- The delay between sending a request and receiving the response
- The number of concurrent users
- The speed of data transmission
Latency in performance testing refers to the delay between sending a request and receiving the corresponding response, measuring the time taken for data to travel between points.
How does unit testing contribute to the continuous integration process of web services?
- By increasing the likelihood of bugs in production
- By providing rapid feedback on code changes
- By skipping the testing phase
- By slowing down the integration process
Unit testing contributes to continuous integration by providing rapid feedback on code changes, helping catch issues early in the development process.
In SOA, _______ is a common approach for integrating heterogeneous systems.
- Enterprise Service Bus (ESB)
- Representational State Transfer (REST)
- Service-Oriented Architecture
- Web Service Description Language (WSDL)
In Service-Oriented Architecture (SOA), the Enterprise Service Bus (ESB) is a common approach for integrating heterogeneous systems. The ESB facilitates communication and integration between different services and applications in a loosely coupled manner.
Which HTTP method is commonly used for creating resources in REST?
- DELETE
- GET
- POST
- PUT
The HTTP method commonly used for creating resources in REST is POST. It is used to submit data to be processed to a specified resource.
In WSDL, the term 'binding' refers to what?
- The association between the abstract interface and a concrete protocol
- The definition of complex data types
- The process of connecting to a database
- The specification of user interfaces
In WSDL, 'binding' refers to the association between the abstract interface and a concrete protocol. It defines how the web service will be accessed over the network.