Category: AG Quiz


  • This is a regular “data quiz”. Follow it on LinkedIn. Test your knowledge or learn something new. Today Question: Which format is binary and compressed? A) JSON  B) CSV  C) Avro  D) XML Correct Answer: C Explanation Avro is a binary data format designed for efficient storage and transfer. It supports compression and schema evolution, allowing changes to the data structure without breaking existing files. Unlike…

  • his is a regular “data quiz”. Follow it on LinkedIn. Test your knowledge or learn something new. Today Question: In Python, @staticmethod is used to: A) Decorate  B) Call without instance  C) Privatize  D) Inherit Correct Answer: B Explanation @staticmethod marks a class method that can be called without creating an instance. It does not receive self or class and is isolated from object or class state. It…

  • his is a regular “data quiz”. Follow it on LinkedIn. Test your knowledge or learn something new. Today Question: Which library is used for stream processing in Spark? A) SparkSQL  B) SparkStreaming  C) MLlib  D) GraphX Correct Answer: B Explanation Spark Streaming is the Apache Spark library for real-time stream processing. It supports data streams from Kafka, Flume, sockets, and other sources, and provides APIs through DStreams or Structured…

  • This is a regular “data quiz”. Follow it on LinkedIn. Test your knowledge or learn something new. Today Question: “Lazy evaluation” in Spark means: A) Immediate execution  B) Execution only when an action is triggered  C) Batch processing  D) Stream processing Correct Answer: B Explanation Lazy evaluation in Apache Spark means that transformations on RDDs or DataFrames are not executed immediately. They are evaluated only when an action like count(), collect(), or save() is…

  • This is a regular “data quiz”. Follow it on LinkedIn. Test your knowledge or learn something new. Today Question: A Spark DataFrame is processed? A) In RAM  B) In a database  C) On disk  D) In a browser Correct Answer: A Explanation A Spark DataFrame is a data abstraction in Apache Spark that processes data in memory for faster operations on large datasets. Spark distributes data across cluster nodes and executes…

  • This is a regular “data quiz”. Follow it on LinkedIn. Test your knowledge or learn something new. Today Question: Which command loads a CSV into a DataFrame? A) pd.open()  B) pd.read_csv()  C) pd.load()  D) pd.get_csv() Correct Answer: B Explanation The pd.read_csv() command in pandas loads a CSV file into a DataFrame, a table-like data structure. It supports parameters for delimiters, encoding, indexes, column types, and handling missing values.…

  • This is a regular “data quiz”. Follow it on LinkedIn. Test your knowledge or learn something new. Today Question: In Python, the pandas library is used for: A) Web scraping  B) DataFrames  C) Machine learning  D) API calls Correct Answer: B Explanation Pandas is a Python library for data manipulation and analysis using DataFrames. It provides tools for reading and writing data from CSV, Excel, SQL databases, filtering, aggregation, transformation, and…

  • This is a regular “data quiz”. Follow it on LinkedIn. Test your knowledge or learn something new. Today Question: Which of these services is a data warehouse? A) Athena  B) Redshift  C) S3  D) Glue Correct Answer: B Explanation Amazon Redshift is a fully managed cloud data warehouse optimized for analytical queries on large datasets. It supports complex SQL queries, BI integrations, and analytics pipelines. Athena is a…

  • This is a regular “data quiz”. Follow it on LinkedIn. Test your knowledge or learn something new. Today Question: Which tool monitors cloud metrics? A) CloudWatch  B) Grafana  C) Prometheus  D) All Correct Answer: D Explanation Cloud metrics can be monitored using several tools. AWS CloudWatch provides metrics and logs for AWS services with alarms and automated actions. Grafana is a visualization platform often used…

  • This is a regular “data quiz”. Follow it on LinkedIn. Test your knowledge or learn something new. Today Question: Which property guarantees long-term data persistence in the cloud? A) Durability  B) Availability C) Scalability D) Elasticity Correct Answer: A Explanation Durability in the cloud refers to the system’s ability to preserve data without loss even in the event of hardware failures, network outages, or other incidents. Cloud providers achieve…