0
0
Prompt Engineering / GenAIml~20 mins

AI ethics and responsible usage in Prompt Engineering / GenAI - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
AI Ethics Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Bias in AI Models

Which of the following best describes a common source of bias in AI models?

AUsing a training dataset that does not represent all groups fairly
BChoosing a model with too many layers
CRunning the model on a slow computer
DUsing a programming language that is outdated
Attempts:
2 left
💡 Hint

Think about what happens if the data the AI learns from is not balanced.

Metrics
intermediate
2:00remaining
Evaluating Fairness Metrics

You have an AI model that predicts loan approvals. The model approves 90% of applications from one group but only 50% from another. Which metric best helps identify this fairness issue?

AAccuracy
BDemographic parity
CMean squared error
DPrecision
Attempts:
2 left
💡 Hint

Look for a metric that compares outcomes across different groups.

Model Choice
advanced
2:30remaining
Choosing Models for Privacy Preservation

You want to build an AI system that respects user privacy by not storing personal data. Which approach is best?

AUse federated learning to train models locally on user devices
BCollect all data and anonymize it after training
CTrain a centralized model with all user data stored on one server
DUse a simple linear regression model to reduce data needs
Attempts:
2 left
💡 Hint

Consider methods that keep data on user devices instead of sending it to a central place.

🔧 Debug
advanced
2:30remaining
Identifying Ethical Risks in AI Deployment Code

Consider this pseudocode for deploying an AI chatbot:

if user_input contains sensitive_topic:
    respond with generic answer
else:
    respond with AI-generated answer

What ethical risk does this code most likely introduce?

AIt stores all user inputs without consent
BIt will always give detailed answers, risking privacy
CIt uses too much computing power for simple responses
DIt may ignore important user needs by avoiding sensitive topics
Attempts:
2 left
💡 Hint

Think about how avoiding sensitive topics might affect users seeking help.

🧠 Conceptual
expert
3:00remaining
Balancing Transparency and Security in AI Systems

Which statement best explains the challenge of transparency in AI while maintaining security?

ASecurity requires hiding all AI decision processes from users
BTransparency means AI systems must never be updated after deployment
CMaking AI models fully transparent can expose sensitive data or system vulnerabilities
DTransparency and security are unrelated and can be handled separately
Attempts:
2 left
💡 Hint

Consider what happens if you reveal everything about how an AI works.