_______ is a mechanism by which one class inherits the properties and behavior of another class in OOP.

  • Abstraction
  • Encapsulation
  • Inheritance
  • Polymorphism
Inheritance is a mechanism by which one class inherits the properties and behavior of another class in OOP. It promotes code reuse and establishes a relationship between classes, facilitating the creation of a hierarchy.

One of the main benefits of CI/CD is _______ feedback loop for developers.

  • Faster
  • Longer
  • Manual
  • Predictable
One of the primary benefits of CI/CD is a faster feedback loop for developers. With automated testing and continuous integration, developers receive prompt feedback on their code changes, enabling quick identification and resolution of issues.

You're designing a system that needs to handle massive amounts of write operations with low latency. Which NoSQL database would be the most suitable choice and why?

  • Amazon DynamoDB
  • Apache Cassandra
  • Couchbase
  • HBase
Apache Cassandra is a highly scalable NoSQL database designed for handling massive write operations with low latency. It is a distributed and decentralized system that excels in write-intensive workloads.

You notice that the website you designed is not rendering properly on a particular mobile device. How would you troubleshoot and resolve this issue?

  • Check CSS media queries for compatibility
  • Ensure proper meta tags for responsiveness
  • Examine viewport settings in the HTML
  • Use browser developer tools for inspection
Utilizing browser developer tools allows inspection and debugging, helping identify and address rendering issues on specific devices.

In OAuth 2.0, the _______ grant type is commonly used for server-to-server communication.

  • Authorization Code
  • Client Credentials
  • Implicit
  • Resource Owner Password Credentials
In OAuth 2.0, the Client Credentials grant type is commonly used for server-to-server communication. It allows a client to request an access token using its client credentials.

In a complex application, you have different algorithms for processing data, and you want to be able to switch between them dynamically. Which design pattern would you use to accomplish this?

  • Command
  • State
  • Strategy
  • Template Method
The Strategy pattern is suitable for situations where you have multiple algorithms and want to be able to switch between them dynamically. It defines a family of algorithms, encapsulates each one, and makes them interchangeable. This allows the client to choose the appropriate algorithm at runtime.

In SQL, the SELECT statement is used to _______ data from a database.

  • Delete
  • Insert
  • Retrieve
  • Update
In SQL, the SELECT statement is used to retrieve or fetch data from a database. It allows you to specify the columns you want to retrieve and apply conditions to filter the data.

The "Timeline" tab in Browser Developer Tools provides insights into the _______ of web page rendering.

  • Code structure
  • Network requests
  • Performance and timing
  • Security issues
The "Timeline" tab in Browser Developer Tools provides insights into the performance and timing of web page rendering. It helps developers identify bottlenecks and optimize the loading and rendering process.

In a project, you need to embed a YouTube video. Which HTML element would you use for this purpose?