In optimistic concurrency control, transactions are not blocked when they access data concurrently, but rather, conflicts are detected during the _______ phase.

  • Commit
  • Execution
  • Rollback
  • Validation
In optimistic concurrency control, transactions are not blocked during access; instead, conflicts are detected during the validation phase. During validation, the system checks whether the transactions can be committed without violating data consistency and integrity.

What is the role of a viewport in responsive design?

  • It controls the colors and fonts of a web page
  • It defines the visible area of a web page
  • It determines the server response time of a web page
  • It manages the back-end logic of a web page
The viewport in responsive design defines the visible area of a web page on a device's screen. It allows developers to control how the content is scaled and displayed, ensuring optimal viewing and user experience across different devices.

Which HTTP header is commonly used to control caching in a browser?

  • Authorization
  • Cache-Control
  • Content-Type
  • User-Agent
The Cache-Control HTTP header is commonly used to control caching in a browser. It specifies caching directives that instruct whether and how the content should be cached.