_______her inexperience, her failure to secure the contract was not surprising
A. By virtue of
B. In view of


Failure is no virtue.


Answer B.

note: You can look these types of idioms up at the online Cambridge dictionary.

Both answers are idiomatic phrases, which are used to introduce relative clauses (show relation between ideas and show a reason or cause) but because a "virtue" is something positive, you would use A only to explain a reason for a success or something positive. (Unless it's humour and irony you're dealing with.)

Answer B "in view of" is the only choice that is neutral and fits the negative connotation of the related word, "inexperience."

I don't know what you're preparing or how best to explain this, but the Cambridge dictionary shows A is a C2 level of ESL and answer B is a B2 level.

https://dictionary.cambridge.org/dictionary/english / virtue

Site Hint: Check out our list of pronunciation videos.
 AlpheccaStars's reply was promoted to an answer.

This sentence is from a test but they gave me an answer which I'm skeptical of so I posted it here.
Btw, I'm preparing for my university entrance exam, tks for your help.