QUESTION 24Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.After you answer a question in this sections, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.You are building a security tracking solution in Apache Kafka to parse security logs. The security logs record an entry each time a user attempts to access an application. Each log entry contains the IP address used to make the attempt and the country from which the attempt originated.You need to receive notifications when an IP address from outside of the United States is used to access the application.Solution: Create a consumer and a broker. Create a file import process to send messages.Run the producer.Does this meet the goal?

A. YesB. No

Answer: B

QUESTION 25You have an Apache Spark cluster in Azure HDInsight.You plan to join a large table and a lookup table.You need to minimize data transfers during the join operation.What should you do?

A. Use the reduceByKey function.B. Use a Broadcast variable.C. Repartition the data.D. Use the DISK_ONLY storage level.

QUESTION 26Note: This question is part of a series of questions that use the same scenario. For your convenience, the scenario is repeated in each question. Each question presents a different goal and answer choices, but the text of the scenario is exactly the same in each question in this series.You have an initial dataset that contains the crime data from major cities.You plan to build training models from the training data. You plan to automate the process of adding more data to the training models and to constantly tune the models by using the additional data, including data that is collected in near real-time. The system will be used to analyze event data gathered from many different sources, such as Internet of Things (IoT) devices, live video surveillance, and traffic activities, and to generate predictions of an increased crime risk at a particular time and place.You have an incoming data stream from Twitter and an incoming data stream from Facebook, which are event-based only, rather than time-based. You also have a time interval stream every 10 seconds.The data is in a key/value pair format. The value field represents a number that defines how many times a hashtag occurs within a Facebook post, or how many times a Tweet that contains a specific hashtag is retweeted.You must use the appropriate data storage, stream analytics techniques, and Azure HDInsight cluster types for the various tasks associated to the processing pipeline.You plan to consolidate all of the streams into a single timeline, even though none of the streams report events at the same interval.You need to aggregate the data from the feeds to alight with the time interval stream. The result must be the sum of all the values for each key within a 10 second interval, with the keys being the hashtags.Which function should you use?