exam questions

Exam AWS Certified AI Practitioner AIF-C01 All Questions

View all questions & answers for the AWS Certified AI Practitioner AIF-C01 exam

Exam AWS Certified AI Practitioner AIF-C01 topic 1 question 14 discussion

A company wants to develop an educational game where users answer questions such as the following: "A jar contains six red, four green, and three yellow marbles. What is the probability of choosing a green marble from the jar?"
Which solution meets these requirements with the LEAST operational overhead?

  • A. Use supervised learning to create a regression model that will predict probability.
  • B. Use reinforcement learning to train a model to return the probability.
  • C. Use code that will calculate probability by using simple rules and computations.
  • D. Use unsupervised learning to create a model that will estimate probability density.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Moon
Highly Voted 3 months, 3 weeks ago
Selected Answer: C
C: Use code that will calculate probability by using simple rules and computations. Explanation: For a question like this, where the probability can be computed using basic arithmetic (e.g., number of favorable outcomes divided by total outcomes), implementing a straightforward function in code will meet the requirements with the least operational overhead. This avoids the complexity and resource demands of machine learning. For example: Total marbles = 6 + 4 + 3 = 13 6+4+3=13
upvoted 5 times
...
aswathsaikarthick
Most Recent 2 months, 1 week ago
Selected Answer: C
Estimated Costs Memory: Less than 1 MB for the model. Computation: A few seconds to minutes on a standard laptop CPU. Data: A few hundred examples, which can be generated programmatically. Instead def calculate_probability(green_marbles, total_marbles): return green_marbles / total_marbles # Example usage green_marbles = 4 total_marbles = 6 + 4 + 3 # red + green + yellow probability = calculate_probability(green_marbles, total_marbles) print(f"Probability of choosing a green marble: {probability:.2f}") A program is effective and time saving
upvoted 2 times
...
Jessiii
2 months, 2 weeks ago
Selected Answer: C
The problem described is a simple probability calculation based on basic combinatorics. The probability of choosing a green marble is simply the ratio of green marbles to total marbles, which can be computed directly without needing a complex machine learning model. Using a straightforward code implementation to calculate the probability based on the given numbers (6 red, 4 green, and 3 yellow marbles) will be the most efficient and have the least operational overhead. It’s a direct computation using basic arithmetic.
upvoted 1 times
...
jove
5 months, 3 weeks ago
Selected Answer: C
Make it simple : Use code that will calculate probability by using simple rules and computations.
upvoted 4 times
...
tccusa
5 months, 3 weeks ago
Selected Answer: C
Not necessary to train a model for this. Code for computation is sufficient.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago