Dynatrace Interview Question

How to decide if you choose SQL or nosql for a given problem?