1.

Point out the wrong statement.(a) If you need to query the database for exact, mathematically valid matches, use Exact Precision(b) If you regularly need to perform server-side arithmetic on monetary data, the exact precision model may be appropriate(c) If you need to query the database for exact, mathematically valid matches, use Ambiguity Precision(d) None of the mentionedThis question was posed to me in an interview for job.I'd like to ask this question from Model Monetary and Time Data topic in division Data Models of MongoDB

Answer»

The CORRECT option is (c) If you need to query the database for EXACT, mathematically VALID matches, use Ambiguity PRECISION

For explanation I would say: If you need to be able to do server-side arithmetic, e.g., $inc, $mul, and AGGREGATION framework arithmetic, use Exact Precision.



Discussion

No Comment Found

Related InterviewSolutions