Which REST API authentication method relies on usernames and passwords?
A.
basic authentication
B.
OAuth
C.
bearer authentication
D.
API keys
The Answer Is:
A
This question includes an explanation.
Explanation:
Basic Authentication (HTTP Basic Auth) is an RFC 7617 standard authentication scheme built into HTTP. It relies directly on sending user credentials—a username and password—separated by a colon and encoded in Base64 within the HTTP Authorization header (e.g., Authorization: Basic dXNlcjpwYXNzd29yZA==). In the Junos REST API, Basic Authentication is commonly used to validate incoming API requests against local Junos user accounts or centralized AAA servers (RADIUS/TACACS+). In contrast, API keys use unique static alphanumeric strings, bearer authentication transmits signed tokens without credentials, and OAuth is a token-based authorization framework designed to delegate access without directly exposing passwords. Thus, Basic Authentication is the method that directly relies on usernames and passwords.
[Reference: JNCIA-DevOps Study Guide — REST API Authentication: Basic Auth vs Token-Based Auth., ]
JN0-224 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 75% Discount on All Products,
Use Coupon: "ac75sure"