The _______ command is used to view the commit history in Git.

  • git branch
  • git diff
  • git log
  • git status
The git log command is used to view the commit history in Git. It displays a chronological list of commits, showing details such as commit messages, author, date, and commit SHA.

The "P" in ACID stands for _______.

  • Persistence
  • Processing
  • Properties
  • Protection
In ACID (Atomicity, Consistency, Isolation, Durability), the "P" stands for Persistence. It ensures that once a transaction is committed, its effects are permanent and survive subsequent system failures.

What is idempotency in the context of Infrastructure as Code?

  • A strategy for load balancing in cloud environments
  • Ensures that applying the same configuration multiple times produces the same result as applying it once
  • Refers to the speed at which infrastructure changes are deployed
  • The ability to scale infrastructure horizontally
Idempotency ensures that applying the same configuration multiple times produces the same result as applying it once. In Infrastructure as Code (IaC), this is crucial to maintaining consistency and avoiding unintended consequences.

What does the HTML
element represent?

  • Defines a division or a section in an HTML document
  • Defines a link
  • Defines a table
  • Defines an image
The

element in HTML represents a division or a section in an HTML document. It is a block-level container that can be used to group content for styling purposes or to create layout structures.

The _______ pattern is commonly used for centralized log aggregation in cloud-native environments.

  • Adapter
  • Facade
  • Observer
  • Sidecar
The Sidecar pattern is commonly used for centralized log aggregation in cloud-native environments. In this pattern, a separate process or container (the sidecar) is responsible for collecting and forwarding logs, allowing for better scalability and independence of logging concerns.

The process of automatically deploying changes to a staging environment for testing is known as Continuous _______.

  • Delivery
  • Deployment
  • Integration
  • Testing
The process of automatically deploying changes to a staging environment for testing is known as Continuous Deployment. It ensures that the changes are thoroughly tested in a controlled environment before being released to production.

You're designing a new database system for a social media platform that requires high availability and scalability. Would you choose SQL or NoSQL, and why?

  • Both SQL and NoSQL
  • It depends on the specific requirements
  • NoSQL
  • SQL
For a social media platform with high availability and scalability needs, NoSQL databases are often preferred. They offer horizontal scalability and flexibility in handling diverse data types commonly found in social media applications.

How does containerization help in the deployment process?

  • All of the above
  • Consistency
  • Isolation
  • Portability
Containerization helps in the deployment process by ensuring consistency across different environments, providing isolation for applications, and offering portability, allowing containers to run consistently across various systems.

What role does Docker play in CI/CD pipelines?

  • Cloud Computing
  • Containerization
  • Version Control
  • Virtualization
Docker plays the role of containerization in CI/CD pipelines. It allows packaging applications and their dependencies into containers, ensuring consistency across different environments. This simplifies deployment, improves scalability, and enhances the reproducibility of the entire process.

_______ is a technique used to store copies of frequently accessed data in a faster storage location to improve access times.

  • Caching
  • Fragmentation
  • Indexing
  • Serialization
Caching is a technique that involves storing copies of frequently accessed data in a faster storage location, such as memory or a dedicated cache. This helps improve access times and overall system performance.