Frequently asked questions and answers of Streaming Data in the Cloud (Kinesis, Pub/Sub) in Cloud Computing of Computer Science to enhance your skills, knowledge on the selected topic. We have compiled the best Streaming Data in the Cloud (Kinesis, Pub/Sub) Interview question and answer, trivia quiz, mcq questions, viva question, quizzes to prepare. Download Streaming Data in the Cloud (Kinesis, Pub/Sub) FAQs in PDF form online for academic course, jobs preparations and for certification exams .
Intervew Quizz is an online portal with frequently asked interview, viva and trivia questions and answers on various subjects, topics of kids, school, engineering students, medical aspirants, business management academics and software professionals.
Question-1. What is streaming data?
Answer-1: Streaming data is data that is continuously generated by different sources and delivered in real-time for processing.
Question-2. What is AWS Kinesis?
Answer-2: AWS Kinesis is a platform for real-time data streaming that enables you to ingest, process, and analyze streaming data.
Question-3. What is Google Pub/Sub?
Answer-3: Google Pub/Sub is a messaging service for real-time event ingestion and delivery.
Question-4. What are common use cases of streaming data?
Answer-4: Real-time analytics, log monitoring, fraud detection, sensor data processing, and recommendation engines.
Question-5. How does Kinesis Data Stream work?
Answer-5: It ingests data from producers and distributes it to consumers (applications) for processing.
Question-6. How does Google Pub/Sub work?
Answer-6: It uses a publish-subscribe model where publishers send messages to topics and subscribers receive them asynchronously.
Question-7. What is the difference between Kinesis and Pub/Sub?
Answer-7: Kinesis is more tightly integrated with the AWS ecosystem; Pub/Sub is native to Google Cloud and optimized for large-scale messaging.
Question-8. What are shards in Kinesis?
Answer-8: Shards are units of capacity in Kinesis data streams that determine how much data you can ingest and process.
Question-9. What are topics in Pub/Sub?
Answer-9: Topics are named resources to which messages are sent by publishers in Google Pub/Sub.
Question-10. What is a Kinesis consumer?
Answer-10: A Kinesis consumer is an application that reads and processes records from a data stream.
Question-11. What is a Pub/Sub subscriber?
Answer-11: A Pub/Sub subscriber is a client that receives messages from a topic.
Question-12. Can you integrate Kinesis with Lambda?
Answer-12: Yes, AWS Lambda can process events from Kinesis streams automatically.
Question-13. Can you integrate Pub/Sub with Cloud Functions?
Answer-13: Yes, Google Cloud Functions can be triggered by messages published to a Pub/Sub topic.
Question-14. What are retention periods in Kinesis?
Answer-14: By default, Kinesis retains records for 24 hours, extendable up to 7 days.
Question-15. What is the retention duration in Google Pub/Sub?
Answer-15: Messages are retained for 7 days by default if not acknowledged.
Question-16. What is fan-out in Pub/Sub?
Answer-16: Fan-out refers to sending one message to multiple subscribers of a topic.
Question-17. How does Kinesis handle backpressure?
Answer-17: Kinesis buffers data in shards and throttles based on provisioned throughput.
Question-18. How does Pub/Sub handle message retries?
Answer-18: Pub/Sub automatically retries delivery until the message is acknowledged or the retention period expires.
Question-19. What is Kinesis Data Firehose?
Answer-19: A fully managed service that delivers real-time streaming data to destinations like S3, Redshift, or Elasticsearch.
Question-20. What is Kinesis Data Analytics?
Answer-20: A service to analyze streaming data using standard SQL in real-time.
Question-21. What is Pub/Sub Lite?
Answer-21: A low-cost version of Google Pub/Sub designed for high-throughput streaming.
Question-22. What is message ordering in Pub/Sub?
Answer-22: Pub/Sub supports ordering by using ordering keys so that related messages are delivered in order.
Question-23. Does Kinesis guarantee ordering?
Answer-23: Yes, within a single shard, Kinesis guarantees record ordering.
Question-24. Can Pub/Sub filter messages?
Answer-24: Yes, Pub/Sub supports message filtering based on attributes.
Question-25. Can Kinesis filter messages?
Answer-25: No, Kinesis itself does not support filtering; you implement it in consumers.
Question-26. What is a producer in streaming data systems?
Answer-26: A component that sends (publishes) data to a streaming service like Kinesis or Pub/Sub.
Question-27. What is a consumer in streaming data systems?
Answer-27: A component or application that reads and processes streaming data.
Question-28. What are data records in Kinesis?
Answer-28: The units of data stored and transferred through a Kinesis stream.
Question-29. What is batching in Pub/Sub?
Answer-29: The process of grouping multiple messages into a single delivery to increase efficiency.
Question-30. Does Kinesis support batching?
Answer-30: Yes, producers can batch multiple records before sending them to the stream.
Question-31. How does Kinesis scale?
Answer-31: By adding more shards to a data stream.
Question-32. How does Pub/Sub scale?
Answer-32: It scales automatically based on message throughput and topic load.
Question-33. What are dead-letter topics in Pub/Sub?
Answer-33: Topics that store messages that could not be delivered after a maximum number of retries.
Question-34. How can you secure streaming data?
Answer-34: Using encryption, IAM roles, VPC configurations, and access policies.
Question-35. Does Kinesis encrypt data?
Answer-35: Yes, data can be encrypted using AWS KMS.
Question-36. Does Pub/Sub support encryption?
Answer-36: Yes, it encrypts messages at rest and in transit with Google-managed or customer-managed keys.
Question-37. How does monitoring work in Kinesis?
Answer-37: Via Amazon CloudWatch metrics like incoming records, iterator age, and throughput.
Question-38. How does monitoring work in Pub/Sub?
Answer-38: Via Google Cloud Monitoring, showing message rates, acknowledgment latency, and errors.
Question-39. What is delivery acknowledgment?
Answer-39: The process of confirming that a message has been received and processed successfully.
Question-40. How does Pub/Sub handle acknowledgment?
Answer-40: Subscribers must explicitly acknowledge each message to prevent re-delivery.
Question-41. Does Kinesis require acknowledgment?
Answer-41: No, Kinesis does not use acknowledgment, but consumers track their own read positions.
Question-42. What languages are supported for Kinesis clients?
Answer-42: AWS SDKs for Java, Python, Node.js, and others support Kinesis.
Question-43. What languages are supported for Pub/Sub clients?
Answer-43: Client libraries for Java, Python, Go, Node.js, and more.
Question-44. Can you process streaming data with Apache Beam?
Answer-44: Yes, Apache Beam can be used with Kinesis and Pub/Sub via Dataflow.
Question-45. What is Kinesis Agent?
Answer-45: A standalone Java application for continuously collecting and sending data to Kinesis streams.
Question-46. What is message duplication in streaming?
Answer-46: The occurrence of the same message being delivered more than once.
Question-47. Does Pub/Sub support exactly-once delivery?
Answer-47: Yes, with proper configuration including enabling message ordering and acknowledgment.
Question-48. Does Kinesis support exactly-once processing?
Answer-48: Not directly; you need to design idempotent consumers for that.
Question-49. What are common challenges in streaming data systems?
Answer-49: Handling message duplication, ordering, latency, and scaling efficiently.
Question-50. What?s the benefit of cloud-based streaming platforms?
Answer-50: Managed scalability, integration with cloud services, real-time insights, and reduced infrastructure complexity.
Frequently Asked Question and Answer on Streaming Data in the Cloud (Kinesis, Pub/Sub)
Streaming Data in the Cloud (Kinesis, Pub/Sub) Interview Questions and Answers in PDF form Online
Streaming Data in the Cloud (Kinesis, Pub/Sub) Questions with Answers
Streaming Data in the Cloud (Kinesis, Pub/Sub) Trivia MCQ Quiz