What does CSS stand for?
- Cascading Style Sheets
- Colorful Style Sheets
- Computer Style Sheets
- Creative Style Sheets
CSS stands for Cascading Style Sheets. It is a style sheet language used for describing the look and formatting of a document written in HTML.
What is the difference between "git merge" and "git rebase"?
- Both commands have the same effect
- Merging preserves the commit history, while rebasing rewrites it
- Merging rewrites the commit history, while rebasing preserves it
- None of the above
The key difference is that "git merge" preserves the commit history by creating a new merge commit, while "git rebase" rewrites the commit history by applying the changes of one branch onto another. Rebase creates a linear, cleaner history but should be used with caution in shared branches.
What is a merge conflict in version control systems like Git?
- A conflict that arises when merging branches with conflicting changes
- A conflict that occurs during code review
- A situation where branches are automatically merged without issues
- A smooth integration of code changes
A merge conflict in Git happens when there are conflicting changes in the branches being merged. This occurs when changes in one branch cannot be automatically merged with the changes in another branch, requiring manual resolution.
You're designing a responsive website. Which CSS technique would you use to ensure the layout adjusts according to the screen size?
- Flexbox
- Floats
- Grid Layout
- Media Queries
Media Queries are used in CSS to apply different styles based on the characteristics of the device or screen. It's a key technique in creating responsive designs.
Which NoSQL database is designed for high availability and partition tolerance?
- Apache Cassandra
- CouchDB
- MongoDB
- Redis
Apache Cassandra is designed for high availability and partition tolerance, making it suitable for distributed and fault-tolerant systems. It follows the principles of the CAP theorem.
Which cloud platform provides services like Virtual Machines, App Services, and Blob Storage?
- Amazon Web Services (AWS)
- Google Cloud Platform (GCP)
- IBM Cloud
- Microsoft Azure
Microsoft Azure provides services like Virtual Machines, App Services, and Blob Storage. Azure is Microsoft's cloud computing platform, offering a range of services for building, deploying, and managing applications.
What is the primary function of Azure Blob Storage?
- Message Queue
- NoSQL Database
- Object Storage
- Relational Database
Azure Blob Storage is an object storage solution in Microsoft Azure. Its primary function is to store and manage unstructured data, such as documents, images, and videos. It provides scalable, secure storage with a simple HTTP/HTTPS interface.
You're working on a project that requires real-time data processing. Which cloud platform service would you recommend, and why?
- AWS Lambda
- Azure Stream Analytics
- Google Cloud Dataflow
- IBM Cloud Functions
For real-time data processing, Google Cloud Dataflow is a suitable choice. It allows for both batch and stream processing, making it versatile. It's fully managed, scalable, and integrates seamlessly with other Google Cloud services.
Explain the difference between query optimization in relational databases and NoSQL databases.
- NoSQL databases do not require query optimization since they are schema-less.
- Optimization in relational databases focuses on SQL queries and involves techniques like indexing and join strategies. NoSQL optimization varies based on the specific database type (e.g., document, key-value, graph), often emphasizing distributed and horizontal scaling.
- Optimization strategies are similar, emphasizing efficient indexing and join operations in both relational and NoSQL databases.
- Query optimization is irrelevant in NoSQL databases as they are designed to handle unstructured data without optimization.
Query optimization in relational databases involves SQL-specific techniques, while NoSQL optimization is context-dependent on the type of NoSQL database used.
Your organization has experienced a data breach. Outline the steps you would take to respond and recover from the incident.
- All of the above
- Conduct a forensic investigation
- Identify and contain the breach
- Notify affected parties and regulatory bodies
Responding to a data breach involves a comprehensive approach. Identifying and containing the breach, notifying affected parties, regulatory bodies, and conducting a forensic investigation are critical steps to minimize damage and prevent future incidents.
The HTML tag is used to represent _______ text.
- Bold
- Highlighted
- Italic
- Underlined
The HTML tag is used to represent bold text. It makes the enclosed text appear bold in the browser.
_______ is known for its speed and event-driven architecture, making it suitable for building real-time applications and APIs.
- Django
- Flask
- Node.js
- Ruby on Rails
Node.js is known for its speed and event-driven architecture, making it suitable for building real-time applications and APIs. It uses JavaScript on the server side.