nerdexam
Cisco

300-820 · Question #7

Refer to the exhibit. Which two numbers match the regular expression? (Choose two.)

The correct answer is C. 209165200225 E. 209165200224. The regular expression matches purely numeric strings of the correct length and pattern, excluding entries with non-numeric 'd' characters or incorrect digit counts.

Cisco Expressway for Collaboration

Question

Refer to the exhibit. Which two numbers match the regular expression? (Choose two.)

Options

  • Ad20d16d20d22
  • B2091652010224
  • C209165200225
  • Dd209d165d200d224
  • E209165200224

How the community answered

(26 responses)
  • A
    12% (3)
  • B
    4% (1)
  • C
    81% (21)
  • D
    4% (1)

Why each option

The regular expression matches purely numeric strings of the correct length and pattern, excluding entries with non-numeric 'd' characters or incorrect digit counts.

Ad20d16d20d22

d20d16d20d22 contains literal 'd' characters which are non-numeric and would not match a regex designed to match digit-only strings.

B2091652010224

2091652010224 has a different digit sequence or length that does not conform to the pattern defined in the exhibit's regular expression.

C209165200225Correct

209165200225 is a numeric-only string that satisfies the digit pattern and length defined in the regular expression shown in the exhibit.

Dd209d165d200d224

d209d165d200d224 contains literal 'd' characters interspersed throughout, making it a non-numeric string that fails to match a numeric digit pattern.

E209165200224Correct

209165200224 is also a numeric-only string that satisfies the digit pattern and length defined in the regular expression shown in the exhibit.

Concept tested: CUCM route pattern regular expression matching

Source: https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/admin/10_0_1/ccmcfg/CUCM_BK_CDE80852_00_admin-guide-100/CUCM_BK_CDE80852_00_admin-guide-100_chapter_01001.html

Topics

#Regular Expressions#Dial Plan#Call Routing#Number Manipulation

Community Discussion

No community discussion yet for this question.

Full 300-820 Practice