In Docker, a _______ defines the environment in which a container runs, including base image, dependencies, and commands to run.

  • Blueprint
  • Configuration
  • Dockerfile
  • Manifest
In Docker, a Dockerfile defines the environment in which a container runs. It specifies the base image, dependencies, and commands needed to create the container.

In NoSQL databases, what does "CAP theorem" stand for, and what does it imply?

  • CAP stands for Capacity, Availability, Performance
  • CAP stands for Concurrency, Atomicity, Persistence
  • CAP stands for Configuration, Authentication, Portability
  • CAP stands for Consistency, Availability, Partition Tolerance
The CAP theorem in NoSQL databases stands for Consistency, Availability, and Partition Tolerance. It implies that in the presence of a network partition, a distributed system must choose between consistency and availability.

TDD encourages developers to write _______ tests to cover different aspects of the software.

  • Acceptance
  • Integration
  • System
  • Unit
TDD encourages developers to write Integration tests to cover different aspects of the software. Integration tests ensure that different components or modules work together as expected when integrated into a complete system.

The command "git pull" is equivalent to "git fetch" followed by _______.

  • git branch
  • git commit
  • git merge
  • git push
The command "git pull" is equivalent to "git fetch" followed by git merge. This combination fetches changes from the remote repository and merges them into the current branch. It helps in keeping your local branch up-to-date with the remote branch.

What is the main difference between Docker and Kubernetes?

  • Docker is a containerization platform, while Kubernetes is a container orchestration platform.
  • Docker is only for development purposes, while Kubernetes is for production environments.
  • Docker is open-source, while Kubernetes is proprietary.
  • Docker manages individual containers, while Kubernetes manages clusters of containers.
The main difference between Docker and Kubernetes lies in their functionalities. Docker is primarily a containerization platform, used to package and run applications in isolated environments called containers. On the other hand, Kubernetes is a container orchestration platform that automates the deployment, scaling, and management of containerized applications. While Docker manages individual containers, Kubernetes manages clusters of containers, offering features like load balancing, auto-scaling, and self-healing.

What is the difference between structured and unstructured logging?

  • Structured logging is only suitable for large-scale applications, while unstructured logging is more flexible for small projects.
  • Structured logging is suitable for backend systems, while unstructured logging is preferred for frontend development.
  • Structured logging provides well-defined formats for log entries, making them machine-readable and easily searchable. Unstructured logging, on the other hand, lacks a predefined format, making it harder to analyze automatically.
  • Structured logging uses a hierarchical format, while unstructured logging uses a flat format.
Structured logging introduces a consistent format to log entries, aiding in automated analysis and troubleshooting. Unstructured logging, by contrast, lacks a standardized format, making it less suitable for automated processing.

Which server-side language is known for its simplicity and readability, often used for web development alongside frameworks like Django and Flask?

  • Java
  • PHP
  • Python
  • Ruby
Python is known for its simplicity and readability, making it a popular choice for server-side web development. It is often used with frameworks like Django and Flask.

RESTful APIs follow the principle of _______ over configuration.

  • Configuration
  • Convention
  • Simplicity
  • Standardization
RESTful APIs follow the principle of Convention over Configuration (CoC). This means that developers only need to specify unconventional aspects of the application. Conventions are predefined rules that simplify development and promote consistency.

In logging, _______ is the process of collecting, storing, and analyzing log data.

  • Log Aggregation
  • Log Analysis
  • Log Compression
  • Log Parsing
In logging, log aggregation is the process of collecting, storing, and analyzing log data from various sources. It helps in centralizing logs for easier management and analysis, providing insights into system performance and issues.

In the "Elements" tab of Browser Developer Tools, what does the "Computed" panel display?

  • Computed styles for the selected element
  • Server-side computed values
  • Styles applied by user scripts
  • Upcoming changes to the DOM
The "Computed" panel in the "Elements" tab of Browser Developer Tools displays the computed styles for the selected HTML element. It shows the final styles applied, considering all CSS rules and inheritance.