AWS Certified Machine Learning – Specialty — Question 313
A law firm handles thousands of contracts every day. Every contract must be signed. Currently, a lawyer manually checks all contracts for signatures.
The law firm is developing a machine learning (ML) solution to automate signature detection for each contract. The ML solution must also provide a confidence score for each contract page.
Which Amazon Textract API action can the law firm use to generate a confidence score for each page of each contract?
Answer options
- A. Use the AnalyzeDocument API action. Set the FeatureTypes parameter to SIGNATURES. Return the confidence scores for each page.
- B. Use the Prediction API call on the documents. Return the signatures and confidence scores for each page.
- C. Use the StartDocumentAnalysis API action to detect the signatures. Return the confidence scores for each page.
- D. Use the GetDocumentAnalysis API action to detect the signatures. Return the confidence scores for each page.
Correct answer: A
Explanation
Amazon Textract's AnalyzeDocument API action synchronously analyzes documents and supports signature detection when the FeatureTypes parameter is set to SIGNATURES, returning both the location and confidence scores of detected signatures. While asynchronous options like StartDocumentAnalysis and GetDocumentAnalysis exist for multi-page documents, option A correctly identifies the parameter configuration required for signature detection. The Prediction API is not a valid Amazon Textract API action.