exam questions

Exam 2V0-72.22 All Questions

View all questions & answers for the 2V0-72.22 exam

Exam 2V0-72.22 topic 1 question 33 discussion

Actual exam question from VMware's 2V0-72.22
Question #: 33
Topic #: 1
[All 2V0-72.22 Questions]

Which two statements about pointcut expressions are true? (Choose two.)

  • A. A pointcut expression cannot specify the type of parameters.
  • B. A pointcut expression will throw an exception if no methods are matched.
  • C. A pointcut expression cannot have a wildcard for a method name.
  • D. A pointcut expression can include operators such as the following: && (and), || (or), ! (not).
  • E. A pointcut expression can be used to select join points which have been annotated with a specific annotation.
Show Suggested Answer Hide Answer
Suggested Answer: DE 🗳️

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
quakquak3
1 month, 1 week ago
Selected Answer: DE
A: Method argument types can be matched, see https://docs.spring.io/spring-framework/reference/core/aop/ataspectj/advice.html#aop-ataspectj-advice-params-passing B: If no methods are matched, the aspect will simply not be executed C: Wildcards are supported in method names, see https://docs.spring.io/spring-framework/reference/core/aop/ataspectj/pointcuts.html#aop-pointcuts-examples D: logical operators are supported: https://docs.spring.io/spring-framework/reference/core/aop/ataspectj/pointcuts.html#aop-pointcuts-combining E: annotations can be used for selection: https://docs.spring.io/spring-framework/reference/core/aop/ataspectj/pointcuts.html#aop-pointcuts-designators
upvoted 1 times
...
Azuni
5 months, 1 week ago
D and E is correct. Refer to: https://docs.spring.io/spring-framework/reference/core/aop/ataspectj/pointcuts.html
upvoted 2 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