1. Online Avro Quiz
So, after learning all the Apache Avro articles, now you are ready to face the Avro Quiz Challenge. This Avro Quiz contains multiple choice questions with their answers. Moreover, you can test yourself by this free online Avro Quiz and prepare yourself for upcoming Avro Interviews. Answer all the question and follow each link of Avro Quiz to get more deep knowledge of Apache Avro.
So, let’s see Top Avro Quiz Questions.
Que 1. Avro schemas are defined with _____.
JSON implementation facilitates implementation in languages that already have JSON libraries. Follow the link to know more about Avro Schema
Que 2. Point out the correct statement.
Avro differs from these systems in the fundamental aspects like untagged data. Follow the link to know more about Avro
Que 3. __________ facilitates construction of generic data-processing systems and languages.
Avro does not require that code be generated. Follow the link to know more about Avro
Que 4. With ______ we can store data and read it easily with various programming languages.
Avro is optimized to minimize the disk space needed by our data and it is flexible. Follow the link for Avro Tutorial
Que 5. Point out the wrong statement :
Code generation is not required to read or write data files nor to use or implement RPC protocols in Avro. Avro Serialization
Que 6. ________ are a way of encoding structured data in an efficient yet extensible format.
Google uses Protocol Buffers for almost all of its internal RPC protocols and file formats. Avro Tutorial
Que 7. Thrift resolves possible conflicts through _________ of the field.
Avro resolves possible conflicts through the name of the field. Avro Tutorial
Que 8. Avro is said to be the future _______ layer of Hadoop.
When Avro is used in RPC, the client and server exchange schemas in the connection handshake. Follow the link for Hadoop Serialization
Que 9. When using reflection to automatically build our schemas without code generation, we need to configure Avro using :
For strongly typed languages like Java, it also provides a generation code layer, including RPC services code generation. Follow the link for Avro Tutorial
Que 10. We can declare the schema of our data either in a ______ file.
Schema can be declared using an IDL or simply through Java beans by using reflection-based schema building. Follow the link to learn more about Avro Schema
Que 11. Which of the following is a primitive data type in Avro ?
Primitive type names are also defined type names. Follow the link for Avro Tutorial
Que 12. Point out the correct statement :
A record is encoded by encoding the values of its fields in the order that they are declared. Follow the link for Avro Tutorial
Que 13. Avro supports ______ kinds of complex types.
Avro supports six kinds of complex types: records, enums, arrays, maps, unions and fixed. Avro Tutorial
Que 14.________ are encoded as a series of blocks.
Each block of array consists of a long count value, followed by that many array items. A block with count zero indicates the end of the array. Each item is encoded per the array’s item schema. Follow the link to learn about Avro Schema
Que 15. Point out the wrong statement :
Unions may not immediately contain other unions. Avro Tutorial
Que 16. ________ instances are encoded using the number of bytes declared in the schema.
Except for unions, the JSON encoding is the same as is used to encode field default values. Follow the link to learn more about Avro Schema
Que 17. ________ permits data written by one system to be efficiently sorted by another system.
Avro binary-encoded data can be efficiently ordered without deserializing it to objects. Avro Tutorial
Que 18. _____________ are used between blocks to permit efficient splitting of files for MapReduce processing.
Avro includes a simple object container file format. Avro Reference API
Que 19. The __________ codec uses Google’s Snappy compression library.
Snappy is a compression library developed at Google, and, like many technologies that come from Google, Snappy was designed to be fast. Avro Tutorial
Que 20. Avro messages are framed as a list of _________
Framing is a layer between messages and the transport. It exists to optimize certain operations. Avro Tutorial