The approach where tests are written before the actual web service code is known as _______.

  • Agile Development
  • Behavior-Driven Development (BDD)
  • Test-Driven Development (TDD)
  • Waterfall Development
Test-Driven Development (TDD) is an approach where tests are written before writing the actual code, promoting a more testable and reliable codebase.

What metric in performance testing measures the number of requests a service can handle per second?

  • Concurrent Users
  • Latency
  • Response Time
  • Throughput
Throughput in performance testing measures the number of requests a service can handle per second, providing insight into system capacity.

When a web service experiences intermittent slowdowns, what aspect should be the focus of performance testing?

  • Latency
  • Reliability
  • Scalability
  • Throughput
Latency measures the time delay between the initiation and execution of a request. Addressing latency is crucial in resolving intermittent slowdowns.

_______ is essential in a web service to ensure different versions of the service can coexist without disruption.

  • Compression
  • Encryption
  • Scalability
  • Versioning
Versioning is crucial in web services to allow different versions to coexist, ensuring backward compatibility and a smooth transition for clients.

When a financial service provider uses a web service, what key compliance factor should be evaluated?

  • GDPR (General Data Protection Regulation)
  • HIPAA (Health Insurance Portability and Accountability Act)
  • PCI DSS (Payment Card Industry Data Security Standard)
  • SOX (Sarbanes-Oxley Act)
Financial service providers using web services should prioritize compliance with PCI DSS to secure payment card data.

Effective debugging often involves isolating the issue, which can be achieved by _______ parts of the service.

  • Containerizing
  • Logging
  • Mocking
  • Modularizing
Isolating the issue in debugging can be achieved by modularizing parts of the service.

In REST, the concept of _______ allows direct interaction with resources, unlike the action-oriented approach of _______.

  • CRUD
  • Hypermedia
  • Resourcefulness
  • Stateless
In REST, the concept of Hypermedia allows direct interaction with resources, unlike the action-oriented approach of CRUD (Create, Read, Update, Delete). Hypermedia in RESTful APIs enables clients to navigate the application state dynamically, improving flexibility and reducing the coupling between the client and server.

In preventing SQL Injection, the use of _______ over dynamic SQL is recommended.

  • Parameterized Statements
  • Stored Procedures
  • Triggers
  • Views
The use of parameterized statements is recommended over dynamic SQL to prevent SQL Injection attacks.

AWS S3 is commonly used for what purpose?

  • Content delivery network
  • Database management
  • Object storage
  • Virtual machines
AWS S3 (Simple Storage Service) is commonly used for object storage, providing scalable and durable storage for files and data.

AWS CloudFormation is used for _______ resources in AWS.

  • Deleting
  • Monitoring
  • Provisioning
  • Scaling
AWS CloudFormation is primarily used for provisioning and managing resources in AWS, allowing infrastructure to be defined as code.