What is the purpose of the "git merge" command?

  • Combine changes from different branches
  • Create a new branch
  • Delete a branch
  • Rename a branch
The "git merge" command in Git is used to combine changes from different branches. It integrates changes from the specified branch into the current branch, enabling collaboration and code integration in a Git repository.

Using strong _______ is important for securing user passwords.

  • Authentication
  • Encryption
  • Firewall
  • Hashing
Using strong hashing is important for securing user passwords. Hashing involves converting passwords into a fixed-length string of characters, making it challenging for attackers to reverse the process and obtain the original password.

In backup strategies, what does the term "recovery point objective (RPO)" refer to?

  • Data transfer speed
  • Frequency of backups
  • Maximum data loss acceptable
  • Time taken to restore data
The "Recovery Point Objective (RPO)" in backup strategies refers to the maximum acceptable amount of data loss that an organization is willing to tolerate. It defines the point in time to which data must be recovered after an outage or loss.

What does the HTML
element represent?

  • Data
  • Description
  • Division
  • Document
The

element in HTML represents a division or a section in an HTML document. It is a block-level container that is used to group related elements together and style them with CSS.

In Docker, a _______ is a lightweight, standalone, executable package that includes everything needed to run a piece of software, including the code, runtime, libraries, environment variables, and configuration files.

  • Container
  • Image
  • Repository
  • Virtual Machine
In Docker, an "Image" is a lightweight, standalone, executable package that includes all the necessary components to run a piece of software. It serves as a blueprint for creating containers.

What is the difference between inline-block and block display properties in CSS?

  • Inline elements flow in a line, and only take as much width as necessary. Block elements start on a new line and take the full width available.
  • Inline-block elements combine the features of both inline and block elements. They flow in a line and can have a width set.
  • Block elements are used for inline-level content, while inline-block elements are used for block-level content.
  • Inline elements are used for block-level content, while block elements are used for inline-level content.
The correct option explains that inline-block elements combine features of both inline and block elements, allowing them to flow in a line and have a set width.

In TDD, a test double that replaces a component or system that the test subject depends on is called a _______.

  • Fake
  • Mock
  • Spy
  • Stub
In Test-Driven Development (TDD), a test double that replaces a component or system is called a Mock. Mock objects simulate the behavior of real objects in a controlled way during testing. They help isolate the unit under test.

What is a Pod in the context of Kubernetes?

  • A Pod is a group of containers that share networking and storage resources.
  • A Pod is a node in a Kubernetes cluster responsible for scheduling containers.
  • A Pod is a single container that encapsulates an application and its dependencies.
  • A Pod is a virtual machine instance in a Kubernetes cluster.
In the context of Kubernetes, a Pod is the smallest deployable unit. It represents a group of one or more containers that share networking and storage resources, such as IP address and filesystem. Pods are the basic building blocks of Kubernetes applications and serve as the logical host for containers. They enable co-located, tightly-coupled containers to work together as a single application.

Suppose you're designing a database for an e-commerce platform with millions of products. How would you approach schema design and indexing to optimize search queries?

  • Create composite indexes
  • Implement full-text search indexes
  • Use denormalized schemas
  • Utilize NoSQL databases
Implementing full-text search indexes is a key strategy for optimizing search queries in a database with millions of products. This allows for efficient and quick searching through large amounts of textual data.

What does the title attribute do in HTML?

  • Adds a tooltip to an element
  • Defines the title of a web page
  • Provides additional information about an element
  • Specifies the alignment of the content within a table cell
The title attribute in HTML is used to define the title of a web page. It is typically displayed in the browser's title bar or tab.