Question 1
In Java 17, a software engineer at Banco do Brasil is designing a payment processing module where a base class 'PaymentProcessor' defines a method 'public void process(Transaction tx)'. A subclass 'PixProcessor' overrides this method. At runtime, when an instance of 'PixProcessor' is referenced via a variable of type 'PaymentProcessor' and 'process(tx)' is invoked, which mechanism determines that the 'PixProcessor' implementation must execute?
Correct Answer:
Dynamic method dispatch (late binding) resolved at runtime via the virtual method table (vtable)
Question 2
A banking system requires constructing complex 'LoanProposal' objects with varying attributes such as applicant rating, collateral items, guarantor data, and repayment schedules. Which GoF design pattern separates the construction of this complex object from its representation, allowing the same construction process to create various representations?
Correct Answer:
Builder Pattern
Question 3
A developer at Banco do Brasil refactors a monolithic 'AccountService' class that previously calculated interest, persisted database records, formatted PDF statements, and sent SMS alerts. By decomposing this class into 'InterestCalculator', 'AccountRepository', 'StatementGenerator', and 'NotificationService', which SOLID principle is most directly applied?
Correct Answer:
Single Responsibility Principle (SRP)
Question 4
When working on a feature branch 'feat/pix-keys' in Git, a developer wants to incorporate the latest commits from 'main' while keeping a completely linear commit history without creating an extra merge commit. Which Git command should be executed?
Correct Answer:
git rebase main
Question 5
Consider the following Java Streams pipeline intended to calculate the total transaction volume for approved credit operations: ```java BigDecimal total = transactions.stream() .filter(t -> t.getStatus() == Status.APPROVED) .map(Transaction::getAmount) .reduce(BigDecimal.ZERO, BigDecimal::add); ``` What is the nature of the operations 'filter' and 'reduce' in this pipeline?
Correct Answer:
'filter' is an intermediate lazy operation, while 'reduce' is a terminal eager operation.
Question 1
Exam overview

About this Exam

Prepare with the Banco do Brasil Agente de Tecnologia Practice Questions - Banco do Brasil Escriturário - Agente de Tecnologia (TI) Exam practice quiz. This question bank includes 100 questions covering transaction, database, account, java, and data. Use it to review important concepts, identify knowledge gaps, and build confidence for the related exam, course, or assessment.

More details

Additional Information

Banco do Brasil Agente de Tecnologia Practice Questions - Banco do Brasil Escriturário - Agente de Tecnologia (TI) Exam

This practice set contains 100 questions from the matching question bank and focuses on transaction, database, account, java, and data. Work through each question carefully, review the provided solutions, and revisit topics that need more study before your next attempt.

This is an independent study resource intended for practice and review; it is not an official examination or an endorsement by any organization named in the title.

Quiz information

Frequently Asked Questions

The complete question count is available after full access is unlocked.
No fixed duration is currently configured for this quiz.
Question explanations are included where they are available in the quiz content, helping you review the reasoning after answering.
Yes. You can retake the practice test again as you continue studying during your available access period.
After your access is confirmed, you can continue into the complete practice exam from this quiz flow.
Unless explicitly stated otherwise, this page provides independent practice material for study and exam preparation and is not the official examination itself.
Keep studying

Related Questions