exam questions

Exam 350-201 All Questions

View all questions & answers for the 350-201 exam

Exam 350-201 topic 1 question 55 discussion

Actual exam question from Cisco's 350-201
Question #: 55
Topic #: 1
[All 350-201 Questions]


Refer to the exhibit. An organization is using an internal application for printing documents that requires a separate registration on the website. The application allows format-free user creation, and users must match these required conditions to comply with the company's user creation policy:
✑ minimum length: 3
✑ usernames can only use letters, numbers, dots, and underscores
✑ usernames cannot begin with a number
The application administrator has to manually change and track these daily to ensure compliance. An engineer is tasked to implement a script to automate the process according to the company user creation policy. The engineer implemented this piece of code within the application, but users are still able to create format-free usernames. Which change is needed to apply the restrictions?

  • A. modify code to return error on restrictions def return false_user(username, minlen)
  • B. automate the restrictions def automate_user(username, minlen)
  • C. validate the restrictions, def validate_user(username, minlen)
  • D. modify code to force the restrictions, def force_user(username, minlen)
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
jay_c_an
8 months, 3 weeks ago
recent test question
upvoted 1 times
...
DrVoIP
9 months, 2 weeks ago
C. validate the restrictions, def validate_user(username, minlen) - ChatGPT
upvoted 1 times
...
TOLU1985
1 year, 2 months ago
Selected Answer: C
C. validate the restrictions, def validate_user(username, minlen)
upvoted 1 times
...
Bobster02
2 years, 4 months ago
C is correct answer. def validate_user(username, minlen) https://github.com/google/it-cert-automation-practice/commit/8dba0df489b1023cbf391f787be78fd80e539662
upvoted 4 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 ...