Selecting or rejecting a candidate depends upon lots of factors which includes, Knowledge, Skills, Abilities which are the most crucial factors.
To answer your question, that totally depends upon the Job Role. Every Job profile consists of its own Job roles and Job Description. According to which a candidate is being screened.
If there is a job which required a candidate with excellent technical skills then advantage will be given to a candidate who has precision in Technical skills.
Similarly, if there a job requires that focus on more of soft skills and less of technical skills preference will be given on candidate who has good soft skills .