Which HTTP header is typically used for passing authentication tokens in RESTful services?

  • Authentication
  • Authorization
  • Security
  • Token
The Authorization header is commonly used for passing authentication tokens in RESTful services.

What advanced feature of API Gateways can be used for aggregating responses from multiple services?

  • Data Merging
  • Response Composition
  • Result Concatenation
  • Service Aggregation
API Gateways can use Response Composition as an advanced feature to aggregate responses from multiple services.

The process of converting encrypted data back into its original form is called _________.

  • Decryption
  • Encoding
  • Encryption
  • Hashing
Decryption is the process of converting encrypted data back into its original, readable form.

During a security audit, a tester is able to execute a script in the database input field. What type of vulnerability does this indicate?

  • Cross-Site Request Forgery (CSRF)
  • Cross-Site Scripting (XSS)
  • Insecure Direct Object References (IDOR)
  • SQL Injection
The ability to execute a script in the database input field points to a SQL Injection vulnerability, where malicious SQL queries can be injected and executed.

REST APIs commonly use which method to retrieve data without affecting the resource?

  • DELETE
  • GET
  • POST
  • PUT
REST APIs commonly use the GET method to retrieve data without affecting the resource, emphasizing the idempotent nature of the operation.

In the context of web services, serverless computing primarily means what?

  • Direct server control for applications
  • Graphic design for server architecture
  • Load balancing for web servers
  • Running applications without managing server infrastructure
Serverless computing in web services means running applications without managing server infrastructure, allowing developers to focus on code rather than server management.

Kubernetes is primarily used for what purpose in containerization?

  • Database management
  • Front-end development
  • Machine learning
  • Orchestration and management of containers
Kubernetes is mainly used for orchestrating and managing containers, ensuring efficient deployment and scaling.

_________ encryption uses the same key for encryption and decryption.

  • Asymmetric
  • Private
  • Public
  • Symmetric
Symmetric encryption utilizes the same key for both the encryption and decryption processes.

In complex web services, how does WSDL handle multiple service endpoints?

  • WSDL allows the definition of multiple service endpoints in the same document
  • WSDL can't handle multiple endpoints in complex web services
  • WSDL supports multiple endpoints by creating separate documents for each
  • WSDL uses a single default endpoint for all services
WSDL allows the definition of multiple service endpoints in the same document, providing flexibility in handling complex web services.

How does a stub differ from a mock in integration testing?

  • A mock is a complete, functional implementation of a component
  • A mock is only used in object-oriented programming
  • A stub is a simplified implementation of a component with fixed behavior
  • A stub is used for unit testing, while a mock is used for integration testing
In integration testing, a stub is a simplified version of a component with predetermined behavior, while a mock is a complete, functional implementation with expected behavior.