5) Production-Ready Deployment with AWS Quiz Preview

Postgres on AWS RDS Quiz
Reset Quiz

By Cagdas Yetkin

This content is available when you log in.

Log In for Free

Question 1 of 1

SAMPLE QUESTION: Based on your current USER ROLE, what will print after this code executes?

if user.hasRole("Member"):
    print("Member. Access granted!")
elif user.hasRole("Bootcamp"):
    print("Bootcamp student. Access granted!")
else:
    print("Non-member. Access denied :(")