Whelp Guess I answered my own questions..
trying to do #1 will always result in it returning
show['qualityProfileId '] = 1 and from the looks of things it does use the rootpath that is setup as the first option.
Edit: So I figured something out!
show['qualityProfileId '] = 1 has no effect at all it seems,
show['profileId'] = 1 controls the quality profile when importing a show from trakt to sonarr..