码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • mulesoft Module 13 quiz 解析


    mulesoft Module 13 quiz 解析

    • Processing records Summary
    • 1. A Batch Job scope has three batch steps. An event processor in the second batch step throws an error because the input data is incomplete.
    • 2. Refer to the exhibit. What are the values of the counter and stepVar variables in the On Complete phase?
    • 3. Refer to the exhibit. What is the output of the Logger component in the Batch Job?
    • 4. Refer to the exhibit. The payload[1,2,3] is passed to the Batch Job scope. In Batch_Step_1, a variables named batchStepPayload is set to the current payload.
    • 5. Refer to the exhibits. The Set Payload component sets the payload to a Map object(not an Array).

    在这里插入图片描述

    Processing records Summary

    • Use the For Each scope to process individual collection elements sequentially and return the original payload
    • Use the Batch Job scope(EE only) for complex batch jobs
      • Created expecially for processing data sets
      • Splits messages into individual records and performs actions upon each record
      • Can have multiple batch steps and these can have filters
      • Record-level data is persisted across steps using variables
      • Can handle record level failures so the job is not aborted
      • The batch job returns an object with the result of the job for insight into which records were processed or failed

    1. A Batch Job scope has three batch steps. An event processor in the second batch step throws an error because the input data is incomplete.

    What is the default behavior of the batch job after the error is thrown?
    A All processing of the batch job stops
    B Event processing continus to the third batch step
    C The second batch step is retried
    D The first batch step is retried

    答案:A


    2. Refer to the exhibit. What are the values of the counter and stepVar variables in the On Complete phase?

    在这里插入图片描述

    A counter:1, stepVar:31
    B counter:1, stepVar:null
    C counter:31, stepVar:null
    D counter:31, stepVar:31

    答案:B


    3. Refer to the exhibit. What is the output of the Logger component in the Batch Job?

    在这里插入图片描述在这里插入图片描述

    A [.33]
    [.667]
    [1]
    [1.333]

    B [.333]
    [1]

    C [.333,1]

    D [.333,.667,1,1.333]

    答案:C,先过滤掉了整除2的2和4,再除以3,batch:aggregator size=2


    4. Refer to the exhibit. The payload[1,2,3] is passed to the Batch Job scope. In Batch_Step_1, a variables named batchStepPayload is set to the current payload.

    在这里插入图片描述

    What is the value of the last log message after one batch job completes?

    A [11,12,13]
    B 30
    C 13
    D 10

    答案:C,这里问的是last log message


    5. Refer to the exhibits. The Set Payload component sets the payload to a Map object(not an Array).

    The File Write operation writes out files based on this Map object.
    How many files are written to the file system when the flow executes?

    在这里插入图片描述在这里插入图片描述

    A 2
    B 0
    C 1
    D 3

    答案:B,foreach batchSize = 2

  • 相关阅读:
    『现学现忘』Docker基础 — 26、Docker镜像分层的理解
    开发阶段部署
    谁说后端不能画出美丽的动图?让我来给大家拜个年!
    多域名SSL证书的优势
    Jackson 化学发光免疫印迹解决方案
    白银期货开户交割规则有哪些?
    C++ string类模板
    高校学生消费行为分析系统
    夯实算法-整数转罗马数字
    有序整数序列的压缩方法
  • 原文地址:https://blog.csdn.net/qq_41885819/article/details/127798569
  • 最新文章
  • 攻防演习之三天拿下官网站群
    数据安全治理学习——前期安全规划和安全管理体系建设
    企业安全 | 企业内一次钓鱼演练准备过程
    内网渗透测试 | Kerberos协议及其部分攻击手法
    0day的产生 | 不懂代码的"代码审计"
    安装scrcpy-client模块av模块异常,环境问题解决方案
    leetcode hot100【LeetCode 279. 完全平方数】java实现
    OpenWrt下安装Mosquitto
    AnatoMask论文汇总
    【AI日记】24.11.01 LangChain、openai api和github copilot
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1
正则表达式工具 cron表达式工具 密码生成工具

京公网安备 11010502049817号