A developer wants to retrieve the developer name of the current user's profile in Apex. Which object relationship should be queried via SOQL?
User records contain a Profile relationship, allowing traversal to the Profile Name field.
Why this answer
The User object relates to the Profile object through the ProfileId foreign key field.