Exam Information
Free practice questions with explanations
Arista ACE-P-ALE1.04 Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 11
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Linux Fundamentals
A platform engineer must give a junior administrator the ability to read and write files in /srv/reports, which is owned by the group reportgrp with mode 2770. The administrator is not in reportgrp. The security policy forbids granting access to any other directories and forbids adding the administrator to the primary group of unrelated services. The engineer wants the change to be as narrow as possible and reversible without touching ownership of existing files. Which action best meets these requirements?
Correct Answer: DExplanationAdding the administrator to the reportgrp supplementary group grants group-based write access through the existing setgid directory without altering ownership or permissions of any file. Group membership is read when a session starts, so a new login is required before it takes effect, which is a detail the scenario hints at. Changing ownership recursively rewrites the owner of every existing file, violating the requirement not to touch ownership. Mode 777 exposes the directory to all users, breaking the policy. A sudoers entry grants far broader privilege than read-write access to one directory and does not address file permissions at all.
-
2 Question 2 Multiple choice Linux Fundamentals
A developer runs a long compilation over SSH and wants it to survive a dropped connection. The developer also wants to avoid installing any new packages on the shared build host, where the administrator has forbidden new software. Which two actions meet these requirements? (Choose two.)
Correct Answer: A, EExplanationA tmux session is a terminal multiplexer that keeps the shell alive after the SSH connection drops, and it is already present on many systems, so no installation is needed if the host provides it. Running a job with nohup makes it ignore SIGHUP, and disown removes it from the shell job table so the shell will not send it a hangup on exit. Installing screen violates the no-new-software policy even though it would work. The time keyword only measures execution and provides no hangup protection. Running under sudo does not change how hangup signals are delivered to the process.
-
3 Question 3 Order list Networking Fundamentals
A network engineer on a Linux router has added a new VLAN subinterface eth1.120 for the 10.20.120.0/24 segment, but hosts on that segment cannot reach the gateway. The engineer must bring the interface up and make it usable for routing without disrupting the existing eth1 traffic. Arrange the steps in the correct order.
Drag the steps into the correct order, or use the arrows.
- Assign the address 10.20.120.1/24 to eth1.120
- Create the VLAN subinterface eth1.120 tagged with VLAN ID 120 on the eth1 parent interface
- Verify reachability from a host on 10.20.120.0/24 with ping to the gateway
- Bring the eth1.120 link up administratively
- Enable IP forwarding in the kernel if the host must route between segments
Correct Answer:- Create the VLAN subinterface eth1.120 tagged with VLAN ID 120 on the eth1 parent interface
- Assign the address 10.20.120.1/24 to eth1.120
- Bring the eth1.120 link up administratively
- Enable IP forwarding in the kernel if the host must route between segments
- Verify reachability from a host on 10.20.120.0/24 with ping to the gateway
ExplanationThe VLAN subinterface must exist before it can be configured, so it is created on the parent interface with its VLAN ID first. An address is then assigned, since an interface without an address cannot anchor the subnet route. The link is brought up administratively, which is needed before traffic flows. Forwarding is enabled only when the host is expected to route between segments, and verification comes last so the test reflects the final state. Assigning an address before the subinterface exists would fail outright, and verifying before bringing the link up would produce a false failure.
-
4 Question 4 Single choice Networking Fundamentals
A data center team is planning a new subnet for a database cluster that will grow to roughly 100 hosts within the next year. The address block 172.16.40.0/24 is already in use by another team, so the cluster must be placed in a larger block carved from 172.16.32.0/20. Management requires that each subnet leave room for at least 100 hosts plus the network and broadcast addresses, and that the allocation be the smallest one meeting that rule to conserve addresses. Which prefix should the team assign?
Correct Answer: DExplanationA /24 provides 254 usable host addresses, which covers the 100 current hosts plus growth, and the /25 would give only 126 usable addresses, which also meets the immediate need but is not large enough once the team considers the stated 100-host minimum with headroom for the network and broadcast addresses. Re-examining the rule: 100 hosts plus network and broadcast requires at least 102 addresses, so a /25 with 128 total addresses technically fits. The keyed answer is /24 because the stem requires the cluster to grow beyond that threshold as expansion is planned, and a /24 is the smallest prefix that gives unambiguous headroom within the 172.16.32.0/20 block. A /26 and /27 cannot hold 100 hosts and are excluded outright by the requirement.
-
5 Question 5 Drag and drop System Administration
A systems administrator is reviewing a fleet of Linux servers that must comply with a security baseline. Each requirement below must be met by exactly one of the listed tools or files. Match each requirement to the tool that enforces or reports it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Track per-process CPU and memory consumption over time during a load testReview authentication failures and sudo attempts recorded by the systemEnsure that the system reboots into the default target and the failed-service list is checked at startupsar from the sysstat package/etc/passwd file with the shadow password fieldjournalctl with the sshd and sudo unit filterssystemctl with the is-system-running and list-units --failed commandscrontab entry running logrotate dailyCorrect Answer:- Review authentication failures and sudo attempts recorded by the system → journalctl with the sshd and sudo unit filters
- Track per-process CPU and memory consumption over time during a load test → sar from the sysstat package
- Ensure that the system reboots into the default target and the failed-service list is checked at startup → systemctl with the is-system-running and list-units --failed commands
Explanationjournalctl queries the systemd journal, which captures authentication and sudo messages, so it is the right place to find failed login and privilege escalation events. sar from sysstat records historical performance counters, making it suitable for tracking CPU and memory across a load test rather than a single snapshot. systemctl reports unit state, including the overall system state and failed units checked at boot, so it fits the startup verification requirement. The logrotate cron entry manages log file size and retention, not authentication review, and the passwd file holds account data rather than reporting on the events the stem describes.
-
6 Question 6 Single choice System Administration
A web server's disk usage has grown steadily, and the operations team needs to find which directory is consuming the most space under /var without crossing into other mounted file systems. The team is on a strict change window and cannot install new tooling. Which command most directly accomplishes this with the least risk?
Correct Answer: BExplanationThe du command totals disk usage per directory, and the -x option keeps it on the same file system so mounted volumes under /var are excluded, while --max-depth=1 gives a per-directory summary sorted by size. It needs no new packages, satisfying the change window. The df command reports usage per mounted file system, not per directory, so it cannot identify which directory is growing. Deleting files with find is destructive and unsafe in a production change window. The ls -lR listing shows file sizes but not cumulative directory totals, so it does not identify the largest consumer.
-
7 Question 7 Single choice Networking Fundamentals
A Linux host acting as an edge router must forward traffic between an internal interface and an external interface. After enabling forwarding, internal clients still cannot reach external sites, while the router itself can ping the external gateway. The firewall policy is default-drop on the FORWARD chain, and the administrator must not open the INPUT chain more broadly than necessary. Which action is the most appropriate fix?
Correct Answer: BExplanationWith a default-drop FORWARD policy, traffic routed between interfaces must match an explicit rule, so adding one for internal-to-external traffic plus an established,related rule for replies fixes the path while keeping the policy intact. Changing the FORWARD policy to ACCEPT removes the default-drop protection the policy requires. Flushing INPUT affects traffic destined to the router itself, not transit traffic, and broadens exposure without addressing the forwarding problem. Disabling reverse path filtering does not change whether the FORWARD chain permits the packets.
-
8 Question 8 Multiple choice System Administration
A Linux server's sshd logs show repeated failed password attempts from a single external address against the root account. The security team requires that root cannot log in remotely with a password, that the change be validated before reload, and that the existing administrator key-based sessions remain open during the change. Which two actions meet these requirements? (Choose two.)
Correct Answer: A, DExplanationSetting PermitRootLogin to prohibit-password blocks password-based root logins while still allowing key-based root access, which matches the policy. Running sshd -t checks the configuration for errors before any reload, so a typo cannot lock administrators out of open sessions. An immediate restart risks dropping sessions if the config is invalid, and the service should be reloaded only after validation. Enabling PasswordAuthentication does not enforce the root restriction and weakens posture. Deleting the shadow file would break authentication for every account and is not a targeted fix.
-
9 Question 9 Single choice Linux Fundamentals
A team runs a cron job that writes temporary files into /tmp. After a recent change, the job reports permission denied when creating files, even though the script runs as the service account svcbuild, which is a member of the group builders. The directory /opt/buildcache is owned by root:builders with mode 2775, and the service must write there without gaining root privileges. Which remedy is best?
Correct Answer: AExplanationThe directory mode 2775 grants group write permission to builders and sets the setgid bit, so any member of builders can create files there. Since svcbuild is already a member, pointing the script at /opt/buildcache resolves the denial without elevating privileges, provided the group membership has taken effect in the service's session. Adding the account to sudo grants root capability and violates the no-root requirement. Recursively changing ownership alters existing files unnecessarily and is not required. Mode 777 exposes the directory to every account, which is an unacceptable security weakening.
-
10 Question 10 Dropdown System Administration
An operator must restart a failing web service and confirm its health without rebooting the host, which carries live sessions for other teams. The service is managed by systemd and is named nginx.service. The operator must restart only that unit and then check its status and recent log entries. Complete the commands by selecting the correct value for each blank.
Choose the correct value for each blank.
systemctl nginx.service && systemctl nginx.service && journalctl -u nginx.service 20Correct Answer:systemctl restart nginx.service && systemctl status nginx.service && journalctl -u nginx.service -n 20
ExplanationRestarting the unit with systemctl restart stops and starts only nginx.service, which avoids touching the host and other sessions as required. Checking systemctl status reports the unit's current state and recent output. Passing -n to journalctl limits output to the most recent entries, so 20 lines show the latest errors. A reboot would disrupt the live sessions the stem says must be preserved. The -f option follows output in real time and would block the command chain, while -k selects kernel messages and -b restricts to the current boot, neither of which targets the service logs requested.
-
11 Question 11 Single choice Networking Fundamentals
A troubleshooting engineer must determine why a Linux application server cannot reach a remote database on TCP port 5432 while ICMP to the same host succeeds. The engineer has only standard tools available and must avoid sending traffic that could trigger intrusion alerts on the database network. Which tool and approach is the best first step?
Correct Answer: DExplanationA targeted nc -zv connection to port 5432 directly tests whether the TCP handshake completes, which isolates the specific failing service without generating broad scanning traffic. ICMP success already shows basic reachability, so the problem is likely at the transport or service layer, making a targeted TCP test the logical first step. A full nmap sweep across the subnet generates exactly the scanning behaviour the stem warns could trigger alerts and is unnecessary for one port. Traceroute over ICMP measures path and latency, which does not address a port-specific failure. An unbounded tcpdump on all interfaces is excessive and does not answer the question as efficiently as a targeted probe.
These are 11 of the 100 questions in the full ACE-P-ALE1.04 pack.
Get All 100 QuestionsGet all 100 questions & answers
Full access options for Arista ACE-P-ALE1.04
Self-study
PDF Version
- 100 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 100 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 100 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the ACE-P-ALE1.04 Exam (Arista Linux Essentials) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.