BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon Exam MLS-C01 Topic 3 Question 92 Discussion

Actual exam question for Amazon's MLS-C01 exam
Question #: 92
Topic #: 3
[All MLS-C01 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: A

The AnalyzeDocument API action is the best option to generate a confidence score for each page of each contract. This API action analyzes an input document for relationships between detected items. The input document can be an image file in JPEG or PNG format, or a PDF file. The output is a JSON structure that contains the extracted data from the document. The FeatureTypes parameter specifies the types of analysis to perform on the document. The available feature types are TABLES, FORMS, and SIGNATURES. By setting the FeatureTypes parameter to SIGNATURES, the API action will detect and extract information about signatures from the document. The output will include a list of SignatureDetection objects, each containing information about a detected signature, such as its location and confidence score. The confidence score is a value between 0 and 100 that indicates the probability that the detected signature is correct. The output will also include a list of Block objects, each representing a document page. Each Block object will have a Page attribute that contains the page number and a Confidence attribute that contains the confidence score for the page. The confidence score for the page is the average of the confidence scores of the blocks that are detected on the page. The law firm can use the AnalyzeDocument API action to generate a confidence score for each page of each contract by using the SIGNATURES feature type and returning the confidence scores from the SignatureDetection and Block objects.

The other options are not suitable for generating a confidence score for each page of each contract. The Prediction API call is not an Amazon Textract API action, but a generic term for making inference requests to a machine learning model. The StartDocumentAnalysis API action is used to start an asynchronous job to analyze a document. The output is a job identifier (JobId) that is used to get the results of the analysis with the GetDocumentAnalysis API action. The GetDocumentAnalysis API action is used to get the results of a document analysis started by the StartDocumentAnalysis API action. The output is a JSON structure that contains the extracted data from the document. However, both the StartDocumentAnalysis and the GetDocumentAnalysis API actions do not support the SIGNATURES feature type, and therefore cannot detect signatures or provide confidence scores for them.

References:

* AnalyzeDocument

* SignatureDetection

* Block

* Amazon Textract launches the ability to detect signatures on any document


Contribute your Thoughts:

Antonio
5 months ago
Good points. I feel C makes more sense as it's about starting the document analysis for signatures.
upvoted 0 times
...
Trinidad
5 months ago
True, but I believe GetDocumentAnalysis is a follow-up call after starting the analysis. My guess is still on C, to initiate the process.
upvoted 0 times
...
Karan
5 months ago
Why not D? GetDocumentAnalysis also sounds reasonable for getting confidence scores per page.
upvoted 0 times
...
Theola
6 months ago
I agree with user2. AnalyzeDocument with FeatureTypes set to SIGNATURES seems logical, but C sounds like it deals with larger documents.
upvoted 0 times
...
Trinidad
6 months ago
I think it's either A or C. AnalyzeDocument sounds right, but StartDocumentAnalysis is specific to detecting signatures.
upvoted 0 times
...
Antonio
6 months ago
Wow, this question is tricky. I'm not sure which Textract API to use here.
upvoted 0 times
...

Save Cancel