Which principle suggests that infrastructure changes should be reversible?

  • Consistency
  • Idempotency
  • Immutability
  • Reversibility
The principle of reversibility suggests that infrastructure changes should be reversible. This means that any changes made to the infrastructure can be rolled back, providing a safety net in case of errors or unexpected issues.

_______ logging refers to the practice of correlating log entries from different services or components to trace a request's path through a distributed system.

  • Aggregated
  • Centralized
  • Cross-cutting
  • Distributed
Distributed logging refers to the practice of correlating log entries from different services or components to trace a request's path through a distributed system. It is crucial for debugging and understanding the flow of requests in complex, interconnected systems.

A common branching strategy where developers create a new branch for each new feature is called _______.

  • Feature Branching
  • Hotfix Branching
  • Master Branching
  • Release Branching
Feature Branching is a common branching strategy where developers create a new branch for each new feature they are working on. This approach helps in isolating changes related to a specific feature and facilitates parallel development.

You're tasked with optimizing a database query that takes a long time to execute. What strategies would you employ to improve its performance?

  • Increase database server memory
  • Index the relevant columns
  • Normalize the database schema
  • Utilize caching mechanisms
Indexing the relevant columns is a key strategy for optimizing database queries. It helps speed up data retrieval by creating efficient access paths to the required information, reducing query execution time.

In Agile methodology, what is the primary focus of the sprint retrospective?

  • Continuous Improvement
  • Daily Standup
  • Product Backlog Refinement
  • Sprint Planning
The primary focus of the sprint retrospective in Agile methodology is continuous improvement. It provides a dedicated time for the team to reflect on the just-concluded sprint, identify what went well, what could be improved, and collaboratively implement changes for the next sprint.

You're tasked with implementing a many-to-many relationship between two tables in a database. How would you achieve this using SQL?

  • Create a Junction Table
  • Use Foreign Keys and Triggers
  • Implement Subqueries
  • Utilize Views and Stored Procedures
To implement a many-to-many relationship in a database, creating a Junction Table is a common approach. This involves creating a separate table to represent the relationship between the two entities. The correct option suggests using a Junction Table.

When considering data migration, what is the significance of data mapping?

  • Defining migration tools
  • Estimating migration time
  • Matching source and target data structures
  • Verifying data integrity
Data mapping in data migration is significant for matching source and target data structures. It involves defining how data from the source system maps to the target system, ensuring a smooth and accurate migration process.

In Git, a merge conflict occurs when two branches have made changes to the _______ lines of code in a file.

  • Different
  • Important
  • Same
  • Specific
A merge conflict in Git arises when two branches have made changes to the same lines of code in a file. Git cannot automatically merge these changes, requiring manual resolution.

Which of the following elements is used to define a table row in HTML?