Challenge - 5 Problems
Cloud Migration Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate2:00remaining
Key advantage of cloud-native over Hadoop
Which of the following is the main advantage of migrating from Hadoop to a cloud-native data platform?
Attempts:
2 left
💡 Hint
Think about how cloud platforms handle resources compared to traditional Hadoop clusters.
✗ Incorrect
Cloud-native platforms offer automatic scaling and managed services, which reduce the need for manual cluster management, unlike Hadoop which requires manual setup and maintenance.
❓ data_output
intermediate2:00remaining
Output of data migration script
Given the following Python pseudocode for migrating data from HDFS to cloud storage, what will be the output summary?
Hadoop
files = ['file1.csv', 'file2.csv', 'file3.csv'] migrated = [] for f in files: if f.endswith('.csv'): migrated.append(f) print(f'Migrated {len(migrated)} files: {migrated}')
Attempts:
2 left
💡 Hint
Check which files end with '.csv' in the list.
✗ Incorrect
All three files end with '.csv', so all are appended to the migrated list, resulting in 3 files migrated.
🔧 Debug
advanced2:00remaining
Identify error in cloud migration script
What error will the following Python code raise during migration?
Hadoop
def migrate_data(files): migrated = {} for f in files: migrated[f] = migrated.get(f, 0) + 1 return migrated files = ['data1', 'data2', 'data1'] result = migrate_data(files) print(result['data3'])
Attempts:
2 left
💡 Hint
Check what happens when accessing a dictionary key that does not exist.
✗ Incorrect
Accessing result['data3'] raises a KeyError because 'data3' was never added to the dictionary.
❓ visualization
advanced2:00remaining
Interpreting migration progress chart
A line chart shows the number of files migrated over time during a Hadoop to cloud migration. The line starts slow, then sharply rises, then plateaus. What does this pattern most likely indicate?
Attempts:
2 left
💡 Hint
Think about common phases in large data migrations and resource usage.
✗ Incorrect
The slow start is typical setup time, the sharp rise shows active migration, and the plateau suggests hitting resource or quota limits.
🚀 Application
expert3:00remaining
Choosing the best cloud-native tool for batch processing
You need to migrate a Hadoop batch processing job to a cloud-native environment. The job processes large datasets with complex transformations and requires fault tolerance. Which cloud-native tool is best suited?
Attempts:
2 left
💡 Hint
Consider fault tolerance, scalability, and batch processing capabilities.
✗ Incorrect
Apache Spark on managed Kubernetes supports complex batch jobs, fault tolerance via checkpointing, and autoscaling, making it ideal for migrating Hadoop batch jobs.