Which term refers to the practice of automatically scaling infrastructure based on demand?

  • Auto Scaling
  • Elasticity
  • High Availability
  • Load Balancing
Elasticity refers to the practice of automatically scaling infrastructure based on demand. It allows resources to dynamically expand or contract to handle varying workloads, ensuring optimal performance and resource utilization.

How can you simulate different device resolutions in Browser Developer Tools?

  • Adjusting the browser window size
  • Installing a browser extension
  • Modifying the HTML code
  • Using the "Responsive Design" mode
Simulating different device resolutions is achieved through the "Responsive Design" mode in Browser Developer Tools. It allows developers to preview how a website looks on various devices.

Which JavaScript framework is often preferred for its lightweight nature and progressive enhancement approach?

  • Backbone.js
  • Ember.js
  • Node.js
  • jQuery
Backbone.js is often preferred for its lightweight nature and progressive enhancement approach. It provides structure to web applications and is suitable for smaller projects.

One of the methods to prevent deadlocks is _______ where transactions are rolled back and restarted in a different order.

  • Backtracking
  • Restart
  • Rollback
  • Timeout
One of the methods to prevent deadlocks is restarting transactions, where transactions involved in a potential deadlock are rolled back and restarted in a different order. This helps break the cycle of dependencies that lead to deadlocks.

Continuous _______ (CI) is a practice supported by collaboration tools, where code changes are automatically tested and integrated into the main codebase.

  • Improvement
  • Inspection
  • Integration
  • Iteration
Continuous Integration (CI) is a practice where code changes are automatically tested and integrated into the main codebase. It supports collaboration tools to ensure a smooth and continuous development process.

The practice of writing only enough code to pass the existing tests is known as _______.

  • Agile Coding
  • Incremental Development
  • Minimal Viable Product (MVP)
  • Red-Green-Refactor
The practice of writing only enough code to pass the existing tests in TDD is known as Red-Green-Refactor. It involves writing a failing test (Red), making the test pass by writing the minimum code (Green), and then refactoring the code without changing its behavior.

How can you include CSS in your HTML document?

  • External, Internal, Embed
  • External, Internal, Inline
  • Import, External, Inline
  • Import, Internal, Inline
CSS can be included in an HTML document using External, Internal, and Inline methods. External uses a separate CSS file, Internal uses the